wix warnings

This commit is contained in:
geeksville 2020-04-19 16:24:47 -07:00
parent fdd3b48364
commit 4f24794001
2 changed files with 7 additions and 8 deletions

View file

@ -47,7 +47,7 @@ data class Channel(
fun getChannelUrl(): Uri {
// If we have a valid radio config use it, othterwise use whatever we have saved in the prefs
val channelBytes = settings?.toByteArray() ?: ByteArray(0) // if unset just use empty
val channelBytes = settings.toByteArray() ?: ByteArray(0) // if unset just use empty
val enc = Base64.encodeToString(channelBytes, base64Flags)
return Uri.parse("$prefix$enc")