Try to fix button color bug

This commit is contained in:
Riko Sakurauchi 2020-02-08 21:11:49 +08:00 committed by NekoInverter
parent 27e4735d0c
commit a3f47d9182
3 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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) {