Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c26e434d1e |
@@ -222,8 +222,8 @@ class MainActivity : AudioServiceActivity(), MethodChannel.MethodCallHandler, Ev
|
|||||||
}
|
}
|
||||||
|
|
||||||
val streamUrl = arguments["streamUrl"] as? String
|
val streamUrl = arguments["streamUrl"] as? String
|
||||||
val title = arguments["title"] as? String ?: "Live Stream"
|
val title = "KRYZ 98.5 LPFM Mariposa Community Radio"
|
||||||
val subtitle = arguments["subtitle"] as? String ?: ""
|
val subtitle = "Live Stream"
|
||||||
|
|
||||||
if (streamUrl.isNullOrBlank()) {
|
if (streamUrl.isNullOrBlank()) {
|
||||||
result.error("invalid_stream_url", "streamUrl is required", null)
|
result.error("invalid_stream_url", "streamUrl is required", null)
|
||||||
|
|||||||
Reference in New Issue
Block a user