focus: fix chat
The ring ID label behind was receiving click events instead of the chat field.
This fix moves the ring ID label to prevent interference with on-top ui,
and gives focus to the chat field automatically when uncollapsing the chat
view.
Issue: #78879
Change-Id: Ib46dd3054978f295d8b63c8f28a056533e027145
diff --git a/src/RingWindowController.mm b/src/RingWindowController.mm
index c96b3e9..c433aa4 100644
--- a/src/RingWindowController.mm
+++ b/src/RingWindowController.mm
@@ -72,7 +72,8 @@
PersonModel::instance()->addCollection<AddressBookBackend>(LoadOptions::FORCE_ENABLED);
- [callView addSubview:[self.currentVC view]];
+ [callView addSubview:[self.currentVC view] positioned:NSWindowAbove relativeTo:nil];
+
[currentVC initFrame];
// Update Ring ID label based on account model changes