minor update
This commit is contained in:
@@ -4,7 +4,6 @@ plugins {
|
||||
id("com.google.gms.google-services")
|
||||
alias(libs.plugins.android.application)
|
||||
alias(libs.plugins.jetbrains.kotlin.android)
|
||||
|
||||
}
|
||||
|
||||
android {
|
||||
@@ -17,7 +16,7 @@ android {
|
||||
targetSdk = 34
|
||||
versionCode = 4
|
||||
|
||||
versionName = "3.0.7"
|
||||
versionName = "3.0.8"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
|
||||
@@ -26,9 +26,6 @@ fun HomeScreen(
|
||||
val isDownloading by viewModel.downloadProgress.collectAsState()
|
||||
val context = LocalContext.current
|
||||
|
||||
NetworkErrorDialog(showDialog = !uiState.isConnected, onRetry = {
|
||||
viewModel.reStartMonitoring()
|
||||
})
|
||||
|
||||
|
||||
if (uiState.isConnected) {
|
||||
@@ -50,6 +47,11 @@ fun HomeScreen(
|
||||
modifier = modifier
|
||||
)
|
||||
|
||||
}else{
|
||||
NetworkErrorDialog(showDialog = true, onRetry = {
|
||||
viewModel.reStartMonitoring()
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user