🐛 Fix infinite starting up
This commit is contained in:
parent
8ed847d870
commit
51a387851f
@ -357,7 +357,6 @@ class _AppSplashScreenState extends State<_AppSplashScreen> with TrayListener {
|
|||||||
notify.listen();
|
notify.listen();
|
||||||
try {
|
try {
|
||||||
notify.registerPushNotifications();
|
notify.registerPushNotifications();
|
||||||
} catch (_) {}
|
|
||||||
if (!mounted) return;
|
if (!mounted) return;
|
||||||
_setPhaseText('stickers');
|
_setPhaseText('stickers');
|
||||||
final sticker = context.read<SnStickerProvider>();
|
final sticker = context.read<SnStickerProvider>();
|
||||||
@ -375,6 +374,7 @@ class _AppSplashScreenState extends State<_AppSplashScreen> with TrayListener {
|
|||||||
final ct = context.read<ChatChannelProvider>();
|
final ct = context.read<ChatChannelProvider>();
|
||||||
await ct.refreshAvailableChannels();
|
await ct.refreshAvailableChannels();
|
||||||
_setPhaseText('done');
|
_setPhaseText('done');
|
||||||
|
} catch (_) {}
|
||||||
_playIntro();
|
_playIntro();
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user