diff --git a/app/src/main/java/it/niedermann/owncloud/notes/preferences/PreferencesActivity.java b/app/src/main/java/it/niedermann/owncloud/notes/preferences/PreferencesActivity.java index 723b895a..6c7d3c90 100644 --- a/app/src/main/java/it/niedermann/owncloud/notes/preferences/PreferencesActivity.java +++ b/app/src/main/java/it/niedermann/owncloud/notes/preferences/PreferencesActivity.java @@ -18,14 +18,13 @@ import it.niedermann.owncloud.notes.databinding.ActivityPreferencesBinding; public class PreferencesActivity extends LockedActivity { - private PreferencesViewModel viewModel; private ActivityPreferencesBinding binding; @Override protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); - viewModel = new ViewModelProvider(this).get(PreferencesViewModel.class); + PreferencesViewModel viewModel = new ViewModelProvider(this).get(PreferencesViewModel.class); viewModel.resultCode$.observe(this, this::setResult); binding = ActivityPreferencesBinding.inflate(getLayoutInflater()); diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index c0ddd171..8cde0df4 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -86,7 +86,8 @@