mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
convert Booleans to Ints
This commit is contained in:
parent
d9d5b746c3
commit
2250e1bcab
@ -34,16 +34,16 @@ class ExportSettingsViewModel extends BaseViewModel {
|
|||||||
final Map<String, dynamic> data = {};
|
final Map<String, dynamic> data = {};
|
||||||
|
|
||||||
data['themeMode'] = _managerAPI.getThemeMode();
|
data['themeMode'] = _managerAPI.getThemeMode();
|
||||||
data['useDynamicTheme'] = _managerAPI.getUseDynamicTheme();
|
data['useDynamicTheme'] = _managerAPI.getUseDynamicTheme() ? 1 : 0;
|
||||||
|
|
||||||
data['apiUrl'] = _managerAPI.getApiUrl();
|
data['apiUrl'] = _managerAPI.getApiUrl();
|
||||||
data['patchesRepo'] = _managerAPI.getPatchesRepo();
|
data['patchesRepo'] = _managerAPI.getPatchesRepo();
|
||||||
data['integrationsRepo'] = _managerAPI.getIntegrationsRepo();
|
data['integrationsRepo'] = _managerAPI.getIntegrationsRepo();
|
||||||
|
|
||||||
data['patchesAutoUpdate'] = _managerAPI.isPatchesAutoUpdate();
|
data['patchesAutoUpdate'] = _managerAPI.isPatchesAutoUpdate() ? 1 : 0;
|
||||||
data['patchesChangeEnabled'] = _managerAPI.isPatchesChangeEnabled();
|
data['patchesChangeEnabled'] = _managerAPI.isPatchesChangeEnabled() ? 1 : 0;
|
||||||
data['universalPatchesEnabled'] = _managerAPI.areUniversalPatchesEnabled();
|
data['universalPatchesEnabled'] = _managerAPI.areUniversalPatchesEnabled() ? 1 : 0;
|
||||||
data['experimentalPatchesEnabled'] = _managerAPI.areExperimentalPatchesEnabled();
|
data['experimentalPatchesEnabled'] = _managerAPI.areExperimentalPatchesEnabled() ? 1 : 0;
|
||||||
|
|
||||||
data['keystorePassword'] = _managerAPI.getKeystorePassword();
|
data['keystorePassword'] = _managerAPI.getKeystorePassword();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user