Skip to content

Commit

Permalink
chore: use RNC prefix for android modules (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
itsramiel authored Jul 19, 2023
1 parent fa83c64 commit 2c49c2e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
public class DatePickerModule extends NativeModuleDatePickerSpec {

@VisibleForTesting
public static final String NAME = "RNDatePicker";
public static final String NAME = "RNCDatePicker";

public DatePickerModule(ReactApplicationContext reactContext) {
super(reactContext);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
public class TimePickerModule extends NativeModuleTimePickerSpec {

@VisibleForTesting
public static final String NAME = "RNTimePicker";
public static final String NAME = "RNCTimePicker";

public TimePickerModule(ReactApplicationContext reactContext) {
super(reactContext);
Expand Down
2 changes: 1 addition & 1 deletion src/specs/NativeModuleDatePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ export interface Spec extends TurboModule {
open(params: OpenParams): Promise<DateTimePickerResult>;
}

export default (TurboModuleRegistry.getEnforcing<Spec>('RNDatePicker'): ?Spec);
export default (TurboModuleRegistry.getEnforcing<Spec>('RNCDatePicker'): ?Spec);
2 changes: 1 addition & 1 deletion src/specs/NativeModuleTimePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ export interface Spec extends TurboModule {
open(params: OpenParams): Promise<DateTimePickerResult>;
}

export default (TurboModuleRegistry.getEnforcing<Spec>('RNTimePicker'): ?Spec);
export default (TurboModuleRegistry.getEnforcing<Spec>('RNCTimePicker'): ?Spec);

0 comments on commit 2c49c2e

Please sign in to comment.