refactor: Update to Flutter 3.13.0

This commit is contained in:
krille-chan 2023-08-18 07:24:31 +02:00
commit 27d15612d9
No known key found for this signature in database
44 changed files with 167 additions and 159 deletions

View file

@ -111,7 +111,7 @@ class SettingsNotificationsController extends State<SettingsNotifications> {
label: L10n.of(context)!.delete,
isDestructiveAction: true,
key: true,
)
),
],
);
if (delete != true) return;

View file

@ -57,7 +57,7 @@ class SettingsNotificationsView extends StatelessWidget {
),
),
),
for (var item in NotificationSettingsItem.items)
for (final item in NotificationSettingsItem.items)
SwitchListTile.adaptive(
value: controller.getNotificationSetting(item) ?? true,
title: Text(item.title(context)),