تغییر متن دکمه آپدیت و جابجایی دکمهها در دیالوگ به نسخه 1.0.5
This commit is contained in:
1 parent
8b8696a75f
commit
309d0d0b19
3 files changed
+15
-15
No files matched your search
@@ -92,6 +92,15 @@ fun UpdateDialog(
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
horizontalArrangement = Arrangement.spacedBy(12.dp)
|
||||
) {
|
||||
Button(
|
||||
onClick = onConfirm,
|
||||
modifier = Modifier.weight(1f),
|
||||
shape = MaterialTheme.shapes.medium,
|
||||
elevation = ButtonDefaults.buttonElevation(defaultElevation = 2.dp)
|
||||
) {
|
||||
Text("بروزرسانی")
|
||||
}
|
||||
|
||||
if (!updateInfo.isForceUpdate) {
|
||||
OutlinedButton(
|
||||
onClick = onDismiss,
|
||||
@@ -103,15 +112,6 @@ fun UpdateDialog(
|
||||
Text("بعداً")
|
||||
}
|
||||
}
|
||||
|
||||
Button(
|
||||
onClick = onConfirm,
|
||||
modifier = Modifier.weight(1f),
|
||||
shape = MaterialTheme.shapes.medium,
|
||||
elevation = ButtonDefaults.buttonElevation(defaultElevation = 2.dp)
|
||||
) {
|
||||
Text("تایید و بروزرسانی")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user