mirror of
https://github.com/tuskyapp/Tusky
synced 2025-01-05 05:23:13 +01:00
only disable emoji fonts on Lollipop and lower
This commit is contained in:
parent
0930fab72b
commit
3410fad62c
@ -69,7 +69,7 @@ public class PreferencesFragment extends PreferenceFragment implements SharedPre
|
|||||||
addPreferencesFromResource(preference);
|
addPreferencesFromResource(preference);
|
||||||
|
|
||||||
Preference emojiPreference = findPreference("emojiCompat");
|
Preference emojiPreference = findPreference("emojiCompat");
|
||||||
if(emojiPreference != null && Build.VERSION.SDK_INT <= Build.VERSION_CODES.M) {
|
if(emojiPreference != null && Build.VERSION.SDK_INT <= Build.VERSION_CODES.LOLLIPOP) {
|
||||||
//disable emoji fonts on Android 5 because they cause problems
|
//disable emoji fonts on Android 5 because they cause problems
|
||||||
((PreferenceCategory)findPreference("categoryAppearance")).removePreference(emojiPreference);
|
((PreferenceCategory)findPreference("categoryAppearance")).removePreference(emojiPreference);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user