Skip to content

Commit

Permalink
merge: pull request #1035 from DeclanChidlow/server-leave-mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
insertish authored Oct 16, 2024
2 parents 00e6ead + 5e66bc8 commit 86e8424
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/controllers/modals/components/ServerInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@ export default function ServerInfo({
children: "Edit Identity",
palette: "primary",
},
{
onClick: () => {
modalController.push({
type: "leave_server",
target: server,
});
return true;
},
children: "Leave Server",
palette: "error",
},
{
onClick: () => {
modalController.push({
Expand Down

0 comments on commit 86e8424

Please sign in to comment.