mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-30 09:31:11 +01:00
Fixed set advanced options defaults
This commit is contained in:
@@ -137,6 +137,11 @@ public class FragmentOptions extends FragmentBase {
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getItemPosition(@NonNull Object object) {
|
||||
return POSITION_NONE; // always recreate fragment
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -163,6 +168,6 @@ public class FragmentOptions extends FragmentBase {
|
||||
editor.remove(option);
|
||||
editor.apply();
|
||||
|
||||
//setOptions();
|
||||
adapter.notifyDataSetChanged();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user