aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/Settings/NotificationPreferenceFragment.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/Settings/NotificationPreferenceFragment.java')
-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);
+ }
+}