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:
Benoit Marty
2026-09-29 18:12:48 +02:00
parent f92b0a6c29
commit 8427b49481
@@ -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(