fix: async device interface keychain methods
This commit is contained in:
@@ -106,7 +106,7 @@ export class WebDeviceInterface extends DeviceInterface {
|
||||
if (!keychain) {
|
||||
keychain = {};
|
||||
}
|
||||
this.bridge.setKeychainValue({
|
||||
return this.bridge.setKeychainValue({
|
||||
...keychain,
|
||||
[identifier]: value
|
||||
});
|
||||
@@ -118,7 +118,7 @@ export class WebDeviceInterface extends DeviceInterface {
|
||||
return;
|
||||
}
|
||||
delete keychain[identifier];
|
||||
this.bridge.setKeychainValue(keychain);
|
||||
return this.bridge.setKeychainValue(keychain);
|
||||
}
|
||||
|
||||
getRawKeychainValue(): Promise<any> {
|
||||
|
||||
Reference in New Issue
Block a user