Fix #1110 Sync the file list on android.
This commit is contained in:
parent
16224b3c02
commit
66f52b8c41
1 changed files with 2 additions and 1 deletions
|
@ -91,7 +91,8 @@ function body(main) {
|
||||||
|
|
||||||
window.finishLogin = async function(accountInfo) {
|
window.finishLogin = async function(accountInfo) {
|
||||||
await state.user.finishLogin(accountInfo);
|
await state.user.finishLogin(accountInfo);
|
||||||
emitter.emit('render');
|
await state.user.syncFileList();
|
||||||
|
emitter.emit('replaceState', '/');
|
||||||
};
|
};
|
||||||
|
|
||||||
// for debugging
|
// for debugging
|
||||||
|
|
Loading…
Reference in a new issue