diff --git a/app/src/main/java/gallery/memories/NativeX.kt b/app/src/main/java/gallery/memories/NativeX.kt index 13102cbf..1ca64913 100644 --- a/app/src/main/java/gallery/memories/NativeX.kt +++ b/app/src/main/java/gallery/memories/NativeX.kt @@ -106,6 +106,11 @@ import java.net.URLDecoder mAccountService.login(baseUrl, loginFlowUrl) } + @JavascriptInterface + fun logout() { + mAccountService.loggedOut() + } + @JavascriptInterface fun setThemeColor(color: String?, isDark: Boolean) { // Save for getting it back on next start