Skip to content

Commit

Permalink
Merge branch 'dev' into add_friend_link
Browse files Browse the repository at this point in the history
  • Loading branch information
phillsatellite authored Dec 5, 2024
2 parents 24e64d4 + 10a028c commit 2f4d66f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/state/ui/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { createPersistentState } from ".."
import { EmojiFont, Font, Identicon, Route } from "$lib/enums"
import { Store as MainStore } from "../Store"
import { page } from "$app/stores"
import { checkMobile } from "$lib/utils/Mobile"

export interface IUIState {
color: Writable<string>
Expand Down Expand Up @@ -36,7 +37,7 @@ class Store {
emojiFont: createPersistentState("uplink.ui.emojiFont", EmojiFont.Fluent),
theme: createPersistentState("uplink.ui.theme", "default"),
cssOverride: createPersistentState("uplink.ui.cssOverride", ""),
sidebarOpen: createPersistentState("uplink.ui.sidebarOpen", true),
sidebarOpen: createPersistentState("uplink.ui.sidebarOpen", !checkMobile()),
chats: createPersistentState("uplink.ui.chats", [], {
deserializer: (c: Chat[]) => {
// The typing indicator is read as an {}. Init it properly here
Expand Down

0 comments on commit 2f4d66f

Please sign in to comment.