This commit is contained in:
Thomas Ricouard 2023-10-01 09:37:37 +02:00
parent 0b5e764556
commit d5896b95e9
2 changed files with 4 additions and 4 deletions

View file

@ -74,12 +74,12 @@ import SwiftUI
} }
} }
public var pendingShownAtBottom : Bool { public var pendingShownAtBottom: Bool {
didSet { didSet {
storage.pendingShownAtBottom = pendingShownAtBottom storage.pendingShownAtBottom = pendingShownAtBottom
} }
} }
public var isOpenAIEnabled: Bool { public var isOpenAIEnabled: Bool {
didSet { didSet {
storage.isOpenAIEnabled = isOpenAIEnabled storage.isOpenAIEnabled = isOpenAIEnabled

View file

@ -48,7 +48,7 @@ struct PendingStatusesObserverView: View {
.cornerRadius(8) .cornerRadius(8)
} }
.padding(12) .padding(12)
.frame(maxHeight: .infinity, alignment: preferences.pendingShownAtBottom ? .bottom : .top ) .frame(maxHeight: .infinity, alignment: preferences.pendingShownAtBottom ? .bottom : .top)
} }
} }
} }