Skip to content

Commit f18e6d4

Browse files
fix(android): set style explicitly using package name
1 parent 02fbe05 commit f18e6d4

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

android/src/main/java/com/reactnativeloaderkit/LoaderKitViewManager.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ public String getName() {
2121

2222
@Override
2323
public AVLoadingIndicatorView createViewInstance(ThemedReactContext context) {
24-
AVLoadingIndicatorView avi = new AVLoadingIndicatorView(context, null, R.style.AVLoadingIndicatorView);
25-
return avi;
24+
return new AVLoadingIndicatorView(context, null, com.wang.avi.R.style.AVLoadingIndicatorView);
2625
}
2726

2827
@ReactProp(name = "name")

example/ios/Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ PODS:
188188
- React-cxxreact (= 0.63.4)
189189
- React-jsi (= 0.63.4)
190190
- React-jsinspector (0.63.4)
191-
- react-native-loader-kit (0.1.0):
191+
- react-native-loader-kit (2.0.5):
192192
- NVActivityIndicatorView (= 5.1.1)
193193
- React-Core
194194
- React-RCTActionSheet (0.63.4):
@@ -363,7 +363,7 @@ SPEC CHECKSUMS:
363363
React-jsi: a0418934cf48f25b485631deb27c64dc40fb4c31
364364
React-jsiexecutor: 93bd528844ad21dc07aab1c67cb10abae6df6949
365365
React-jsinspector: 58aef7155bc9a9683f5b60b35eccea8722a4f53a
366-
react-native-loader-kit: 555f24bb29316726e4a98d89259714f78a63e2a1
366+
react-native-loader-kit: 3e4968ec2d1ee946333d861d4e8e35d0941a0661
367367
React-RCTActionSheet: 89a0ca9f4a06c1f93c26067af074ccdce0f40336
368368
React-RCTAnimation: 1bde3ecc0c104c55df246eda516e0deb03c4e49b
369369
React-RCTBlob: a97d378b527740cc667e03ebfa183a75231ab0f0
@@ -378,4 +378,4 @@ SPEC CHECKSUMS:
378378

379379
PODFILE CHECKSUM: 1af7c67cd86589c81d47e1273cd39529d48a1b94
380380

381-
COCOAPODS: 1.11.2
381+
COCOAPODS: 1.14.3

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-loader-kit",
3-
"version": "2.0.5",
3+
"version": "2.0.7",
44
"description": "✳️Purely native loader indicators for React Native✳️",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

0 commit comments

Comments
 (0)