added application setting 'disable factory' Feature request->Button anti tampering mode

Fixes #3150
This commit is contained in:
proddy
2026-07-26 13:34:15 +02:00
parent e584adaa07
commit 2bef33f81a
25 changed files with 64 additions and 8 deletions
+2 -1
View File
@@ -71,6 +71,7 @@ interface VersionData {
partition: string;
partitions: PartitionData[];
developer_mode: boolean;
disable_reset: boolean;
}
// Memoized components for better performance
@@ -923,7 +924,7 @@ const Version = () => {
>
{LL.RESTART()}
</Button>
{data.developer_mode && (
{!data.disable_reset && (
<Button
startIcon={<SettingsBackupRestoreIcon />}
variant="outlined"