chore: cleaning up some code

This commit is contained in:
Alex Yong 2025-08-06 20:40:33 +00:00
parent 7ffd14e731
commit e2fe8b229d
1 changed files with 0 additions and 3 deletions

View File

@ -227,7 +227,6 @@ fun ChannelSideDrawer(
val clipboardManager = LocalClipboardManager.current
val context = LocalContext.current
// Leave server confirmation dialog
showLeaveConfirmation?.let { serverId ->
val server = RevoltAPI.serverCache[serverId]
AlertDialog(
@ -304,7 +303,6 @@ fun ChannelSideDrawer(
)
}
// Report server dialog
showReportServerDialog?.let { serverId ->
ReportServerDialog(
onDismiss = {
@ -332,7 +330,6 @@ fun ChannelSideDrawer(
)
}
} else {
// No channels available, dismiss
showInviteDialog = null
serverContextMenuTarget = null
}