diff --git a/TMessagesProj/build.gradle b/TMessagesProj/build.gradle index 314c551ad..f685e77c0 100644 --- a/TMessagesProj/build.gradle +++ b/TMessagesProj/build.gradle @@ -302,11 +302,11 @@ android { } } - defaultConfig.versionCode = 10 * 1856 + defaultConfig.versionCode = 10 * 1857 applicationVariants.all { variant -> variant.outputs.all { output -> - outputFileName = "Nekogram-${defaultConfig.versionName}-${variant.productFlavors.get(0).name}-${buildType.name}.apk" + outputFileName = "Nekogram-${defaultConfig.versionName}-${defaultConfig.versionCode / 10}-${variant.productFlavors.get(0).name}-${buildType.name}.apk" output.getProcessManifestProvider().get().doLast { def abiVersion = variant.productFlavors.get(0).abiVersionCode diff --git a/TMessagesProj/src/main/java/org/telegram/messenger/BuildVars.java b/TMessagesProj/src/main/java/org/telegram/messenger/BuildVars.java index d7b03e8b2..432011be1 100644 --- a/TMessagesProj/src/main/java/org/telegram/messenger/BuildVars.java +++ b/TMessagesProj/src/main/java/org/telegram/messenger/BuildVars.java @@ -19,7 +19,7 @@ public class BuildVars { public static boolean USE_CLOUD_STRINGS = true; public static boolean CHECK_UPDATES = true; public static boolean TON_WALLET_STANDALONE = false; - public static int BUILD_VERSION = 1856; + public static int BUILD_VERSION = 1857; public static String BUILD_VERSION_STRING = "5.14.0.4"; public static int APP_ID = 336779; //obtain your own APP_ID at https://core.telegram.org/api/obtaining_api_id public static String APP_HASH = "b91eefacc86747c068c8d8a16b41500d"; //obtain your own APP_HASH at https://core.telegram.org/api/obtaining_api_id diff --git a/TMessagesProj/src/main/java/tw/nekomimi/nekogram/NekoSettingsActivity.java b/TMessagesProj/src/main/java/tw/nekomimi/nekogram/NekoSettingsActivity.java index c08b41473..d4b03169d 100644 --- a/TMessagesProj/src/main/java/tw/nekomimi/nekogram/NekoSettingsActivity.java +++ b/TMessagesProj/src/main/java/tw/nekomimi/nekogram/NekoSettingsActivity.java @@ -772,6 +772,7 @@ public class NekoSettingsActivity extends BaseFragment { } case 2: { TextSettingsCell textCell = (TextSettingsCell) holder.itemView; + textCell.setTextColor(Theme.getColor(Theme.key_windowBackgroundWhiteBlackText)); if (position == nameOrderRow) { String value; switch (NekoConfig.nameOrder) { @@ -810,6 +811,7 @@ public class NekoSettingsActivity extends BaseFragment { } case 3: { TextCheckCell textCell = (TextCheckCell) holder.itemView; + textCell.setEnabled(true, null); if (position == ipv6Row) { textCell.setTextAndCheck(LocaleController.getString("IPv6", R.string.IPv6), NekoConfig.useIPv6, false); } else if (position == hidePhoneRow) {