mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Remove unused code
This commit is contained in:
@@ -197,7 +197,7 @@ struct VideoBanner: View {
|
||||
private var contentOpacity: Double {
|
||||
guard saveHistory,
|
||||
!watch.isNil,
|
||||
watchedVideoStyle == .decreasedOpacity || watchedVideoStyle == .both
|
||||
watchedVideoStyle.isDecreasingOpacity
|
||||
else {
|
||||
return 1
|
||||
}
|
||||
|
@@ -140,7 +140,7 @@ struct VideoCell: View {
|
||||
private var contentOpacity: Double {
|
||||
guard saveHistory,
|
||||
!watch.isNil,
|
||||
watchedVideoStyle == .decreasedOpacity || watchedVideoStyle == .both
|
||||
watchedVideoStyle.isDecreasingOpacity
|
||||
else {
|
||||
return 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user