Added missed argument

This commit is contained in:
Volodymyr Kozieiev 2019-02-04 16:51:54 +02:00
parent 33eb25baf3
commit 5a90aaea9d
No known key found for this signature in database
GPG Key ID: 1F706640AAF07516
2 changed files with 2 additions and 2 deletions

View File

@ -85,6 +85,7 @@ void RNKeychainManager::getGenericPasswordForOptions(QVariantList options,
void RNKeychainManager::setGenericPasswordForOptions(QVariantList options,
const QString &username,
const QString &password,
const QString &minimalSecurityLevel,
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)});
}

View File

@ -39,6 +39,7 @@ public:
Q_INVOKABLE REACT_PROMISE void setGenericPasswordForOptions(QVariantList options,
const QString& username,
const QString& password,
const QString &minimalSecurityLevel,
const ModuleInterface::ListArgumentBlock& resolve,
const ModuleInterface::ListArgumentBlock& reject);
Q_INVOKABLE REACT_PROMISE void resetGenericPasswordForOptions(QVariantList options,