mirror of https://github.com/openclaw/openclaw.git
perf(android): make gateway token writes async
This commit is contained in:
parent
8d68199793
commit
4a07c89816
|
|
@ -153,7 +153,7 @@ class SecurePrefs(context: Context) {
|
|||
|
||||
fun setGatewayToken(value: String) {
|
||||
val trimmed = value.trim()
|
||||
prefs.edit(commit = true) { putString("gateway.manual.token", trimmed) }
|
||||
prefs.edit { putString("gateway.manual.token", trimmed) }
|
||||
_gatewayToken.value = trimmed
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue