update RingID/registered name on account selection
The welcome page now reacts to account selection and updates the
displayed name/id or hide it in case a SIP account is selected.
Change-Id: I4b78550906169a6c9dca5ccf29111182c5bd7160
Reviewed-by: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
diff --git a/src/RingWindowController.mm b/src/RingWindowController.mm
index 7c3a180..e657fd3 100644
--- a/src/RingWindowController.mm
+++ b/src/RingWindowController.mm
@@ -356,6 +356,9 @@
[currentCallVC animateOut];
[offlineVC animateOut];
}
+
+ // Welcome view informations are also updated
+ [self updateRingID];
}
#pragma mark - NSToolbarDelegate