mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-12 04:37:37 +02:00
feat: make firebase crashlytics optional.
This commit is contained in:
@ -140,7 +140,7 @@ class SettingsView extends StatelessWidget {
|
||||
),
|
||||
_settingsDivider,
|
||||
SettingsSection(
|
||||
title: 'settingsView.privacySectionTitle',
|
||||
title: 'settingsView.logsSectionTitle',
|
||||
children: <Widget>[
|
||||
CustomSwitchTile(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 20.0),
|
||||
@ -158,6 +158,24 @@ 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,
|
||||
|
Reference in New Issue
Block a user