Skip to content
Snippets Groups Projects
Commit b0db48e5 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

UI: remove account flow

When all account removed show create account screen

Change-Id: I9fcc83f00275b67cd66a2abe5be819b73f9aeb73
parent e8d06573
No related branches found
No related tags found
No related merge requests found
......@@ -338,6 +338,7 @@ static void ReachabilityCallback(SCNetworkReachabilityRef __unused target, SCNet
self.ringWindowController = [[RingWindowController alloc] initWithWindowNibName:@"RingWindow" bundle: nil accountModel:&lrc->getAccountModel() dataTransferModel:&lrc->getDataTransferModel() behaviourController:&lrc->getBehaviorController() avModel: &lrc->getAVModel()];
}
[[NSApplication sharedApplication] removeWindowsItem:self.wizard.window];
self.wizard = nil;
[self.ringWindowController.window makeKeyAndOrderFront:self];
}
......
......@@ -498,6 +498,12 @@ typedef NS_ENUM(NSInteger, ViewState) {
[smartViewVC clearConversationModel];
[self changeViewTo:SHOW_WELCOME_SCREEN];
[self updateRingID];
qrcodeView.animator.alphaValue = 0.0;
[centerYQRCodeConstraint.animator setConstant: 0];
[centerYWelcomeContainerConstraint.animator setConstant: 0];
[self close];
AppDelegate* delegate = (AppDelegate*)[[NSApplication sharedApplication] delegate];
[delegate showWizard];
}
-(void)rightPanelClosed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment