From 9bad5024ff2fe13d9fe366ed40a2ea8662620c18 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Wed, 21 Aug 2019 16:21:17 +0800 Subject: Fixed getting same notifications for different accounts (for real this time). Add a settings acivity but with no use now. Minor bugs fixed. Minor UI tweaks. --- .../Settings/NotificationPreferenceFragment.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/src/main/java/Settings/NotificationPreferenceFragment.java (limited to 'app/src/main/java/Settings/NotificationPreferenceFragment.java') diff --git a/app/src/main/java/Settings/NotificationPreferenceFragment.java b/app/src/main/java/Settings/NotificationPreferenceFragment.java new file mode 100644 index 00000000..c64d2143 --- /dev/null +++ b/app/src/main/java/Settings/NotificationPreferenceFragment.java @@ -0,0 +1,20 @@ +package Settings; + + +import android.os.Bundle; + +import androidx.fragment.app.Fragment; +import androidx.preference.PreferenceFragmentCompat; + +import ml.docilealligator.infinityforreddit.R; + +/** + * A simple {@link Fragment} subclass. + */ +public class NotificationPreferenceFragment extends PreferenceFragmentCompat { + + @Override + public void onCreatePreferences(Bundle savedInstanceState, String rootKey) { + setPreferencesFromResource(R.xml.notification_preferences, rootKey); + } +} -- cgit v1.2.3