Closed jpamarohorta closed 5 years ago
Is there any implementation reason for getSafeAreaInsetsForRootView to return a promise?
getSafeAreaInsetsForRootView
I would like to use the safe area insets to set some style variables but with this method being async, that gets more difficult.
EDIT: Just checked, the native RNSafeArea getSafeAreaInsetsForRootView method returns a promise so nothing can be done. Closing this issue then.
RNSafeArea
Is there any implementation reason for
getSafeAreaInsetsForRootView
to return a promise?I would like to use the safe area insets to set some style variables but with this method being async, that gets more difficult.
EDIT: Just checked, the native
RNSafeArea
getSafeAreaInsetsForRootView
method returns a promise so nothing can be done. Closing this issue then.