Refactoring

This commit is contained in:
M66B
2020-01-01 20:52:23 +01:00
parent b99fcb48f7
commit 960c589e3a
5 changed files with 37 additions and 39 deletions

View File

@@ -215,7 +215,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("threading", checked).apply();
WidgetUnified.update(getContext());
WidgetUnified.updateData(getContext());
}
});
@@ -352,7 +352,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("subject_top", checked).apply();
WidgetUnified.update(getContext());
WidgetUnified.updateData(getContext());
}
});
@@ -386,7 +386,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("subject_italic", checked).apply();
WidgetUnified.update(getContext());
WidgetUnified.updateData(getContext());
}
});