Update widget on option changes

This commit is contained in:
M66B 2021-12-31 14:14:10 +01:00
parent dda23dbb44
commit 5a8ae39fa3
1 changed files with 3 additions and 0 deletions

View File

@ -748,6 +748,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("prefer_contact", checked).apply();
WidgetUnified.updateData(getContext());
}
});
@ -755,6 +756,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("only_contact", checked).apply();
WidgetUnified.updateData(getContext());
}
});
@ -762,6 +764,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
prefs.edit().putBoolean("distinguish_contacts", checked).apply();
WidgetUnified.updateData(getContext());
}
});