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:
parent
70d5e1868a
commit
7c97ec1155
7 changed files with 19 additions and 11 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue