Add toggle for dislikes

This commit is contained in:
Arkadiusz Fal
2022-03-20 21:31:19 +01:00
parent b6a7f3886d
commit 180bace38c
5 changed files with 16 additions and 3 deletions

View File

@@ -23,6 +23,8 @@ import SwiftUI
@EnvironmentObject<PlayerModel> private var player
func makeNSView(context _: Context) -> some NSView {
player.mpvBackend.client = client
client.layer = layer
layer.client = client
@@ -31,8 +33,6 @@ import SwiftUI
view.layer = client.layer
view.wantsLayer = true
player.mpvBackend.client = client
return view
}