Send location on app resume

This commit is contained in:
estevez-dev
2019-08-31 22:37:55 +03:00
parent f9c37f5084
commit 623634cb6e
3 changed files with 54 additions and 4 deletions

View File

@ -300,6 +300,7 @@ class _MainPageState extends State<MainPage> with WidgetsBindingObserver, Ticker
_hideBottomBar();
_showInfoBottomBar(progress: true,);
ConnectionManager().init(loadSettings: false, forceReconnect: false).then((_){
LocationManager().updateDeviceLocation();
_fetchData();
}, onError: (e) {
_setErrorState(e);