improved refreshed button
This commit is contained in:
@@ -87,15 +87,17 @@ fun launchContinue(
|
|||||||
if (!internetAwaitListenerRunning)
|
if (!internetAwaitListenerRunning)
|
||||||
setOnInternetAvailListener(ctx)
|
setOnInternetAvailListener(ctx)
|
||||||
|
|
||||||
global.launched = true
|
if (!global.launched) {
|
||||||
global.refreshed = true
|
|
||||||
refreshButtonContentColor.value = Color.White
|
|
||||||
|
|
||||||
// show the default (main) screen
|
// show the default (main) screen
|
||||||
global.currentScreen = Screen.Main
|
global.currentScreen = Screen.Main
|
||||||
|
|
||||||
// inside show the timetable
|
// inside show the timetable
|
||||||
global.currentScreenElement = ScreenElement.Timetable
|
global.currentScreenElement = ScreenElement.Timetable
|
||||||
|
}
|
||||||
|
|
||||||
|
global.launched = true
|
||||||
|
global.refreshed = true
|
||||||
|
refreshButtonContentColor.value = Color.White
|
||||||
|
|
||||||
// show the full name of the user in the toolbar as a status
|
// show the full name of the user in the toolbar as a status
|
||||||
if (Util.internetAvail(ctx)) {
|
if (Util.internetAvail(ctx)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user