Fix crash when opening EmptyDirFileDialog or viewing the used licenses
This commit is contained in:
parent
0c04d16df0
commit
8e60975cf5
@ -1,11 +1,10 @@
|
|||||||
package org.cryptomator.presentation.ui.fragment
|
package org.cryptomator.presentation.ui.fragment
|
||||||
|
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import androidx.preference.PreferenceFragment
|
import androidx.preference.PreferenceFragmentCompat
|
||||||
|
|
||||||
import org.cryptomator.presentation.R
|
import org.cryptomator.presentation.R
|
||||||
|
|
||||||
class LicensesFragment : PreferenceFragment() {
|
class LicensesFragment : PreferenceFragmentCompat() {
|
||||||
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
|
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
|
||||||
addPreferencesFromResource(R.xml.licenses)
|
addPreferencesFromResource(R.xml.licenses)
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content" />
|
||||||
|
|
||||||
<androidx.fragment.app.FragmentContainerView
|
<androidx.fragment.app.FragmentContainerView
|
||||||
|
android:id="@+id/emptyDirIdFileInfoFragment"
|
||||||
android:name="org.cryptomator.presentation.ui.fragment.EmptyDirIdFileInfoFragment"
|
android:name="org.cryptomator.presentation.ui.fragment.EmptyDirIdFileInfoFragment"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content" />
|
||||||
|
|
||||||
<androidx.fragment.app.FragmentContainerView
|
<androidx.fragment.app.FragmentContainerView
|
||||||
|
android:id="@+id/licensesFragment"
|
||||||
android:name="org.cryptomator.presentation.ui.fragment.LicensesFragment"
|
android:name="org.cryptomator.presentation.ui.fragment.LicensesFragment"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user