mirror of
https://github.com/He4eT/yamf_launcher.git
synced 2026-05-05 01:47:24 +00:00
Fixed issue with contacts menu remaining open if the option is disabled while last open view was contacts menu.
This commit is contained in:
parent
a07c8a2cb3
commit
d0b0a2eb83
1 changed files with 1 additions and 1 deletions
|
|
@ -269,9 +269,9 @@ class MainActivity : AppCompatActivity(), SharedPreferences.OnSharedPreferenceCh
|
||||||
try {
|
try {
|
||||||
// The menu opens from the top
|
// The menu opens from the top
|
||||||
appRecycler.scrollToPosition(0)
|
appRecycler.scrollToPosition(0)
|
||||||
|
menuView.displayedChild = 0
|
||||||
if (searchSwitcher.visibility == View.VISIBLE) {
|
if (searchSwitcher.visibility == View.VISIBLE) {
|
||||||
contactRecycler.scrollToPosition(0)
|
contactRecycler.scrollToPosition(0)
|
||||||
menuView.displayedChild = 0
|
|
||||||
setAppViewDetails()
|
setAppViewDetails()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue