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

@ -82,13 +82,13 @@ class ManagerAPI {
await _prefs.setBool('useDarkTheme', value);
}
bool isSentryEnabled() {
return _prefs.getBool('sentryEnabled') ?? true;
}
// bool isSentryEnabled() {
// return _prefs.getBool('sentryEnabled') ?? true;
// }
Future<void> setSentryStatus(bool value) async {
await _prefs.setBool('sentryEnabled', value);
}
// Future<void> setSentryStatus(bool value) async {
// await _prefs.setBool('sentryEnabled', value);
// }
Future<void> deleteTempFolder() async {
final Directory dir = Directory('/data/local/tmp/revanced-manager');