Skip to content

Commit

Permalink
fix: use same haptics for notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
outaTiME committed Oct 23, 2024
1 parent 28dc75d commit b3a6e8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/client/components/AppContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ const ToastBottomTabBar = (props) => {
});
activityToast.feedback &&
Settings.HAPTICS_ENABLED &&
Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success);
Haptics.notificationAsync();
setTimeout(() => {
setActiveToast({
isVisible: false,
Expand Down
2 changes: 1 addition & 1 deletion packages/client/screens/SettingsScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const SettingsScreen = ({ headerHeight, tabBarheight, navigation }) => {
Clipboard.setStringAsync(
[installationId].concat(pushToken ?? []).join(),
).then(() => {
Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success);
Haptics.notificationAsync();
});
});

Expand Down

0 comments on commit b3a6e8c

Please sign in to comment.