mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-17 19:20:39 +09:00
Disable inbox nesting on mobile
This commit is contained in:
parent
9e8cd28f81
commit
996c7eb727
3 changed files with 24 additions and 2 deletions
|
|
@ -169,6 +169,10 @@ export function saveInboxNesting(enabled: boolean) {
|
|||
}
|
||||
}
|
||||
|
||||
export function resolveInboxNestingEnabled(preferenceEnabled: boolean, isMobile: boolean): boolean {
|
||||
return preferenceEnabled && !isMobile;
|
||||
}
|
||||
|
||||
export function loadLastInboxTab(): InboxTab {
|
||||
try {
|
||||
const raw = localStorage.getItem(INBOX_LAST_TAB_KEY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue