Add nx for logout

pull/653/merge
Varun Patil 2023-05-18 00:00:44 -07:00
parent e1b58ae6fb
commit 8aba3e7e81
1 changed files with 5 additions and 0 deletions

View File

@ -106,6 +106,11 @@ import java.net.URLDecoder
mAccountService.login(baseUrl, loginFlowUrl) mAccountService.login(baseUrl, loginFlowUrl)
} }
@JavascriptInterface
fun logout() {
mAccountService.loggedOut()
}
@JavascriptInterface @JavascriptInterface
fun setThemeColor(color: String?, isDark: Boolean) { fun setThemeColor(color: String?, isDark: Boolean) {
// Save for getting it back on next start // Save for getting it back on next start