From 4f7cf0f8b5a5a9d775443727fe6ac17231dfc8d8 Mon Sep 17 00:00:00 2001 From: alperozturk Date: Mon, 22 Jul 2024 16:25:55 +0200 Subject: [PATCH] Apply correct theme Signed-off-by: alperozturk --- .../owncloud/notes/preferences/PreferencesActivity.java | 3 +-- app/src/main/res/values/styles.xml | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) 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 @@