File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 18
18
19
19
import DesignSystem
20
20
import InfomaniakCoreSwiftUI
21
+ import InfomaniakDI
21
22
import InterAppLogin
22
23
import MailCore
23
24
import MailCoreUI
@@ -26,6 +27,8 @@ import SwiftModalPresentation
26
27
import SwiftUI
27
28
28
29
struct OnboardingBottomButtonsView : View {
30
+ @InjectService private var accountManager : AccountManager
31
+
29
32
@EnvironmentObject private var navigationState : RootViewState
30
33
31
34
@ModalState ( context: ContextKeys . onboarding) private var isPresentingCreateAccount = false
@@ -42,7 +45,7 @@ struct OnboardingBottomButtonsView: View {
42
45
43
46
var body : some View {
44
47
VStack ( spacing: IKPadding . mini) {
45
- ContinueWithAccountView ( isLoading: loginHandler. isLoading) {
48
+ ContinueWithAccountView ( isLoading: loginHandler. isLoading, excludingUserIds : accountManager . accountIds ) {
46
49
Task { @MainActor in
47
50
// We have to wait for closing animation before opening the login WebView modally
48
51
try ? await Task . sleep ( nanoseconds: 500_000_000 )
You can’t perform that action at this time.
0 commit comments