mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-12 04:37:37 +02:00
feat: remove firebase. (#405)
* feat: remove firebase. * build: remove firebase config.
This commit is contained in:
@ -206,24 +206,6 @@ class SettingsView extends StatelessWidget {
|
||||
value: model.isSentryEnabled(),
|
||||
onTap: (value) => model.useSentry(value),
|
||||
),
|
||||
const SizedBox(height: 20.0),
|
||||
CustomSwitchTile(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 20.0),
|
||||
title: I18nText(
|
||||
'settingsView.firebaseCrashlyticsLabel',
|
||||
child: const Text(
|
||||
'',
|
||||
style: TextStyle(
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.w500,
|
||||
),
|
||||
),
|
||||
),
|
||||
subtitle:
|
||||
I18nText('settingsView.firebaseCrashlyticsHint'),
|
||||
value: model.isCrashlyticsEnabled(),
|
||||
onTap: (value) => model.useCrashlytics(value),
|
||||
),
|
||||
],
|
||||
),
|
||||
_settingsDivider,
|
||||
|
@ -327,16 +327,6 @@ class SettingsViewModel extends BaseViewModel {
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
bool isCrashlyticsEnabled() {
|
||||
return _managerAPI.isCrashlyticsEnabled();
|
||||
}
|
||||
|
||||
void useCrashlytics(bool value) {
|
||||
_managerAPI.setCrashlyticsStatus(value);
|
||||
_toast.showBottom('settingsView.restartAppForChanges');
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void deleteKeystore() {
|
||||
_managerAPI.deleteKeystore();
|
||||
_toast.showBottom('settingsView.deletedKeystore');
|
||||
|
Reference in New Issue
Block a user