edited collection_provider

This commit is contained in:
Clasherzz
2024-12-18 22:36:30 +05:30
parent 42941bb737
commit c416932efd
5 changed files with 21 additions and 7 deletions

View File

@@ -43,10 +43,10 @@ class SettingsPage extends ConsumerWidget {
hoverColor: kColorTransparent,
title: const Text('Disabling SSL verification'),
subtitle: Text(
'Current selection: ${settings.isDark ? "Dark Mode" : "Light mode"}'),
value: settings.isDark,
'Current selection: ${settings.isSSLDisabled ? "SSL Verification Disabled" : "SSL Verification Enabled"}'),
value: settings.isSSLDisabled,
onChanged: (bool? value) {
ref.read(settingsProvider.notifier).update(isDark: value);
ref.read(settingsProvider.notifier).update(isSSLDisabled: value);
},
),
SwitchListTile(