Added the Auto Update Check Feature
This commit is contained in:
@@ -14,7 +14,9 @@ import `in`.sminnovations.attendanceapp.screens.settings.ui.components.subSettin
|
||||
|
||||
@Composable
|
||||
fun SettingsScreenDialogue(
|
||||
showDialogue: Boolean, onDismissDialogue: () -> Unit
|
||||
showDialogue: Boolean,
|
||||
onDismissDialogue: () -> Unit,
|
||||
onCheckForUpdate: () -> Unit,
|
||||
) {
|
||||
if (showDialogue) {
|
||||
val context = LocalContext.current
|
||||
@@ -24,7 +26,7 @@ fun SettingsScreenDialogue(
|
||||
Text(text = "Settings")
|
||||
},
|
||||
text = {
|
||||
AboutSettings(context = context)
|
||||
AboutSettings(context = context,onCheckForUpdate)
|
||||
},
|
||||
confirmButton = {},
|
||||
dismissButton = {
|
||||
|
||||
Reference in New Issue
Block a user