Revert "Refactoring"

This reverts commit 8081d733c9.
This commit is contained in:
M66B 2023-11-18 17:40:56 +01:00
parent 3c9f495530
commit 52f3bb0307
3 changed files with 1492 additions and 1546 deletions

View File

@ -2347,7 +2347,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
swIdleDone.setChecked(prefs.getBoolean("idle_done", true));
swFastFetch.setChecked(prefs.getBoolean("fast_fetch", false));
int max_backoff_power = prefs.getInt("max_backoff_power", ServiceMonitor.DEFAULT_BACKOFF_POWER - 3);
int max_backoff_power = prefs.getInt("max_backoff_power", ServiceSynchronize.DEFAULT_BACKOFF_POWER - 3);
int max_backoff = (int) Math.pow(2, max_backoff_power + 3);
tvMaxBackoff.setText(getString(R.string.title_advanced_max_backoff, max_backoff));
sbMaxBackOff.setProgress(max_backoff_power);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff