1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-20 00:35:17 +00:00

Fix all warnings

This commit is contained in:
2022-03-11 16:21:35 +01:00
parent 820491b09a
commit 5398970868
18 changed files with 27 additions and 22 deletions

View File

@ -51,7 +51,7 @@ class _PushNotificationsConfigurationRouteState
),
Spacer(),
OutlinedButton(
onPressed: _key?.currentState?.canSubmit ?? false
onPressed: _key.currentState?.canSubmit ?? false
? _key.currentState!.submit
: null,
child: Text(tr("Configure")!.toUpperCase()),

View File

@ -123,7 +123,7 @@ class TourRouteState extends State<TourRoute> {
..removeWhere((pane) {
if (pane is PresentationPane) {
PresentationPane p = pane;
return !(p.visible ?? true);
return !(p.visible);
}
return false;
});
@ -222,7 +222,7 @@ class __RouteBodyState extends State<_RouteBody> {
_controller!.animateTo(_controller!.index + 1);
} else {
(await PreferencesHelper.getInstance())!
(await PreferencesHelper.getInstance())
.setBool(PreferencesKeyList.IS_TOUR_SEEN, true);
Navigator.of(context).pop();
}