Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion OnePasswordExtension.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define AppExtensionFieldsKey @"fields"
#define AppExtensionReturnedFieldsKey @"returned_fields"
#define AppExtensionOldPasswordKey @"old_password"
#define AppExtensionPasswordGereratorOptionsKey @"password_generator_options"
#define AppExtensionPasswordGeneratorOptionsKey @"password_generator_options"

// Password Generator options
#define AppExtensionGeneratedPasswordMinLengthKey @"password_min_length"
Expand Down
4 changes: 2 additions & 2 deletions OnePasswordExtension.m
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ - (void)storeLoginForURLString:(NSString *)URLString loginDetails:(NSDictionary
newLoginAttributesDict[AppExtensionURLStringKey] = URLString;
[newLoginAttributesDict addEntriesFromDictionary:loginDetailsDict];
if (passwordGenerationOptions.count > 0) {
newLoginAttributesDict[AppExtensionPasswordGereratorOptionsKey] = passwordGenerationOptions;
newLoginAttributesDict[AppExtensionPasswordGeneratorOptionsKey] = passwordGenerationOptions;
}

UIActivityViewController *activityViewController = [self activityViewControllerForItem:newLoginAttributesDict viewController:viewController sender:sender typeIdentifier:kUTTypeAppExtensionSaveLoginAction];
Expand Down Expand Up @@ -177,7 +177,7 @@ - (void)changePasswordForLoginForURLString:(NSString *)URLString loginDetails:(N
item[AppExtensionURLStringKey] = URLString;
[item addEntriesFromDictionary:loginDetailsDict];
if (passwordGenerationOptions.count > 0) {
item[AppExtensionPasswordGereratorOptionsKey] = passwordGenerationOptions;
item[AppExtensionPasswordGeneratorOptionsKey] = passwordGenerationOptions;
}

UIActivityViewController *activityViewController = [self activityViewControllerForItem:item viewController:viewController sender:sender typeIdentifier:kUTTypeAppExtensionChangePasswordAction];
Expand Down