Skip to content

Commit

Permalink
Merge pull request #4169 from tloncorp/lb/chan-leave
Browse files Browse the repository at this point in the history
native: don't leave group when leaving channel
  • Loading branch information
latter-bolden authored Nov 12, 2024
2 parents e05825e + 07607a7 commit ea6df0b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/ui/src/components/ChatOptionsSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,6 @@ export function ChannelOptions({
style: 'destructive',
onPress: () => {
onOpenChange(false);
onPressLeave?.();
if (
channel.type === 'dm' ||
channel.type === 'groupDm'
Expand Down Expand Up @@ -785,7 +784,6 @@ export function ChannelOptions({
onPressChannelMembers,
onPressManageChannels,
onPressInvite,
onPressLeave,
title,
onOpenChange,
]);
Expand Down

0 comments on commit ea6df0b

Please sign in to comment.