mirror of
https://github.com/yattee/yattee.git
synced 2025-10-17 12:58:13 +00:00
Replace environment objects with observed objects
This commit is contained in:
@@ -155,7 +155,7 @@ struct OpenVideosModel {
|
||||
}
|
||||
|
||||
var canOpenVideosByID: Bool {
|
||||
guard let app = player.accounts.current?.app else { return false }
|
||||
return !player.accounts.isEmpty && app.supportsOpeningVideosByID
|
||||
guard let app = AccountsModel.shared.current?.app else { return false }
|
||||
return !AccountsModel.shared.isEmpty && app.supportsOpeningVideosByID
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user