mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Fix Compound Inspector and run SwiftFormat.
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// Please see LICENSE files in the repository root for full details.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
import Compound
|
||||
import SwiftUI
|
||||
|
||||
struct ActionSheetScreen: View {
|
||||
@State private var isPresentingConfirmationDialog = true
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// Please see LICENSE files in the repository root for full details.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
import Compound
|
||||
import SwiftUI
|
||||
|
||||
struct AlertScreen: View {
|
||||
@State private var isPresentingActionAlert = false
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// Please see LICENSE files in the repository root for full details.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
import Compound
|
||||
import SwiftUI
|
||||
|
||||
struct ContextMenuScreen: View {
|
||||
var body: some View {
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// Please see LICENSE files in the repository root for full details.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
import Compound
|
||||
import SwiftUI
|
||||
|
||||
struct NavigationBarScreen: View {
|
||||
enum TitleMode {
|
||||
@@ -42,16 +42,16 @@ struct NavigationBarScreen: View {
|
||||
Section {
|
||||
ListRow(label: .plain(title: "Title"),
|
||||
kind: .picker(selection: $titleMode, items: [
|
||||
(title: "Large", tag: .large),
|
||||
(title: "Inline", tag: .inline),
|
||||
(title: "Hidden", tag: .hidden)
|
||||
]))
|
||||
(title: "Large", tag: .large),
|
||||
(title: "Inline", tag: .inline),
|
||||
(title: "Hidden", tag: .hidden)
|
||||
]))
|
||||
ListRow(label: .plain(title: "Back Button"),
|
||||
kind: .picker(selection: $backButtonMode, items: [
|
||||
(title: "Navigation", tag: .navigation),
|
||||
(title: "Cancelation Action", tag: .cancellationAction),
|
||||
(title: "Hidden", tag: .hidden)
|
||||
]))
|
||||
(title: "Navigation", tag: .navigation),
|
||||
(title: "Cancelation Action", tag: .cancellationAction),
|
||||
(title: "Hidden", tag: .hidden)
|
||||
]))
|
||||
|
||||
ListRow(label: .plain(title: "Confirmation Action"),
|
||||
kind: .toggle($hasConfirmationAction))
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// Please see LICENSE files in the repository root for full details.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
import Compound
|
||||
import SwiftUI
|
||||
|
||||
struct ShareSheetScreen: View {
|
||||
var body: some View {
|
||||
|
||||
Reference in New Issue
Block a user