IacobIonut01/Gallery

[BUG] SearchBar resets on orientation change

Closed this issue · 0 comments

Problem: when I perform this sequence of events the SearchBar resets:

  1. Touch the search bar at the top
  2. Type something
  3. Rotate the device twice

Possible solution:

app/src/main/kotlin/com/dot/gallery/feature_node/presentation/search/MainSearchBar.kt: use different variables to store the current displayed text and the current executed query

Screenshots:

Version:

2.1.2 (21204) - not fixed in 3.0.0