Refine UI

This commit is contained in:
luvletter2333 2021-09-15 23:24:09 +08:00
parent 8a080aa535
commit af3b235626
No known key found for this signature in database
GPG Key ID: BFD68B892BECC1D8
2 changed files with 4 additions and 4 deletions

View File

@ -366,7 +366,7 @@ public class NekoExperimentalSettingsActivity extends BaseFragment {
if (position == customAudioBitrateRow) {
String value = String.valueOf(NekoConfig.customAudioBitrate) + "kbps";
if(NekoConfig.customAudioBitrate==32) value += " (" + LocaleController.getString("Default", R.string.Default) + ")";
textCell.setTextAndValue(LocaleController.getString("customGroupVoipAudioBitrate", R.string.customGroupVoipAudioBitrate), value, true);
textCell.setTextAndValue(LocaleController.getString("customGroupVoipAudioBitrate", R.string.customGroupVoipAudioBitrate), value, false);
}
break;
}
@ -410,7 +410,7 @@ public class NekoExperimentalSettingsActivity extends BaseFragment {
@Override
public boolean isEnabled(RecyclerView.ViewHolder holder) {
int type = holder.getItemViewType();
return type == 3;
return type == 2 || type == 3;
}
@Override

View File

@ -112,11 +112,11 @@
<string name="pressTitleToOpenAllChats">Press title to open \"All Chats\" tab</string>
<string name="DontSendGreetingSticker">Don\'t send greeting sticker</string>
<string name="TakeGIFasVideo">Take GIF as Video</string>
<string name="UseMediaStreamInVoip">Use media stream in Voip</string>
<string name="UseMediaStreamInVoip">Use media stream in VoIP</string>
<string name="HideTimeForSticker">Hide time for stickers</string>
<string name="useSystemDNS">Use system DNS</string>
<string name="customDoH">Custom DoH</string>
<string name="customGroupVoipAudioBitrate">Group Voip Audio Bitrate</string>
<string name="customGroupVoipAudioBitrate">Group VoIP Audio Bitrate</string>
<string name="maxRecentStickerCount">Max Recent Sticker</string>
<string name="disableSwipeToNextChannel">Disable swipe to next channel</string>