Mercurial > libervia-desktop-kivy
diff cagou/core/cagou_main.py @ 370:1a12bbd80943
android: autoconnect profile using the new `profileAutoconnectGet` backend method:
thanks to this method, Cagou know which profile is started automatically in backend, and
can start it in frontend too.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 27 Jan 2020 21:17:08 +0100 |
parents | 58e395c0777e |
children | 5d994be1161b |
line wrap: on
line diff
--- a/cagou/core/cagou_main.py Mon Jan 27 21:17:08 2020 +0100 +++ b/cagou/core/cagou_main.py Mon Jan 27 21:17:08 2020 +0100 @@ -515,7 +515,8 @@ self.app.showWidget() self.bridge.getVersion(callback=self._getVersionCb) self.app.initFrontendState() - self.postInit() + if local_platform.do_postInit(): + self.postInit() def postInit(self, __=None): # FIXME: resize doesn't work with SDL2 on android, so we use below_target for now