mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-26 02:45:31 +01:00
Fixed restoring notify rate limit
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user