feat: settings screens

This commit is contained in:
2024-04-02 13:19:26 +07:00
parent 09aa2ecafc
commit 89bb8d88f6
20 changed files with 419 additions and 74 deletions

View File

@@ -527,8 +527,13 @@ export class Ark {
const settings: Settings = JSON.parse(cmd);
return settings;
} catch (e) {
throw new Error(e);
} catch {
const defaultSettings: Settings = {
autoUpdate: false,
enhancedPrivacy: false,
notification: false,
};
return defaultSettings;
}
}