From f529d265b70e81439460606873c71bd234e068ac Mon Sep 17 00:00:00 2001 From: Vojtech Novak Date: Tue, 9 Jul 2024 16:44:24 +0200 Subject: [PATCH] chore: update lockfile --- .../rndatetimepicker/Common.java | 16 +++++++-------- yarn.lock | 20 +------------------ 2 files changed, 9 insertions(+), 27 deletions(-) diff --git a/android/src/main/java/com/reactcommunity/rndatetimepicker/Common.java b/android/src/main/java/com/reactcommunity/rndatetimepicker/Common.java index 5980b17d..0bfc4c21 100644 --- a/android/src/main/java/com/reactcommunity/rndatetimepicker/Common.java +++ b/android/src/main/java/com/reactcommunity/rndatetimepicker/Common.java @@ -63,14 +63,14 @@ public static int getDefaultDialogButtonTextColor(@NonNull Context activity) { TypedValue typedValue = new TypedValue(); Resources.Theme theme = activity.getTheme(); theme.resolveAttribute(android.R.attr.textColorPrimary, typedValue, true); - @ColorInt int colorId; - if (typedValue.resourceId != 0) { - // Resolved to a color resource ID - colorId = ContextCompat.getColor(activity, typedValue.resourceId); - } else { - // Resolved to a raw color value - colorId = typedValue.data; - } + @ColorInt int colorId; + if (typedValue.resourceId != 0) { + // Resolved to a color resource ID + colorId = ContextCompat.getColor(activity, typedValue.resourceId); + } else { + // Resolved to a raw color value + colorId = typedValue.data; + } return colorId; } diff --git a/yarn.lock b/yarn.lock index d58379f9..54c05abb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7067,16 +7067,7 @@ __metadata: languageName: node linkType: hard -"braces@npm:^3.0.2": - version: 3.0.3 - resolution: "braces@npm:3.0.3" - dependencies: - fill-range: "npm:^7.1.1" - checksum: 10c0/7c6dfd30c338d2997ba77500539227b9d1f85e388a5f43220865201e407e076783d0881f2d297b9f80951b4c957fcf0b51c1d2d24227631643c3f7c284b0aa04 - languageName: node - linkType: hard - -"braces@npm:~3.0.2": +"braces@npm:^3.0.2, braces@npm:~3.0.2": version: 3.0.3 resolution: "braces@npm:3.0.3" dependencies: @@ -10044,15 +10035,6 @@ __metadata: languageName: node linkType: hard -"fill-range@npm:^7.1.1": - version: 7.1.1 - resolution: "fill-range@npm:7.1.1" - dependencies: - to-regex-range: "npm:^5.0.1" - checksum: 10c0/b75b691bbe065472f38824f694c2f7449d7f5004aa950426a2c28f0306c60db9b880c0b0e4ed819997ffb882d1da02cfcfc819bddc94d71627f5269682edf018 - languageName: node - linkType: hard - "finalhandler@npm:1.1.2": version: 1.1.2 resolution: "finalhandler@npm:1.1.2"