Skip to content

Commit b3245ed

Browse files
committed
Bugfixes after an actual test
1 parent bbf03b7 commit b3245ed

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

cmd/streampanel/FyneApp.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ Website = "https://github.com/xaionaro/streamctl"
55
Name = "streampanel"
66
ID = "center.dx.streampanel"
77
Version = "0.1.0"
8-
Build = 412
8+
Build = 416

pkg/streampanel/chat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
)
1818

1919
const (
20-
ChatLogSize = 50
20+
ChatLogSize = 20
2121
)
2222

2323
type chatUIInterface interface {

pkg/streampanel/chat_as_text.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ func (ui *chatUIAsText) init(
9797
nil,
9898
ui.Text,
9999
)
100+
observability.Go(ctx, func() {
101+
ui.Rebuild(ctx)
102+
})
100103
ui.Panel.addChatUI(ctx, ui)
101104
return nil
102105
}

0 commit comments

Comments
 (0)