Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ABW-1750] MFA: list and create securitystructures from settings #580

Merged
506 changes: 505 additions & 1 deletion App/BabylonWallet.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1430"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E6DF7A572A3739F00058DE15"
BuildableName = "SecurityStructureConfigurationListPreview.app"
BlueprintName = "SecurityStructureConfigurationListPreview"
ReferencedContainer = "container:BabylonWallet.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug-Dev"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug-Dev"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E6DF7A572A3739F00058DE15"
BuildableName = "SecurityStructureConfigurationListPreview.app"
BlueprintName = "SecurityStructureConfigurationListPreview"
ReferencedContainer = "container:BabylonWallet.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E6DF7A572A3739F00058DE15"
BuildableName = "SecurityStructureConfigurationListPreview.app"
BlueprintName = "SecurityStructureConfigurationListPreview"
ReferencedContainer = "container:BabylonWallet.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug-Dev">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ extension AddTrustedContactFactorSource: PreviewedFeature {
@main
struct AddTrustedContactPreviewApp: SwiftUI.App {
var body: some Scene {
FeaturesPreviewer<AddTrustedContactFactorSource>.scene {
FeaturesPreviewer<AddTrustedContactFactorSource>.delegateAction {
guard case let .done(trustedContactFS) = $0 else { return nil }
return trustedContactFS
} withReducer: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ extension AnswerSecurityQuestionsCoordinator.State.Purpose.AnswersResult: Encoda
@main
struct AnswerSecurityQuestionsApp_: SwiftUI.App {
var body: some Scene {
FeaturesPreviewer<AnswerSecurityQuestionsCoordinator>.scene {
FeaturesPreviewer<AnswerSecurityQuestionsCoordinator>.delegateAction {
guard case let .done(taskResult) = $0 else { return nil }
return taskResult
} withReducer: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ extension CreateSecurityStructureCoordinator: PreviewedFeature {
@main
struct CreateSecurityStructurePreviewApp: SwiftUI.App {
var body: some Scene {
FeaturesPreviewer<CreateSecurityStructureCoordinator>.scene {
FeaturesPreviewer<CreateSecurityStructureCoordinator>.delegateAction {
guard case let .done(secStructureConfig) = $0 else { return nil }
return secStructureConfig
} withReducer: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extension ImportMnemonic: PreviewedFeature {
@main
struct ImportMnemonicPreviewApp: SwiftUI.App {
var body: some Scene {
FeaturesPreviewer<ImportMnemonic>.scene {
FeaturesPreviewer<ImportMnemonic>.delegateAction {
guard case let .notSavedInProfile(mnemonic) = $0 else { return nil }
return .success(mnemonic)
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
CyonAlexRDX marked this conversation as resolved.
Show resolved Hide resolved
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"images" : [
{
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import SwiftUI

// MARK: - ContentView
struct ContentView: View {
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundColor(.accentColor)
Text("Hello, world!")
}
.padding()
}
}

// MARK: - ContentView_Previews
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading