change: Dismiss the error snackbar before showing a new one (#745)
This commit is contained in:
parent
dd0e01a15c
commit
e41c42081d
|
@ -238,6 +238,7 @@ class TimelineFragment :
|
||||||
error.throwable.getErrorString(requireContext()),
|
error.throwable.getErrorString(requireContext()),
|
||||||
)
|
)
|
||||||
Timber.d(error.throwable, message)
|
Timber.d(error.throwable, message)
|
||||||
|
snackbar?.dismiss()
|
||||||
snackbar = Snackbar.make(
|
snackbar = Snackbar.make(
|
||||||
// Without this the FAB will not move out of the way
|
// Without this the FAB will not move out of the way
|
||||||
(activity as? ActionButtonActivity)?.actionButton ?: binding.root,
|
(activity as? ActionButtonActivity)?.actionButton ?: binding.root,
|
||||||
|
|
Loading…
Reference in New Issue