Skip to content

Commit

Permalink
fix lint to get CI green again
Browse files Browse the repository at this point in the history
  • Loading branch information
logseq-cldwalker committed Nov 6, 2023
1 parent 2851c1b commit 05a82a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/frontend/ui.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -395,9 +395,9 @@
(.on js/window.apis event function))

(p/then (ipc/ipc :getAppBaseInfo) #(let [{:keys [isFullScreen isMaximized]} (js->clj % :keywordize-keys true)]
(when isFullScreen (do
(.add cl "is-fullscreen")
(state/set-state! :electron/window-fullscreen? true)))
(when isFullScreen
(.add cl "is-fullscreen")
(state/set-state! :electron/window-fullscreen? true))
(when isMaximized (state/set-state! :electron/window-maximized? true)))))))

(defn inject-dynamic-style-node!
Expand Down

0 comments on commit 05a82a5

Please sign in to comment.