Fixed restoring notify rate limit

master
M66B 4 weeks ago
parent 15b8313e94
commit b1b3df9c41

@ -804,9 +804,9 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
swUnseenIgnored.setVisibility(Helper.isXiaomi() ? View.GONE : View.VISIBLE);
swAlertOnce.setVisibility(Helper.isXiaomi() || BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
int notity_rate_limit = prefs.getInt("notity_rate_limit", 0);
int notify_rate_limit = prefs.getInt("notify_rate_limit", 0);
for (int pos = 0; pos < undoValues.length; pos++)
if (undoValues[pos] == notity_rate_limit) {
if (undoValues[pos] == notify_rate_limit) {
spRateLimit.setSelection(pos);
break;
}

Loading…
Cancel
Save