Network Error Dialogue
This commit is contained in:
@@ -47,15 +47,15 @@ fun NetworkErrorDialog(
|
||||
}
|
||||
},
|
||||
dismissButton = {
|
||||
// if (!showSettingDialog.value) {
|
||||
// Button(onClick = { showSettingDialog.value = true }) {
|
||||
// Text("Settings")
|
||||
// }
|
||||
// } else {
|
||||
if (!showSettingDialog.value) {
|
||||
Button(onClick = { showSettingDialog.value = true }) {
|
||||
Text("Settings")
|
||||
}
|
||||
} else {
|
||||
Button(onClick = { showSettingDialog.value = false }) {
|
||||
Text("Network")
|
||||
}
|
||||
// }
|
||||
}
|
||||
},
|
||||
modifier = Modifier.padding(16.dp)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user