mirror of
https://github.com/status-im/react-native-keychain.git
synced 2025-01-12 22:34:12 +00:00
Merge pull request #8 from status-im/fixed_desktop_args
Added missed args to setGenericPasswordForOptions (desktop)
This commit is contained in:
commit
ce6cec6222
@ -85,6 +85,7 @@ void RNKeychainManager::getGenericPasswordForOptions(QVariantList options,
|
||||
void RNKeychainManager::setGenericPasswordForOptions(QVariantList options,
|
||||
const QString &username,
|
||||
const QString &password,
|
||||
const QString& minSecLevel,
|
||||
const ModuleInterface::ListArgumentBlock &resolve,
|
||||
const ModuleInterface::ListArgumentBlock &reject) {
|
||||
Q_D(RNKeychainManager);
|
||||
@ -141,5 +142,3 @@ void RNKeychainManager::setUsername(const QString &username,
|
||||
|
||||
resolve(d->bridge, QVariantList{QVariant(true)});
|
||||
}
|
||||
|
||||
|
||||
|
@ -39,6 +39,7 @@ public:
|
||||
Q_INVOKABLE REACT_PROMISE void setGenericPasswordForOptions(QVariantList options,
|
||||
const QString& username,
|
||||
const QString& password,
|
||||
const QString& minSecLevel,
|
||||
const ModuleInterface::ListArgumentBlock& resolve,
|
||||
const ModuleInterface::ListArgumentBlock& reject);
|
||||
Q_INVOKABLE REACT_PROMISE void resetGenericPasswordForOptions(QVariantList options,
|
||||
|
Loading…
x
Reference in New Issue
Block a user