This commit is contained in:
J-Jamet
2024-06-18 20:08:54 +02:00
parent 7ff44f4839
commit 79c1e2d21c
5 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,6 @@
KeePassDX(4.0.8)
* Fix graphical bug that prevented databases from being opened on some versions of Android #1848 #1850
KeePassDX(4.0.7)
* Prevent 0 Byte file with cache during a save exception #1620 #1594 #1680
* Fix inline suggestions in keyboard #1840

View File

@@ -12,8 +12,8 @@ android {
applicationId "com.kunzisoft.keepass"
minSdkVersion 15
targetSdkVersion 33
versionCode = 130
versionName = "4.0.7"
versionCode = 131
versionName = "4.0.8"
multiDexEnabled true
testApplicationId = "com.kunzisoft.keepass.tests"

View File

@@ -306,10 +306,11 @@ fun Activity.setTransparentNavigationBar(applyToStatusBar: Boolean = false, appl
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O_MR1
&& resources.configuration.orientation == Configuration.ORIENTATION_PORTRAIT) {
WindowCompat.setDecorFitsSystemWindows(window, false)
this.window.navigationBarColor = ContextCompat.getColor(this, R.color.surface_selector)
window.navigationBarColor = ContextCompat.getColor(this, R.color.surface_selector)
if (applyToStatusBar) {
this.window.statusBarColor = obtainStyledAttributes(intArrayOf(R.attr.colorSurface)).use {
it.getColor(0, Color.GRAY)
obtainStyledAttributes(intArrayOf(R.attr.colorSurface)).apply {
window.statusBarColor = getColor(0, Color.GRAY)
recycle()
}
}
applyWindowInsets.invoke()

View File

@@ -0,0 +1 @@
* Fix graphical bug that prevented databases from being opened on some versions of Android #1848 #1850

View File

@@ -0,0 +1 @@
* Correction d'un bug graphique qui empêchait l'ouverture des bases de données sur certaines versions d'Android #1848 #1850