Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96db4fa3a6 | ||
|
|
830b4664fb | ||
|
|
dd4fb90dc4 | ||
|
|
a55fb0461c | ||
|
|
e789729c76 | ||
|
|
7e23895f0d |
@@ -40,7 +40,8 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
isMinifyEnabled = false
|
isMinifyEnabled = true
|
||||||
|
isShrinkResources = true
|
||||||
proguardFiles(
|
proguardFiles(
|
||||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||||
"proguard-rules.pro"
|
"proguard-rules.pro"
|
||||||
|
|||||||
Vendored
+10
-1
@@ -18,4 +18,13 @@
|
|||||||
|
|
||||||
# If you keep the line number information, uncomment this to
|
# If you keep the line number information, uncomment this to
|
||||||
# hide the original source file name.
|
# hide the original source file name.
|
||||||
#-renamesourcefileattribute SourceFile
|
#-renamesourcefileattribute SourceFile
|
||||||
|
|
||||||
|
# Игнорировать отсутствие класса декодера JP2 в PdfBox-Android
|
||||||
|
-dontwarn com.gemalto.jp2.JP2Decoder
|
||||||
|
# На всякий случай, если PdfBox ссылается на другие отсутствующие библиотеки (например, ICU для текста)
|
||||||
|
-dontwarn com.tom_roush.pdfbox.**
|
||||||
|
|
||||||
|
# Запретить R8 удалять и переименовывать внутренности PdfBox-Android
|
||||||
|
-keep class com.tom_roush.pdfbox.** { *; }
|
||||||
|
-keep interface com.tom_roush.pdfbox.** { *; }
|
||||||
|
|||||||
@@ -54,17 +54,5 @@ fun BuildingsScreen() {
|
|||||||
}
|
}
|
||||||
HorizontalDivider(Modifier.padding(horizontal = 16.dp))
|
HorizontalDivider(Modifier.padding(horizontal = 16.dp))
|
||||||
}
|
}
|
||||||
|
|
||||||
item {
|
|
||||||
Spacer(Modifier.height(24.dp))
|
|
||||||
Text(
|
|
||||||
"Версия ${BuildConfig.VERSION_NAME}",
|
|
||||||
style = MaterialTheme.typography.bodySmall,
|
|
||||||
color = MaterialTheme.colorScheme.onSurfaceVariant,
|
|
||||||
textAlign = TextAlign.Center,
|
|
||||||
modifier = Modifier.fillMaxWidth()
|
|
||||||
)
|
|
||||||
Spacer(Modifier.height(16.dp))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ class AppUpdater(
|
|||||||
}
|
}
|
||||||
|
|
||||||
val remoteVersion = release.tagName?.trimStart('v', 'V')
|
val remoteVersion = release.tagName?.trimStart('v', 'V')
|
||||||
if (remoteVersion == null || !isNewerVersion(remoteVersion, BuildConfig.VERSION_NAME)) {
|
if (remoteVersion == null || !isNewerVersion(remoteVersion, BuildConfig.VERSION_NAME.trimStart('v', 'V'))) {
|
||||||
_state.value = UpdateState.UpToDate
|
_state.value = UpdateState.UpToDate
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user