This repository has been archived by the owner on May 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
88 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/node_modules/react-native-date-picker/android/src/main/java/com/henninghall/date_picker/DatePickerModule.java b/node_modules/react-native-date-picker/android/src/main/java/com/henninghall/date_picker/DatePickerModule.java | ||
index 7bf5f34..533c037 100644 | ||
--- a/node_modules/react-native-date-picker/android/src/main/java/com/henninghall/date_picker/DatePickerModule.java | ||
+++ b/node_modules/react-native-date-picker/android/src/main/java/com/henninghall/date_picker/DatePickerModule.java | ||
@@ -21,6 +21,12 @@ public class DatePickerModule extends ReactContextBaseJavaModule { | ||
|
||
private AlertDialog dialog; | ||
|
||
+ @Override | ||
+ public boolean canOverrideExistingModule() { | ||
+ return true; | ||
+ } | ||
+ | ||
+ | ||
DatePickerModule(ReactApplicationContext context) { | ||
super(context); | ||
ApplicationStarter.initialize(context, false); // false = no need to prefetch on time data background tread |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters