feat: enable single column layout by default
This commit is contained in:
@@ -51,7 +51,7 @@ class LocalStorageService {
|
|||||||
private shownCreateWalletGuideToastPubkeys: Set<string> = new Set()
|
private shownCreateWalletGuideToastPubkeys: Set<string> = new Set()
|
||||||
private sidebarCollapse: boolean = false
|
private sidebarCollapse: boolean = false
|
||||||
private primaryColor: TPrimaryColor = 'DEFAULT'
|
private primaryColor: TPrimaryColor = 'DEFAULT'
|
||||||
private enableSingleColumnLayout: boolean = false
|
private enableSingleColumnLayout: boolean = true
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
if (!LocalStorageService.instance) {
|
if (!LocalStorageService.instance) {
|
||||||
@@ -203,7 +203,7 @@ class LocalStorageService {
|
|||||||
(window.localStorage.getItem(StorageKey.PRIMARY_COLOR) as TPrimaryColor) ?? 'DEFAULT'
|
(window.localStorage.getItem(StorageKey.PRIMARY_COLOR) as TPrimaryColor) ?? 'DEFAULT'
|
||||||
|
|
||||||
this.enableSingleColumnLayout =
|
this.enableSingleColumnLayout =
|
||||||
window.localStorage.getItem(StorageKey.ENABLE_SINGLE_COLUMN_LAYOUT) === 'true'
|
window.localStorage.getItem(StorageKey.ENABLE_SINGLE_COLUMN_LAYOUT) !== 'false'
|
||||||
|
|
||||||
// Clean up deprecated data
|
// Clean up deprecated data
|
||||||
window.localStorage.removeItem(StorageKey.ACCOUNT_PROFILE_EVENT_MAP)
|
window.localStorage.removeItem(StorageKey.ACCOUNT_PROFILE_EVENT_MAP)
|
||||||
|
|||||||
Reference in New Issue
Block a user