mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-20 00:35:17 +00:00
Fix all warnings
This commit is contained in:
@ -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()),
|
||||
|
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user