Fix small bugs

This commit is contained in:
J-Jamet
2022-02-12 16:01:30 +01:00
parent 8b7bb36e66
commit de2160f992
3 changed files with 8 additions and 4 deletions

View File

@@ -748,11 +748,15 @@ class Database {
}
databaseToMerge.mDatabaseKDB?.let { databaseKDBToMerge ->
databaseMerger.merge(databaseKDBToMerge)
this.dataModifiedSinceLastLoading = true
if (databaseToMergeUri != null) {
this.dataModifiedSinceLastLoading = true
}
}
databaseToMerge.mDatabaseKDBX?.let { databaseKDBXToMerge ->
databaseMerger.merge(databaseKDBXToMerge)
this.dataModifiedSinceLastLoading = true
if (databaseToMergeUri != null) {
this.dataModifiedSinceLastLoading = true
}
}
}
} else {

View File

@@ -119,7 +119,8 @@
<com.kunzisoft.keepass.view.MainCredentialView
android:id="@+id/activity_password_credentials"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:background="?android:attr/windowBackground" />
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -12,7 +12,6 @@
android:paddingRight="12dp"
android:paddingEnd="12dp"
android:paddingBottom="12dp"
android:background="?android:attr/windowBackground"
tools:targetApi="lollipop">
<!-- Password Input -->