File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
java/it/niedermann/owncloud/notes/preferences Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1818
1919public class PreferencesActivity extends LockedActivity {
2020
21- private PreferencesViewModel viewModel ;
2221 private ActivityPreferencesBinding binding ;
2322
2423 @ Override
2524 protected void onCreate (@ Nullable Bundle savedInstanceState ) {
2625 super .onCreate (savedInstanceState );
2726
28- viewModel = new ViewModelProvider (this ).get (PreferencesViewModel .class );
27+ PreferencesViewModel viewModel = new ViewModelProvider (this ).get (PreferencesViewModel .class );
2928 viewModel .resultCode$ .observe (this , this ::setResult );
3029
3130 binding = ActivityPreferencesBinding .inflate (getLayoutInflater ());
Original file line number Diff line number Diff line change 8686 <style name =" PreferencesAlertDialogTheme" parent =" MaterialAlertDialogTheme" >
8787 <!-- https://m3.material.io/components/dialogs/specs#6771d107-624e-47cc-b6d8-2b7b620ba2f1 -->
8888 <item name =" dialogCornerRadius" >28dp</item >
89- <item name =" android:background" >?attr/colorSurface</item >
89+ <item name =" android:background" >@color/primary</item >
90+ <item name =" android:textColor" >@color/fg_default</item >
9091 </style >
9192
9293 <style name =" buttonStyle" parent =" Widget.Material3.Button.TextButton.Dialog" >
You can’t perform that action at this time.
0 commit comments