mirror of
https://github.com/pachli/pachli-android.git
synced 2025-01-10 07:52:31 +01:00
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()),
|
||||
)
|
||||
Timber.d(error.throwable, message)
|
||||
snackbar?.dismiss()
|
||||
snackbar = Snackbar.make(
|
||||
// Without this the FAB will not move out of the way
|
||||
(activity as? ActionButtonActivity)?.actionButton ?: binding.root,
|
||||
|
Loading…
Reference in New Issue
Block a user