Add nx for logout
parent
e1b58ae6fb
commit
8aba3e7e81
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue