Skip to content

Commit

Permalink
add warning to WIP dev options
Browse files Browse the repository at this point in the history
  • Loading branch information
BrayanDSO committed Aug 27, 2024
1 parent bc75f07 commit 2f61a51
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
1 change: 1 addition & 0 deletions AnkiDroid/src/main/res/values/preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@
<string name="new_reviewer_pref_key">newReviewer</string>
<string name="new_reviewer_options_key">newReviewerOptions</string>
<string name="dev_options_enabled_by_user_key">devOptionsEnabledByUser</string>
<string name="pref_cat_wip_key">workInProgressDevOptions</string>
<!-- Developer options > Create fake media -->
<string name="pref_fill_collection_key">fillCollection</string>
<string name="pref_fill_collection_number_file_key">fillCollectionNumberFile</string>
Expand Down
26 changes: 17 additions & 9 deletions AnkiDroid/src/main/res/xml/preferences_dev_options.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@
android:title="Lock Database"
android:summary="Touch here to lock the database (all threads block in-process, exception if using second process)"
android:key="@string/pref_lock_database_key"/>
<SwitchPreferenceCompat
android:title="New reviewer"
android:key="@string/new_reviewer_pref_key"
android:defaultValue="false"/>
<Preference
android:title="New reviewer options"
android:key="@string/new_reviewer_options_key"
android:dependency="@string/new_reviewer_pref_key"
android:fragment="com.ichi2.anki.preferences.ReviewerOptionsFragment"/>
<SwitchPreferenceCompat
android:title="New congrats screen"
android:key="@string/new_congrats_screen_pref_key"
Expand All @@ -79,4 +70,21 @@
android:title="Create files"
/>
</PreferenceCategory>

<com.ichi2.anki.preferences.ExtendedPreferenceCategory
android:key="@string/pref_cat_wip_key"
android:title="Work in progress"
android:summary="Only for testing. Not suited for use. Don't create reports about them">

<SwitchPreferenceCompat
android:title="New reviewer"
android:key="@string/new_reviewer_pref_key"
android:defaultValue="false"/>
<Preference
android:title="New reviewer options"
android:key="@string/new_reviewer_options_key"
android:dependency="@string/new_reviewer_pref_key"
android:fragment="com.ichi2.anki.preferences.ReviewerOptionsFragment"/>

</com.ichi2.anki.preferences.ExtendedPreferenceCategory>
</PreferenceScreen>

0 comments on commit 2f61a51

Please sign in to comment.