Improve desktop UX (#4262)
* wip * wip * wip * wip * wip * wip * Merge * wip * wip * wip * wip * wip * wip
This commit is contained in:
parent
38ca514f53
commit
53422ffcb2
60 changed files with 1132 additions and 1222 deletions
|
|
@ -10,7 +10,6 @@ const defaultSettings = {
|
|||
home: null,
|
||||
mobileHome: [],
|
||||
deck: null,
|
||||
deckNav: true,
|
||||
keepCw: false,
|
||||
tagTimelines: [],
|
||||
fetchOnScroll: true,
|
||||
|
|
@ -67,8 +66,7 @@ const defaultDeviceSettings = {
|
|||
deckColumnAlign: 'center',
|
||||
deckColumnWidth: 'normal',
|
||||
mobileNotificationPosition: 'bottom',
|
||||
deckTemporaryColumn: null,
|
||||
deckDefault: false,
|
||||
deckMode: false,
|
||||
useOsDefaultEmojis: false,
|
||||
disableShowingAnimatedImages: false
|
||||
};
|
||||
|
|
@ -82,7 +80,6 @@ export default (os: MiOS) => new Vuex.Store({
|
|||
i: null,
|
||||
indicate: false,
|
||||
uiHeaderHeight: 0,
|
||||
navHook: null,
|
||||
behindNotes: []
|
||||
},
|
||||
|
||||
|
|
@ -107,10 +104,6 @@ export default (os: MiOS) => new Vuex.Store({
|
|||
state.uiHeaderHeight = height;
|
||||
},
|
||||
|
||||
navHook(state, callback) {
|
||||
state.navHook = callback;
|
||||
},
|
||||
|
||||
pushBehindNote(state, note) {
|
||||
if (note.userId === state.i.id) return;
|
||||
if (state.behindNotes.some(n => n.id === note.id)) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue