add ios
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user