mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-17 13:38:30 +00:00
Anchor Snackbar above reboot FAB in FlashFragment
This commit is contained in:
parent
10e236abdf
commit
71205bc530
@ -22,6 +22,8 @@ class FlashFragment : BaseFragment<FragmentFlashMd2Binding>() {
|
||||
override val layoutRes = R.layout.fragment_flash_md2
|
||||
override val viewModel by viewModel<FlashViewModel>()
|
||||
override val snackbarView: View get() = binding.snackbarContainer
|
||||
override val snackbarAnchorView: View?
|
||||
get() = if (binding.restartBtn.isShown) binding.restartBtn else super.snackbarAnchorView
|
||||
|
||||
private var defaultOrientation = -1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user