Various cleanups

This commit is contained in:
Reinout Meliesie 2024-11-19 19:34:40 +01:00
parent 37437dc3bd
commit ce6309a22b
6 changed files with 9 additions and 39 deletions

View file

@ -1,13 +1,10 @@
package com.kernelmaft.zanbur
import MQTTClient
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers.IO
import kotlinx.coroutines.launch
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import MQTTClient
import mqtt.MQTTVersion
import mqtt.Subscription
import mqtt.packets.Qos.AT_MOST_ONCE

View file

@ -7,4 +7,4 @@ import androidx.datastore.preferences.preferencesDataStore
val Context. dataStore : DataStore<Preferences> by preferencesDataStore ("state")
val Context . dataStore : DataStore <Preferences> by preferencesDataStore ("state")