refactor: Update to Flutter 3.13.0
This commit is contained in:
parent
6445833283
commit
27d15612d9
44 changed files with 167 additions and 159 deletions
|
|
@ -111,7 +111,7 @@ class SettingsNotificationsController extends State<SettingsNotifications> {
|
|||
label: L10n.of(context)!.delete,
|
||||
isDestructiveAction: true,
|
||||
key: true,
|
||||
)
|
||||
),
|
||||
],
|
||||
);
|
||||
if (delete != true) return;
|
||||
|
|
|
|||
|
|
@ -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)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue