mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 00:29:11 +01:00
Convert InternalValues to kotlin.
This commit is contained in:
@@ -29,11 +29,11 @@ class DefaultWebSocketShadowingBridge(private val context: Application) : WebSoc
|
||||
private val store: InternalValues = SignalStore.internal
|
||||
|
||||
override fun writeStatsSnapshot(bytes: ByteArray) {
|
||||
store.setWebSocketShadowingStats(bytes)
|
||||
store.webSocketShadowingStats = bytes
|
||||
}
|
||||
|
||||
override fun readStatsSnapshot(): ByteArray? {
|
||||
return store.getWebSocketShadowingStats(null)
|
||||
return store.webSocketShadowingStats
|
||||
}
|
||||
|
||||
override fun triggerFailureNotification(message: String) {
|
||||
|
||||
Reference in New Issue
Block a user