mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-520 Editor | Fix | Show widget menu on every slash typed (#2703)
This commit is contained in:
parent
29347ffb4a
commit
2dafc36f9b
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,6 @@ import androidx.lifecycle.Lifecycle
|
|||
import androidx.lifecycle.LifecycleEventObserver
|
||||
import androidx.lifecycle.SavedStateHandle
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import androidx.lifecycle.observe
|
||||
import androidx.navigation.fragment.findNavController
|
||||
import androidx.recyclerview.widget.DefaultItemAnimator
|
||||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
|
@ -1517,6 +1516,7 @@ open class EditorFragment : NavigationFragment<FragmentEditorBinding>(R.layout.f
|
|||
}
|
||||
|
||||
state.slashWidget.apply {
|
||||
TransitionManager.endTransitions(binding.sheet)
|
||||
if (isVisible) {
|
||||
if (!binding.slashWidget.isVisible) {
|
||||
binding.slashWidget.scrollToTop()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue