melos format
This commit is contained in:
@@ -686,8 +686,9 @@ class _AllowNonManifestPwaInstallTile extends HookConsumerWidget {
|
||||
@override
|
||||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
final allowNonManifestPwaInstall = ref.watch(
|
||||
generalSettingsWithDefaultsProvider
|
||||
.select((s) => s.allowNonManifestPwaInstall),
|
||||
generalSettingsWithDefaultsProvider.select(
|
||||
(s) => s.allowNonManifestPwaInstall,
|
||||
),
|
||||
);
|
||||
|
||||
return SwitchListTile.adaptive(
|
||||
|
||||
@@ -71,8 +71,9 @@ class _ManageExtensionsTile extends StatelessWidget {
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
),
|
||||
title: const Text('Manage Extensions'),
|
||||
subtitle:
|
||||
const Text('Browse installed, disabled, available, and unsupported extensions'),
|
||||
subtitle: const Text(
|
||||
'Browse installed, disabled, available, and unsupported extensions',
|
||||
),
|
||||
trailing: const Icon(Icons.chevron_right),
|
||||
onTap: () async {
|
||||
await const AddonManagerRoute().push<void>(context);
|
||||
|
||||
+2
-2
@@ -475,8 +475,8 @@ class _ScreenshotProtectionTile extends HookConsumerWidget {
|
||||
await ref
|
||||
.read(saveGeneralSettingsControllerProvider.notifier)
|
||||
.save(
|
||||
(currentSettings) => currentSettings.copyWith
|
||||
.screenshotProtectionEnabled(value),
|
||||
(currentSettings) =>
|
||||
currentSettings.copyWith.screenshotProtectionEnabled(value),
|
||||
);
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user