تغییر متن دکمه آپدیت و جابجایی دکمه‌ها در دیالوگ به نسخه 1.0.5

This commit is contained in:
oqba26 committed 2026-08-05 09:42:51 +03:30
1 parent 8b8696a75f
commit 309d0d0b19
3 files changed
+15 -15

No files matched your search

+2 -2
View File
@@ -30,8 +30,8 @@ android {
applicationId = "com.oqba26.monthlypaymentapp"
minSdk = 25
targetSdk = 34
versionCode = 5
versionName = "1.0.4"
versionCode = 6
versionName = "1.0.5"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables { useSupportLibrary = true }
}
@@ -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("تایید و بروزرسانی")
}
}
}
}