mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
New option: Crash Reports.
This commit is contained in:
6
app/src/main/res/layout/fragment_crash_reports.xml
Normal file
6
app/src/main/res/layout/fragment_crash_reports.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.recyclerview.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".settings.CrashReportsFragment" />
|
8
app/src/main/res/layout/item_crash_report.xml
Normal file
8
app/src/main/res/layout/item_crash_report.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:textColor="?attr/primaryTextColor"
|
||||
android:textSize="?attr/font_default" />
|
@@ -556,6 +556,7 @@
|
||||
<string name="settings_hide_favorite_subreddits_sections_title">Hide Favorite Subreddits Section</string>
|
||||
<string name="settings_hide_subscribed_subreddits_sections_title">Hide Subscribed Subreddits Section</string>
|
||||
<string name="settings_default_search_result_tab">Default Search Result Tab</string>
|
||||
<string name="settings_crash_reports_title">Crash Reports</string>
|
||||
|
||||
<string name="no_link_available">Cannot get the link</string>
|
||||
|
||||
|
@@ -46,4 +46,8 @@
|
||||
app:key="restore_settings"
|
||||
app:title="@string/settings_restore_settings_title" />
|
||||
|
||||
<Preference
|
||||
app:title="@string/settings_crash_reports_title"
|
||||
app:fragment="ml.docilealligator.infinityforreddit.settings.CrashReportsFragment" />
|
||||
|
||||
</PreferenceScreen>
|
Reference in New Issue
Block a user