mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
implemented the display logic for the formatted date
This commit is contained in:
@@ -142,12 +142,17 @@ struct TimelineViewState: BindableState {
|
||||
|
||||
var enableKeyShareOnInvite: Bool
|
||||
|
||||
var floatingTimelineDateEnabled: Bool
|
||||
|
||||
var bindings: TimelineViewStateBindings
|
||||
}
|
||||
|
||||
struct TimelineViewStateBindings {
|
||||
var isScrolledToBottom = true
|
||||
|
||||
/// The formatted date text for the floating date badge shown while scrolling.
|
||||
var floatingDateText: String?
|
||||
|
||||
/// The state of wether reactions listed on the timeline are expanded/collapsed.
|
||||
/// Key is itemID, value is the collapsed state.
|
||||
var reactionsCollapsed: [TimelineItemIdentifier: Bool]
|
||||
|
||||
Reference in New Issue
Block a user