mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 23:50:58 +01:00
Switched to QuadFlask colorpicker
This commit is contained in:
@@ -303,8 +303,12 @@ public class FragmentAccount extends FragmentBase {
|
||||
btnColor.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Bundle args = new Bundle();
|
||||
args.putInt("color", btnColor.getColor());
|
||||
args.putString("title", getString(R.string.title_color));
|
||||
|
||||
FragmentDialogColor fragment = new FragmentDialogColor();
|
||||
fragment.initialize(R.string.title_color, btnColor.getColor(), new Bundle(), getContext());
|
||||
fragment.setArguments(args);
|
||||
fragment.setTargetFragment(FragmentAccount.this, REQUEST_COLOR);
|
||||
fragment.show(getFragmentManager(), "account:color");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user