Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 6e8d021

Browse files
committed
Display notification handler only on desktop
1 parent 2cf347c commit 6e8d021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/component/notification.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const NotificationBar = ({ notification, display, style }) =>
5454
<Alert type={notification.type} style={barStyles.alert} />
5555
<Text style={barStyles.text}>{notification.message}</Text>
5656
</View>
57-
{notification.handler ? (
57+
{Platform.OS === 'web' && notification.handler ? (
5858
<SmallPillButton
5959
text={notification.handlerLbl}
6060
onPress={notification.handler}

0 commit comments

Comments
 (0)