Skip to content

Commit 83403c5

Browse files
authored
Refactor nativescript.aar conditional check
Updated the conditional check for nativescript.aar to clarify the alternative for widget-release.aar.
1 parent ae0c415 commit 83403c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/image/platforms/android/include.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ dependencies {
3333
}
3434

3535
// if ui-mobile-base is provided as source the name is nativescript.aar
36-
if (file("$widgetsDir/nativescript.aar").exists()) {
36+
//else use widget-release.aar
37+
if (file("$widgetsDir/nativescript.aar").exists()) {
3738
implementation(name:'nativescript', ext:'aar')
3839
}
39-
// if ui-mobile-base is provided as aar the name is widget-release.aar
4040
if (file("$widgetsDir/widget-release.aar").exists()) {
4141
implementation(name:'widget-release', ext:'aar')
4242
}

0 commit comments

Comments
 (0)