This commit is contained in:
X1nto 2020-05-27 18:16:43 +04:00
parent e206d0d5c0
commit 418ffe2fc9
2 changed files with 4 additions and 4 deletions

View File

@ -18,6 +18,7 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:usesCleartextTraffic="true"
android:theme="@style/LightTheme.Blue"
tools:ignore="UnusedAttribute">
<activity
@ -37,8 +38,7 @@
</activity>
<activity
android:name=".ui.MainActivity"
android:label="@string/app_name"
android:theme="@style/LightTheme.Blue"/>
android:label="@string/app_name" />
<meta-data
android:name="preloaded_fonts"

View File

@ -15,11 +15,11 @@ class SettingsFragment : PreferenceFragmentCompat() {
//Fuck Android 6 android 5 users! Because theme is not working
//we can't display preference for them.
//They should've upgraded to something newer
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.M) {
/*if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.M) {
val prefScreen: PreferenceScreen? = findPreference("prefScreen")
val prefCategory: PreferenceCategory? = findPreference("interface_category")
prefScreen?.removePreference(prefCategory)
}
}*/
activity?.title = getString(R.string.title_settings)
setHasOptionsMenu(true)