mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 02:39:19 +08:00
edited collection_provider
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user