mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor(model): remove ConnectionState helper methods and fix updateStatusNotification return type (#5074)
This commit is contained in:
parent
174315b21f
commit
62264b10c6
16 changed files with 51 additions and 35 deletions
|
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
package org.meshtastic.app.service
|
||||
|
||||
import android.app.Notification
|
||||
import dev.mokkery.MockMode
|
||||
import dev.mokkery.mock
|
||||
import org.meshtastic.core.model.Node
|
||||
|
|
@ -37,7 +36,7 @@ class FakeMeshServiceNotifications : MeshServiceNotifications {
|
|||
override fun updateServiceStateNotification(
|
||||
state: org.meshtastic.core.model.ConnectionState,
|
||||
telemetry: Telemetry?,
|
||||
): Notification = mock(MockMode.autofill)
|
||||
) {}
|
||||
|
||||
override suspend fun updateMessageNotification(
|
||||
contactKey: String,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue