mirror of
https://github.com/yattee/yattee.git
synced 2025-10-15 11:58:14 +00:00
Fix url opening
This commit is contained in:
@@ -163,7 +163,9 @@ struct OpenURLHandler {
|
||||
resource
|
||||
.load()
|
||||
.onSuccess { response in
|
||||
if let channel: Channel = response.typedContent() {
|
||||
if let page: ChannelPage = response.typedContent(),
|
||||
let channel = page.channel
|
||||
{
|
||||
DispatchQueue.main.async {
|
||||
NavigationModel.shared.openChannel(
|
||||
channel,
|
||||
|
Reference in New Issue
Block a user