Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
fix wrong text for update switch
fix 'Ask where to save the APK each time' not saving & being false by default
  • Loading branch information
AbdurazaaqMohammed committed Aug 19, 2024
1 parent 5694ae9 commit 814635e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ android {
minSdk = 4
targetSdk = 35
versionCode = 29
versionName = "1.6.4.6"
versionName = "1.6.4.7"
multiDexEnabled = true
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ protected void onCreate(Bundle savedInstanceState) {
signApk = settings.getBoolean("signApk", true);
showDialog = settings.getBoolean("showDialog", false);
selectSplitsForDevice = settings.getBoolean("selectSplitsForDevice", false);

logEnabled = settings.getBoolean("logEnabled", true);
ask = settings.getBoolean("ask", true);
LogUtil.setLogListener(this);

lang = settings.getString("lang", "en");
Expand All @@ -190,11 +190,11 @@ protected void onCreate(Bundle savedInstanceState) {
((TextView) l.findViewById(supportsSwitch ? R.id.showDialogToggle : R.id.showDialogToggleText)).setText(rss.getString(R.string.show_dialog));
((TextView) l.findViewById(supportsSwitch ? R.id.signToggle : R.id.signToggleText)).setText(rss.getString(R.string.sign_apk));
((TextView) l.findViewById(supportsSwitch ? R.id.selectSplitsForDeviceToggle : R.id.selectSplitsForDeviceToggleText)).setText(rss.getString(R.string.automatically_select));
((TextView) l.findViewById(supportsSwitch ? R.id.updateToggle : R.id.updateToggleText)).setText(rss.getString(R.string.automatically_select));
((TextView) l.findViewById(supportsSwitch ? R.id.updateToggle : R.id.updateToggleText)).setText(rss.getString(R.string.auto_update));
((TextView) l.findViewById(supportsSwitch ? R.id.revancedToggle : R.id.revancedText)).setText(rss.getString(R.string.fix));
((TextView) l.findViewById(R.id.changeTextColor)).setText(rss.getString(R.string.change_text_color));
((TextView) l.findViewById(R.id.changeBgColor)).setText(rss.getString(R.string.change_background_color));
((TextView) l.findViewById(R.id.checkUpdateNow)).setText(rss.getString(R.string.auto_update));
((TextView) l.findViewById(R.id.checkUpdateNow)).setText(rss.getString(R.string.check_update_now));

Button checkUpdateNow = l.findViewById(R.id.checkUpdateNow);
CompoundButton updateSwitch = l.findViewById(R.id.updateToggle);
Expand Down

0 comments on commit 814635e

Please sign in to comment.