aboutsummaryrefslogtreecommitdiff
path: root/ui/view-main.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/view-main.go')
-rw-r--r--ui/view-main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/view-main.go b/ui/view-main.go
index e38756f..b2f4ff0 100644
--- a/ui/view-main.go
+++ b/ui/view-main.go
@@ -169,6 +169,12 @@ func (view *MainView) ShowBare(roomView *RoomView) {
})
}
+func (view *MainView) OpenSyncingModal() ifc.SyncingModal {
+ component, modal := NewSyncingModal(view)
+ view.ShowModal(component)
+ return modal
+}
+
func (view *MainView) OnKeyEvent(event mauview.KeyEvent) bool {
view.BumpFocus(view.currentRoom)