From fb29ce4e4335ef882a481e30be3f44e3a2e27e6a Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Thu, 1 Mar 2018 00:06:29 +0100 Subject: [PATCH] fix gdrive --- src/core/vfs/GoogleDriveHandler.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/vfs/GoogleDriveHandler.coffee b/src/core/vfs/GoogleDriveHandler.coffee index 52aa0bb..1550640 100644 --- a/src/core/vfs/GoogleDriveHandler.coffee +++ b/src/core/vfs/GoogleDriveHandler.coffee @@ -21,6 +21,8 @@ class GoogleDriveHandler extends this.OS.API.VFS.BaseFileHandler gapi.auth2.getAuthInstance().signIn() if _API.libready @setting.apilink + gapi.auth2.getAuthInstance().isSignedIn.listen (r) -> + fn(r) fn(gapi.auth2.getAuthInstance().isSignedIn.get()) else _API.require @setting.apilink, () ->