feat: enable single column layout by default

This commit is contained in:
codytseng
2025-10-26 16:13:26 +08:00
parent ad6b8890c5
commit d31cda7448

View File

@@ -51,7 +51,7 @@ class LocalStorageService {
private shownCreateWalletGuideToastPubkeys: Set<string> = new Set()
private sidebarCollapse: boolean = false
private primaryColor: TPrimaryColor = 'DEFAULT'
private enableSingleColumnLayout: boolean = false
private enableSingleColumnLayout: boolean = true
constructor() {
if (!LocalStorageService.instance) {
@@ -203,7 +203,7 @@ class LocalStorageService {
(window.localStorage.getItem(StorageKey.PRIMARY_COLOR) as TPrimaryColor) ?? 'DEFAULT'
this.enableSingleColumnLayout =
window.localStorage.getItem(StorageKey.ENABLE_SINGLE_COLUMN_LAYOUT) === 'true'
window.localStorage.getItem(StorageKey.ENABLE_SINGLE_COLUMN_LAYOUT) !== 'false'
// Clean up deprecated data
window.localStorage.removeItem(StorageKey.ACCOUNT_PROFILE_EVENT_MAP)