mirror of https://github.com/NekoX-Dev/NekoX.git
Minor fixes
This commit is contained in:
parent
bb0a1720a7
commit
20606ea25e
|
@ -1376,6 +1376,7 @@ public class ChatEditActivity extends BaseFragment implements ImageUpdater.Image
|
|||
}
|
||||
blockCell.setTextAndValue(LocaleController.getString("ChannelPermissions", R.string.ChannelPermissions), count + " / 9", true);
|
||||
}
|
||||
adminCell.setText(LocaleController.getString("ChannelAdministrators", R.string.ChannelAdministrators), true);
|
||||
if (info.participants != null) {
|
||||
if (ChatObject.isChannel(currentChat) && !ChatObject.hasAdminRights(currentChat) && info.participants.participants.size() != info.participants_count && realAdminCount == 0) {
|
||||
adminCell.setText(LocaleController.getString("ChannelAdministrators", R.string.ChannelAdministrators), true);
|
||||
|
|
|
@ -4955,11 +4955,6 @@ public class ChatActivityEnterView extends FrameLayout implements NotificationCe
|
|||
scheduledButton.setTranslationX(0);
|
||||
}
|
||||
}
|
||||
if (checkBotButton()) {
|
||||
animators.add(ObjectAnimator.ofFloat(botButton, View.SCALE_X, 1f));
|
||||
animators.add(ObjectAnimator.ofFloat(botButton, View.SCALE_Y, 1f));
|
||||
animators.add(ObjectAnimator.ofFloat(botButton, View.ALPHA, 1f));
|
||||
}
|
||||
runningAnimation2.playTogether(animators);
|
||||
runningAnimation2.setDuration(100);
|
||||
runningAnimation2.addListener(new AnimatorListenerAdapter() {
|
||||
|
|
|
@ -843,10 +843,10 @@ public class ProxyListActivity extends BaseFragment implements NotificationCente
|
|||
|
||||
LocaleController.getString("AddProxySocks5", R.string.AddProxySocks5),
|
||||
LocaleController.getString("AddProxyTelegram", R.string.AddProxyTelegram),
|
||||
LocaleController.getString("AddProxyVmess", R.string.AddProxyVmess),
|
||||
LocaleController.getString("AddProxyTrojan", R.string.AddProxyTrojan),
|
||||
Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP ? null : LocaleController.getString("AddProxySS", R.string.AddProxySS),
|
||||
Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP ? null : LocaleController.getString("AddProxySSR", R.string.AddProxySSR),
|
||||
BuildVars.isMini ? null : LocaleController.getString("AddProxyVmess", R.string.AddProxyVmess),
|
||||
BuildVars.isMini ? null :LocaleController.getString("AddProxyTrojan", R.string.AddProxyTrojan),
|
||||
BuildVars.isMini || Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP ? null : LocaleController.getString("AddProxySS", R.string.AddProxySS),
|
||||
BuildVars.isMini || Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP ? null : LocaleController.getString("AddProxySSR", R.string.AddProxySSR),
|
||||
LocaleController.getString("ImportProxyFromClipboard", R.string.ImportProxyFromClipboard),
|
||||
LocaleController.getString("ScanQRCode", R.string.ScanQRCode)
|
||||
|
||||
|
|
Loading…
Reference in New Issue