-
Notifications
You must be signed in to change notification settings - Fork 162
Minor tweaks to RCTDevSettings #696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -103,6 +103,13 @@ - (id)settingForKey:(NSString *)key | |
| return _settings[key]; | ||
| } | ||
|
|
||
| // [TODO(macOS ISS#2323203) | ||
| - (NSArray<NSString *> *)overridenKeys | ||
| { | ||
| return [_settings allKeys]; | ||
| } | ||
| // ]TODO(macOS ISS#2323203) | ||
|
|
||
| - (void)_reloadWithDefaults:(NSDictionary *)defaultValues | ||
| { | ||
| NSDictionary *existingSettings = [_userDefaults objectForKey:kRCTDevSettingsUserDefaultsKey]; | ||
|
|
@@ -502,6 +509,8 @@ @interface RCTDevSettings () <NativeDevSettingsSpec> | |
|
|
||
| @implementation RCTDevSettings | ||
|
|
||
| RCT_EXPORT_MODULE() // TODO(macOS ISS#2323203) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This being missing seems a merge failure when I pulled in code from upstream, as it exists there. In that case the comment isn’t necessary.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ah, I see. I'll remove this if I touch this file in the near future. |
||
|
|
||
| - (instancetype)initWithDataSource:(id<RCTDevSettingsDataSource>)dataSource | ||
| { | ||
| return [super init]; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.