mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-17 15:33:30 +01:00
Fix snackbar durations.
This commit is contained in:
committed by
jeffrey-signal
parent
bb21363ca8
commit
305c32cfc5
@@ -1,6 +1,5 @@
|
||||
package org.thoughtcrime.securesms.components.snackbars
|
||||
|
||||
import androidx.compose.material3.SnackbarDuration
|
||||
import androidx.core.util.Consumer
|
||||
import androidx.lifecycle.Lifecycle
|
||||
import androidx.lifecycle.LifecycleOwner
|
||||
@@ -10,6 +9,7 @@ import io.mockk.mockk
|
||||
import io.mockk.verify
|
||||
import org.junit.Before
|
||||
import org.junit.Test
|
||||
import org.signal.core.ui.compose.Snackbars
|
||||
|
||||
class SnackbarStateConsumerRegistryTest {
|
||||
|
||||
@@ -256,7 +256,7 @@ class SnackbarStateConsumerRegistryTest {
|
||||
message = "Test message",
|
||||
hostKey = hostKey,
|
||||
fallbackKey = fallbackKey,
|
||||
duration = SnackbarDuration.Short
|
||||
duration = Snackbars.Duration.SHORT
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user