Fixed restoring notify rate limit

This commit is contained in:
M66B
2025-11-26 15:00:04 +01:00
parent 15b8313e94
commit b1b3df9c41

View File

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