also added a fix for the erroneous reply in thread action while in a thread, and also discovered that we can lead align the principal action again on iOS 26 (so it was a beta issue)
27 lines
753 B
Swift
27 lines
753 B
Swift
//
|
|
// Copyright 2022-2024 New Vector Ltd.
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
// Please see LICENSE files in the repository root for full details.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
enum ThreadTimelineScreenViewModelAction { }
|
|
|
|
struct ThreadTimelineScreenViewState: BindableState {
|
|
var roomTitle: String
|
|
var roomAvatar: RoomAvatar
|
|
var canSendMessage = true
|
|
var dmRecipientVerificationState: UserIdentityVerificationState?
|
|
|
|
var bindings = ThreadTimelineScreenViewStateBindings()
|
|
}
|
|
|
|
struct ThreadTimelineScreenViewStateBindings {
|
|
/// The view model used to present a QuickLook media preview.
|
|
var mediaPreviewViewModel: TimelineMediaPreviewViewModel?
|
|
}
|
|
|
|
enum ThreadTimelineScreenViewAction { }
|