mirror of
https://github.com/neon443/ShhShell.git
synced 2026-11-30 12:44:51 +00:00
fix crtview making it look gray
This commit is contained in:
1 parent
005b1ed9c9
commit
efb6072af8
1 file changed
+1
-1
@@ -25,7 +25,7 @@ struct ShellView: View {
|
||||
TerminalController(handler: handler, hostsManager: hostsManager)
|
||||
.brightness(hostsManager.settings.filter == .crt ? 0.2 : 0.0)
|
||||
|
||||
if hostsManager.settings.filter == .crt {
|
||||
if #available(iOS 17, *), hostsManager.settings.filter == .crt {
|
||||
CRTView()
|
||||
.opacity(0.75)
|
||||
.brightness(-0.2)
|
||||
|
||||