refactor(history): simplify the search history sheet height

Size the sheet to its content with a minimum height and a static full-height
cap. Keep the drag handle below display cutouts and avoid offset-dependent
insets, which can destabilize the sheet anchors. Also drop the trailing period
in the empty dictionary list description.
This commit is contained in:
OneWay committed 2026-10-28 00:02:49 +08:00
1 parent d8b0f38a96
commit cf30a75afc
2 files changed
+18 -30

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@
<string name="action_add">Add</string>
<string name="action_add_another_url">Add another URL</string>
<string name="action_remove">Remove</string>
<string name="dictionaries_empty_description">Add download links or import dictionary files to start searching.</string>
<string name="dictionaries_empty_description">Add download links or import dictionary files to start searching</string>
<plurals name="dictionary_entries_count">
<item quantity="one">• %1$d entry</item>
<item quantity="other">• %1$d entries</item>