From f3b89094c5f0bbce82899416356aab1d08100376 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sat, 25 Jan 2025 18:54:03 +0200 Subject: Implemented client-side ban reason view in banlist --- internal/client/ui/ui.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'internal/client/ui/ui.go') diff --git a/internal/client/ui/ui.go b/internal/client/ui/ui.go index 746fdd5..02fb757 100644 --- a/internal/client/ui/ui.go +++ b/internal/client/ui/ui.go @@ -52,9 +52,14 @@ func Transition(model tea.Model) tea.Cmd { type QuitMsg struct{} -type BanPopupMsg struct { +type BanViewPopupmsg struct { Network snowflake.ID - User snowflake.ID + User snowflake.ID +} + +type BanReasonPopupMsg struct { + Network snowflake.ID + User snowflake.ID } func AddBorderHeader(header string, headerOffset int, style lipgloss.Style, render string) string { -- cgit v1.3.1