mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Update metro to v0.11.2 (#6270)
* Update metro to v0.11.2 * Bind push tests to the right scope .Add a comment so we don't forget to do it for future ones. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jorge Martín <jorgem@element.io>
This commit is contained in:
+8
@@ -8,9 +8,17 @@
|
||||
|
||||
package io.element.android.libraries.troubleshoot.api.test
|
||||
|
||||
import io.element.android.libraries.di.SessionScope
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.flow.StateFlow
|
||||
|
||||
/**
|
||||
* A test to troubleshoot notifications issues.
|
||||
* Each test has a state that can be observed to update the UI accordingly.
|
||||
*
|
||||
* **IMPORTANT**: classes implementing this should be scoped to [SessionScope], otherwise Metro complains about these not being used:
|
||||
* the component they're injected into is bound to [SessionScope] and so should these (https://github.com/ZacSweers/metro/issues/1932).
|
||||
*/
|
||||
interface NotificationTroubleshootTest {
|
||||
val order: Int
|
||||
val state: StateFlow<NotificationTroubleshootTestState>
|
||||
|
||||
Reference in New Issue
Block a user