You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to return after rejecting the promise like you do in many other places.
Actually there are 3 or 4 places in the code where the return is missing after the reject I think.
Thanks a lot!
react-native-system-navigation-bar version
2.6.3
React Native version
0.72.5
Snack, code example, screenshot, or link to a repository
No response
The text was updated successfully, but these errors were encountered:
A PR has been opened for this issue. For this reason, I published it with a new version. I am closing this issue. If the problem persists, feel free to reopen it.
Description
In com.reactnativesystemnavigationbar.SystemNavigationBarModule in setModeStyle at line 472
I think it's because you are rejecting the promise but still moving on with the code here:
https://github.com/kadiraydinli/react-native-system-navigation-bar/blob/master/android/src/main/java/com/reactnativesystemnavigationbar/SystemNavigationBarModule.java#L519
You need to
return
after rejecting the promise like you do in many other places.Actually there are 3 or 4 places in the code where the
return
is missing after the reject I think.Thanks a lot!
react-native-system-navigation-bar version
2.6.3
React Native version
0.72.5
Snack, code example, screenshot, or link to a repository
No response
The text was updated successfully, but these errors were encountered: