mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix: resolve crashes and debug filter issues in Metrics and MapView (#4824)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
parent
9ad28e924f
commit
a10fe61d0f
6 changed files with 27 additions and 26 deletions
|
|
@ -32,6 +32,7 @@ import org.koin.test.verify.injectedParameters
|
|||
import org.koin.test.verify.verify
|
||||
import org.meshtastic.app.map.MapViewModel
|
||||
import org.meshtastic.core.model.util.NodeIdLookup
|
||||
import org.meshtastic.feature.node.metrics.MetricsViewModel
|
||||
|
||||
class KoinVerificationTest {
|
||||
|
||||
|
|
@ -54,7 +55,11 @@ class KoinVerificationTest {
|
|||
HttpClientEngine::class,
|
||||
OkHttpClient::class,
|
||||
),
|
||||
injections = injectedParameters(definition<MapViewModel>(SavedStateHandle::class)),
|
||||
injections =
|
||||
injectedParameters(
|
||||
definition<MapViewModel>(SavedStateHandle::class),
|
||||
definition<MetricsViewModel>(Int::class),
|
||||
),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue