Add toggle for dislikes

This commit is contained in:
Arkadiusz Fal
2022-03-20 21:31:19 +01:00
parent 78834b1548
commit c1f3fecfe7
6 changed files with 147 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
}