Fix crash when opening EmptyDirFileDialog or viewing the used licenses

This commit is contained in:
Julian Raufelder 2021-01-20 18:36:28 +01:00
parent 0c04d16df0
commit 8e60975cf5
No known key found for this signature in database
GPG Key ID: 17EE71F6634E381D
3 changed files with 4 additions and 3 deletions

View File

@ -1,11 +1,10 @@
package org.cryptomator.presentation.ui.fragment
import android.os.Bundle
import androidx.preference.PreferenceFragment
import androidx.preference.PreferenceFragmentCompat
import org.cryptomator.presentation.R
class LicensesFragment : PreferenceFragment() {
class LicensesFragment : PreferenceFragmentCompat() {
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
addPreferencesFromResource(R.xml.licenses)
}

View File

@ -11,6 +11,7 @@
android:layout_height="wrap_content" />
<androidx.fragment.app.FragmentContainerView
android:id="@+id/emptyDirIdFileInfoFragment"
android:name="org.cryptomator.presentation.ui.fragment.EmptyDirIdFileInfoFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"

View File

@ -11,6 +11,7 @@
android:layout_height="wrap_content" />
<androidx.fragment.app.FragmentContainerView
android:id="@+id/licensesFragment"
android:name="org.cryptomator.presentation.ui.fragment.LicensesFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"