chore: cleaning up some code
This commit is contained in:
parent
7ffd14e731
commit
e2fe8b229d
|
|
@ -227,7 +227,6 @@ fun ChannelSideDrawer(
|
||||||
val clipboardManager = LocalClipboardManager.current
|
val clipboardManager = LocalClipboardManager.current
|
||||||
val context = LocalContext.current
|
val context = LocalContext.current
|
||||||
|
|
||||||
// Leave server confirmation dialog
|
|
||||||
showLeaveConfirmation?.let { serverId ->
|
showLeaveConfirmation?.let { serverId ->
|
||||||
val server = RevoltAPI.serverCache[serverId]
|
val server = RevoltAPI.serverCache[serverId]
|
||||||
AlertDialog(
|
AlertDialog(
|
||||||
|
|
@ -304,7 +303,6 @@ fun ChannelSideDrawer(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Report server dialog
|
|
||||||
showReportServerDialog?.let { serverId ->
|
showReportServerDialog?.let { serverId ->
|
||||||
ReportServerDialog(
|
ReportServerDialog(
|
||||||
onDismiss = {
|
onDismiss = {
|
||||||
|
|
@ -332,7 +330,6 @@ fun ChannelSideDrawer(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// No channels available, dismiss
|
|
||||||
showInviteDialog = null
|
showInviteDialog = null
|
||||||
serverContextMenuTarget = null
|
serverContextMenuTarget = null
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue