mirror of https://github.com/M66B/FairEmail.git
Fixed set advanced options defaults
This commit is contained in:
parent
4dbb17facc
commit
1ac542eebe
|
@ -137,6 +137,11 @@ public class FragmentOptions extends FragmentBase {
|
||||||
throw new IllegalArgumentException();
|
throw new IllegalArgumentException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getItemPosition(@NonNull Object object) {
|
||||||
|
return POSITION_NONE; // always recreate fragment
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -163,6 +168,6 @@ public class FragmentOptions extends FragmentBase {
|
||||||
editor.remove(option);
|
editor.remove(option);
|
||||||
editor.apply();
|
editor.apply();
|
||||||
|
|
||||||
//setOptions();
|
adapter.notifyDataSetChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue