aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/Settings/NotificationPreferenceFragment.java
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-08-21 08:21:17 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-08-21 08:21:17 +0000
commit9bad5024ff2fe13d9fe366ed40a2ea8662620c18 (patch)
tree6b3b25091732c2c4b7882b6ebea832405e79806f /app/src/main/java/Settings/NotificationPreferenceFragment.java
parent029bbc951b3b7d128b9eb1a469942a8f03676d83 (diff)
downloadinfinity-for-reddit-9bad5024ff2fe13d9fe366ed40a2ea8662620c18.tar
infinity-for-reddit-9bad5024ff2fe13d9fe366ed40a2ea8662620c18.tar.gz
infinity-for-reddit-9bad5024ff2fe13d9fe366ed40a2ea8662620c18.tar.bz2
infinity-for-reddit-9bad5024ff2fe13d9fe366ed40a2ea8662620c18.tar.lz
infinity-for-reddit-9bad5024ff2fe13d9fe366ed40a2ea8662620c18.tar.xz
infinity-for-reddit-9bad5024ff2fe13d9fe366ed40a2ea8662620c18.tar.zst
infinity-for-reddit-9bad5024ff2fe13d9fe366ed40a2ea8662620c18.zip
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.
Diffstat (limited to '')
-rw-r--r--app/src/main/java/Settings/NotificationPreferenceFragment.java20
1 files changed, 20 insertions, 0 deletions
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);
+ }
+}