Remove unused code

This commit is contained in:
Arkadiusz Fal
2023-04-22 22:44:59 +02:00
parent 2d02d9b472
commit 5c0cf7452c
28 changed files with 41 additions and 137 deletions

View File

@@ -197,7 +197,7 @@ struct VideoBanner: View {
private var contentOpacity: Double {
guard saveHistory,
!watch.isNil,
watchedVideoStyle == .decreasedOpacity || watchedVideoStyle == .both
watchedVideoStyle.isDecreasingOpacity
else {
return 1
}

View File

@@ -140,7 +140,7 @@ struct VideoCell: View {
private var contentOpacity: Double {
guard saveHistory,
!watch.isNil,
watchedVideoStyle == .decreasedOpacity || watchedVideoStyle == .both
watchedVideoStyle.isDecreasingOpacity
else {
return 1
}