Skip to content

Commit f43ad38

Browse files
Merge pull request #9 from logicwind/dev
Dev -> Main
2 parents 4b02c49 + 603644b commit f43ad38

File tree

6 files changed

+13170
-18914
lines changed

6 files changed

+13170
-18914
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.2.2
2+
3+
- Replace currentActivity reference with getCurrentActivity()
4+
15
## 0.2.1
26

37
- Updated UTM source in README.md file

android/src/main/java/com/logicwind/reactnativestatusbarheight/ReactNativeStatusBarHeightModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ReactNativeStatusBarHeightModule(reactContext: ReactApplicationContext) :
1616
override fun getConstants(): Map<String, Any> {
1717
val constants = mutableMapOf<String, Any>()
1818

19-
val activity: Activity? = currentActivity
19+
val activity: Activity? = getCurrentActivity()
2020
var bottomInset = 0
2121

2222
if (activity != null) {

lefthook.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)