feat: disable sentry for time being.

This commit is contained in:
Aunali321
2022-10-19 18:53:13 +05:30
parent f2d5cc91db
commit 39500f054d
4 changed files with 60 additions and 61 deletions

View File

@ -315,17 +315,15 @@ class SettingsViewModel extends BaseViewModel {
);
}
// disable sentry using switch boolean
// bool isSentryEnabled() {
// return _managerAPI.isSentryEnabled();
// }
bool isSentryEnabled() {
return _managerAPI.isSentryEnabled();
}
void useSentry(bool value) {
_managerAPI.setSentryStatus(value);
_toast.showBottom('settingsView.restartAppForChanges');
notifyListeners();
}
// void useSentry(bool value) {
// _managerAPI.setSentryStatus(value);
// _toast.showBottom('settingsView.restartAppForChanges');
// notifyListeners();
// }
void deleteKeystore() {
_managerAPI.deleteKeystore();