mirror of
https://github.com/tateisu/SubwayTooter
synced 2025-01-10 16:34:41 +01:00
Android 12未満ではTwemoji使用を強制する。
This commit is contained in:
parent
6eaa98f5f9
commit
9d69d263dc
@ -784,7 +784,9 @@ val appSettingRoot = AppSettingItem(null, SettingType.Section, R.string.app_sett
|
||||
sw(PrefB.bpEmojioneShortcode, R.string.emojione_shortcode_support) {
|
||||
desc = R.string.emojione_shortcode_support_desc
|
||||
}
|
||||
sw(PrefB.bpUseTwemoji, R.string.use_twemoji_emoji)
|
||||
sw(PrefB.bpUseTwemoji, R.string.use_twemoji_emoji){
|
||||
enabled = Build.VERSION.SDK_INT >= 31
|
||||
}
|
||||
|
||||
sw(PrefB.bpKeepReactionSpace, R.string.keep_reaction_space)
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
package jp.juggler.subwaytooter.pref
|
||||
|
||||
import android.os.Build
|
||||
import jp.juggler.subwaytooter.pref.impl.BooleanPref
|
||||
|
||||
object PrefB {
|
||||
@ -321,7 +322,8 @@ object PrefB {
|
||||
|
||||
val bpUseTwemoji = BooleanPref(
|
||||
"UseTwemoji",
|
||||
false
|
||||
// Android 12 以上ではデフォルトfalse
|
||||
Build.VERSION.SDK_INT < 31
|
||||
)
|
||||
|
||||
val bpKeepReactionSpace = BooleanPref(
|
||||
|
Loading…
Reference in New Issue
Block a user