File tree Expand file tree Collapse file tree 2 files changed +9
-27
lines changed
android/src/main/java/com/reactcommunity/rndatetimepicker Expand file tree Collapse file tree 2 files changed +9
-27
lines changed Original file line number Diff line number Diff line change @@ -63,14 +63,14 @@ public static int getDefaultDialogButtonTextColor(@NonNull Context activity) {
63
63
TypedValue typedValue = new TypedValue ();
64
64
Resources .Theme theme = activity .getTheme ();
65
65
theme .resolveAttribute (android .R .attr .textColorPrimary , typedValue , true );
66
- @ ColorInt int colorId ;
67
- if (typedValue .resourceId != 0 ) {
68
- // Resolved to a color resource ID
69
- colorId = ContextCompat .getColor (activity , typedValue .resourceId );
70
- } else {
71
- // Resolved to a raw color value
72
- colorId = typedValue .data ;
73
- }
66
+ @ ColorInt int colorId ;
67
+ if (typedValue .resourceId != 0 ) {
68
+ // Resolved to a color resource ID
69
+ colorId = ContextCompat .getColor (activity , typedValue .resourceId );
70
+ } else {
71
+ // Resolved to a raw color value
72
+ colorId = typedValue .data ;
73
+ }
74
74
return colorId ;
75
75
}
76
76
Original file line number Diff line number Diff line change @@ -7067,16 +7067,7 @@ __metadata:
7067
7067
languageName: node
7068
7068
linkType: hard
7069
7069
7070
- "braces@npm:^3.0.2":
7071
- version: 3.0.3
7072
- resolution: "braces@npm:3.0.3"
7073
- dependencies:
7074
- fill-range: "npm:^7.1.1"
7075
- checksum: 10c0/7c6dfd30c338d2997ba77500539227b9d1f85e388a5f43220865201e407e076783d0881f2d297b9f80951b4c957fcf0b51c1d2d24227631643c3f7c284b0aa04
7076
- languageName: node
7077
- linkType: hard
7078
-
7079
- "braces@npm:~3.0.2":
7070
+ "braces@npm:^3.0.2, braces@npm:~3.0.2":
7080
7071
version: 3.0.3
7081
7072
resolution: "braces@npm:3.0.3"
7082
7073
dependencies:
@@ -10044,15 +10035,6 @@ __metadata:
10044
10035
languageName: node
10045
10036
linkType: hard
10046
10037
10047
- "fill-range@npm:^7.1.1":
10048
- version: 7.1.1
10049
- resolution: "fill-range@npm:7.1.1"
10050
- dependencies:
10051
- to-regex-range: "npm:^5.0.1"
10052
- checksum: 10c0/b75b691bbe065472f38824f694c2f7449d7f5004aa950426a2c28f0306c60db9b880c0b0e4ed819997ffb882d1da02cfcfc819bddc94d71627f5269682edf018
10053
- languageName: node
10054
- linkType: hard
10055
-
10056
10038
"finalhandler@npm:1.1.2":
10057
10039
version: 1.1.2
10058
10040
resolution: "finalhandler@npm:1.1.2"
You can’t perform that action at this time.
0 commit comments