mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-03 15:46:34 +02:00
Dismiss color picker on pause
Signed-off-by: M66B <M66B@users.noreply.github.com>
This commit is contained in:
@@ -262,7 +262,7 @@ public class FragmentIdentity extends FragmentBase {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
int[] colors = getContext().getResources().getIntArray(R.array.colorPicker);
|
||||
ColorPickerDialog colorPickerDialog = new ColorPickerDialog();
|
||||
ColorPickerDialog colorPickerDialog = new ColorPickerDialogEx(getViewLifecycleOwner());
|
||||
colorPickerDialog.initialize(R.string.title_account_color, colors, color, 4, colors.length);
|
||||
colorPickerDialog.setOnColorSelectedListener(new ColorPickerSwatch.OnColorSelectedListener() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user