Skip to content

Commit

Permalink
fix: consider unknown OS to be linux
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva committed Mar 30, 2022
1 parent 5e4992b commit e034add
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/cljs/athens/util.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@
[(case os
:windows "os-windows"
:mac "os-mac"
:linux "os-linux")
:linux "os-linux"
"os-linux")
(if electron? "is-electron" "is-web")
(if theme-dark? "is-theme-dark" "is-theme-light")
(when win-focused? "is-focused")
Expand Down
3 changes: 2 additions & 1 deletion src/cljs/athens/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@
{:class [(case os
:windows "os-windows"
:mac "os-mac"
:linux "os-linux")
:linux "os-linux"
"os-linux")
(when electron? "is-electron")]})
[app-toolbar/app-toolbar]
[left-sidebar/left-sidebar]
Expand Down

0 comments on commit e034add

Please sign in to comment.