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) {
6363 TypedValue typedValue = new TypedValue ();
6464 Resources .Theme theme = activity .getTheme ();
6565 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+ }
7474 return colorId ;
7575 }
7676
Original file line number Diff line number Diff line change @@ -7067,16 +7067,7 @@ __metadata:
70677067 languageName: node
70687068 linkType: hard
70697069
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":
70807071 version: 3.0.3
70817072 resolution: "braces@npm:3.0.3"
70827073 dependencies:
@@ -10044,15 +10035,6 @@ __metadata:
1004410035 languageName: node
1004510036 linkType: hard
1004610037
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-
1005610038"finalhandler@npm:1.1.2":
1005710039 version: 1.1.2
1005810040 resolution: "finalhandler@npm:1.1.2"
You can’t perform that action at this time.
0 commit comments