mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Add new panes to tour
This commit is contained in:
@ -114,7 +114,10 @@ class PushNotificationsConfigurationWidgetState
|
||||
child: Column(
|
||||
children: [
|
||||
Text(
|
||||
tr("Comunic can send you push notifications to your device."),
|
||||
tr("%app% can send you push notifications to your device.",
|
||||
args: {
|
||||
"app": config().appName,
|
||||
}),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
SizedBox(height: 10),
|
||||
|
@ -78,18 +78,18 @@ class _InitializeWidgetState extends SafeState<InitializeWidget> {
|
||||
return;
|
||||
}
|
||||
|
||||
final prefs = await PreferencesHelper.getInstance();
|
||||
if (!prefs.getBool(PreferencesKeyList.IS_TOUR_SEEN))
|
||||
await showTour(context);
|
||||
|
||||
print("Attempting WebSocket connection...");
|
||||
|
||||
setState(() {
|
||||
_error = false;
|
||||
});
|
||||
|
||||
await WebSocketHelper.connect();
|
||||
|
||||
final prefs = await PreferencesHelper.getInstance();
|
||||
if (!prefs.getBool(PreferencesKeyList.IS_TOUR_SEEN))
|
||||
await showTour(context);
|
||||
|
||||
print("Attempting WebSocket connection...");
|
||||
|
||||
setState(() {});
|
||||
} catch (e, stack) {
|
||||
print("Could not connect to server! $e");
|
||||
|
Reference in New Issue
Block a user