File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
java/it/niedermann/owncloud/notes/accountswitcher Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 77 */
88package it .niedermann .owncloud .notes .accountswitcher ;
99
10+
1011import android .app .Dialog ;
1112import android .content .Context ;
1213import android .content .Intent ;
2122import com .bumptech .glide .request .RequestOptions ;
2223import com .google .android .material .dialog .MaterialAlertDialogBuilder ;
2324
25+ import it .niedermann .owncloud .notes .NotesApplication ;
2426import it .niedermann .owncloud .notes .R ;
2527import it .niedermann .owncloud .notes .branding .BrandedDialogFragment ;
2628import it .niedermann .owncloud .notes .branding .BrandingUtil ;
@@ -107,9 +109,12 @@ public Dialog onCreateDialog(Bundle savedInstanceState) {
107109 dismiss ();
108110 });
109111
110- return new MaterialAlertDialogBuilder (requireContext ())
111- .setView (binding .getRoot ())
112- .create ();
112+ MaterialAlertDialogBuilder builder = new MaterialAlertDialogBuilder (requireContext ())
113+ .setView (binding .getRoot ());
114+
115+ NotesApplication .brandingUtil ().dialog .colorMaterialAlertDialogBackground (requireContext (), builder );
116+
117+ return builder .create ();
113118 }
114119
115120 public static DialogFragment newInstance (long currentAccountId ) {
Original file line number Diff line number Diff line change 101101 android : contentDescription =" @null"
102102 android : focusable =" false"
103103 android : scaleType =" center"
104+ app : tint =" @color/black"
104105 app : srcCompat =" @drawable/ic_person_add_grey600_24dp" />
105106
106107 <TextView
131132 android : contentDescription =" @null"
132133 android : focusable =" false"
133134 android : scaleType =" center"
135+ app : tint =" @color/black"
134136 app : srcCompat =" @drawable/ic_settings_grey600_24dp" />
135137
136138 <TextView
You can’t perform that action at this time.
0 commit comments