Skip to content

Commit 670ac28

Browse files
committed
sharing: Switch to 'react-navigation-tabs' for creating tab bars.
Since the RN 0.60 upgrade, using `createMaterialTopTabNavigator` exported by 'react-navigation' causes an error - that 'ViewPagerAndroid has been removed from React Native'. Switching to the one exported by 'react-navigation-tabs' fixes this.
1 parent 715a2e7 commit 670ac28

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/sharing/SharingScreen.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,12 @@ class SharingScreen extends PureComponent<Props> {
7171
}
7272

7373
return (
74-
<Screen canGoBack={false} title="Share on Zulip" shouldShowLoadingBanner={false}>
74+
<Screen
75+
canGoBack={false}
76+
title="Share on Zulip"
77+
shouldShowLoadingBanner={false}
78+
keyboardShouldPersistTaps="always"
79+
>
7580
<SharingTopTabNavigator navigation={navigation} />
7681
</Screen>
7782
);

0 commit comments

Comments
 (0)