mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Suppress SearchBar deprecation warnings
The SearchBarState based replacement displays the expanded search bar in a dialog, which would change the UX (in particular for the emoji picker bottom sheet). Keep the current behavior for now and migrate later. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
+3
@@ -79,6 +79,9 @@ fun <T> SearchBar(
|
||||
}
|
||||
}
|
||||
|
||||
// TODO Migrate to the SearchBarState API. The replacement (ExpandedFullScreenSearchBar) displays the results in a dialog,
|
||||
// which would change the UX, in particular for the emoji picker bottom sheet.
|
||||
@Suppress("DEPRECATION")
|
||||
SearchBar(
|
||||
inputField = {
|
||||
SearchBarDefaults.InputField(
|
||||
|
||||
Reference in New Issue
Block a user