This commit is contained in:
2020-09-10 02:13:22 +06:30
parent cdefe7c06d
commit 7a2053e858
24 changed files with 336 additions and 320 deletions

View File

@@ -27,7 +27,7 @@ class _OfflineRedirectState extends State<OfflineRedirect> {
}
_startOfflineTimer() async {
if (offlineTimer!=null && offlineTimer.isActive) return;
if (offlineTimer != null && offlineTimer.isActive) return;
var _duration = new Duration(milliseconds: 500);
this.offlineTimer = new Timer.periodic(_duration, offlineNav);
}
@@ -47,6 +47,6 @@ class _OfflineRedirectState extends State<OfflineRedirect> {
@override
Widget build(BuildContext context) {
return widget.child;
return SafeArea(child: widget.child);
}
}