Skip to content

Commit

Permalink
improvement(browse-options): remove superfluous text
Browse files Browse the repository at this point in the history
"Toggle Showing cards or notes in the browser" wasn't
useful to explain cards/notes mode

Added in 937a656
  • Loading branch information
david-allison authored and lukstbit committed Jan 8, 2025
1 parent f5b4aa8 commit 79e0a55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
10 changes: 2 additions & 8 deletions AnkiDroid/src/main/res/layout/browser_options_dialog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
android:id="@+id/select_browser_mode"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="16dp">
android:layout_marginTop="8dp"
android:layout_marginHorizontal="16dp">

<RadioButton
android:id="@+id/select_cards_mode"
Expand All @@ -41,13 +42,6 @@
android:text="@string/show_notes" />

</RadioGroup>

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/toggle_browser_mode_help"
android:textColor="?android:attr/textColorSecondary"
android:layout_marginHorizontal="16dp" />
</LinearLayout>

<LinearLayout
Expand Down
1 change: 0 additions & 1 deletion AnkiDroid/src/main/res/values/02-strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@
<string name="show_cards" comment="Label for toggle cards button in BrowserOptionsDialog">Cards</string>
<string name="show_notes" comment="Label for toggle notes button in BrowserOptionsDialog">Notes</string>
<string name="toggle_cards_notes">Toggle Cards/Notes</string>
<string name="toggle_browser_mode_help">Toggle Showing cards or notes in the browser</string>
<string name="truncate_content_help">Truncate the height of each row of the Browser to show only first 3 lines of content</string>
<string name="browser_options_dialog_heading">Browser options</string>

Expand Down

0 comments on commit 79e0a55

Please sign in to comment.