style: Only Show Built In Emoji
This commit is contained in:
parent
afe750d4ed
commit
01d7075d9d
@ -325,7 +325,11 @@ public class EmojiTabsStrip extends ScrollableHorizontalScrollView {
|
||||
}
|
||||
first = false;
|
||||
ArrayList<EmojiView.EmojiPack> emojiPacks = parent.getEmojipacks();
|
||||
if (emojiPacks == null || NaConfig.INSTANCE.getOnlyShowBuiltInEmoji().Bool()) {
|
||||
if (emojiPacks == null) {
|
||||
return;
|
||||
}
|
||||
final boolean isPremium = UserConfig.getInstance(UserConfig.selectedAccount).isPremium();
|
||||
if (NaConfig.INSTANCE.getOnlyShowBuiltInEmoji().Bool() && !isPremium) {
|
||||
return;
|
||||
}
|
||||
if (emojipackTabs == null) {
|
||||
@ -338,7 +342,6 @@ public class EmojiTabsStrip extends ScrollableHorizontalScrollView {
|
||||
appearAnimation = null;
|
||||
}
|
||||
appearCount = emojiPacks.size();
|
||||
final boolean isPremium = UserConfig.getInstance(UserConfig.selectedAccount).isPremium();
|
||||
for (int i = 0; i < emojipackTabs.size(); ++i) {
|
||||
EmojiTabButton emojipackTab = emojipackTabs.get(i);
|
||||
EmojiView.EmojiPack pack = null;
|
||||
|
@ -53,5 +53,5 @@
|
||||
<string name="ShowPhotoOpenInExternalApp">查看图片可以使用其他应用打开</string>
|
||||
<string name="QuickToggleAnonymous">快速切换匿名发言</string>
|
||||
<string name="QuickToggleAnonymousNotice">如果你是群组的所有者的话</string>
|
||||
<string name="OnlyShowBuiltInEmoji">仅显示内置 Emoji</string>
|
||||
<string name="OnlyShowBuiltInEmoji">非大会员仅显示内置 Emoji</string>
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user