mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-01 14:28:49 +01:00
This commit is contained in:
parent
748784554a
commit
3685753c75
1 changed files with 2 additions and 2 deletions
|
|
@ -16,9 +16,9 @@ export const fetchNewDailyNote = (app: App, notebook: string) => {
|
|||
app: Constants.SIYUAN_APPID,
|
||||
}, (response) => {
|
||||
/// #if MOBILE
|
||||
openMobileFileById(app, response.data.id);
|
||||
openMobileFileById(app, response.data.id, [Constants.CB_GET_SCROLL, Constants.CB_GET_FOCUS]);
|
||||
/// #else
|
||||
openFileById({app, id: response.data.id, action: [Constants.CB_GET_FOCUS]});
|
||||
openFileById({app, id: response.data.id, action: [Constants.CB_GET_SCROLL, Constants.CB_GET_FOCUS]});
|
||||
/// #endif
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue