Skip to content

Commit

Permalink
remove unused code in MainScene.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
bummoblizard committed Jun 14, 2024
1 parent 8882169 commit 6c45123
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions CodeApp/Containers/MainScene.swift
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,7 @@ struct MainScene: View {
object: nil
),
perform: { notification in
// TODO: What does this code do?
guard var theme = themeManager.currentTheme else {
// if let isDark = notification.userInfo?["isDark"] as? Bool {
// App.monacoInstance.executeJavascript(command: "resetTheme(\(isDark))")
// App.terminalInstance.executeScript("applyTheme(null, \(isDark))")
// }
return
}
Task { await App.monacoInstance.setVSTheme(theme: theme) }
Expand Down

0 comments on commit 6c45123

Please sign in to comment.