Fixed set advanced options defaults

This commit is contained in:
M66B 2019-05-06 10:40:05 +02:00
parent 4dbb17facc
commit 1ac542eebe
1 changed files with 6 additions and 1 deletions

View File

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