-
Notifications
You must be signed in to change notification settings - Fork 160
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
Timeline related improvements #3487
Conversation
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3487 +/- ##
========================================
Coverage 82.67% 82.67%
========================================
Files 1731 1731
Lines 40834 40834
Branches 4967 4967
========================================
Hits 33760 33760
Misses 5312 5312
Partials 1762 1762 ☔ View full report in Codecov by Sentry. |
Does this close #3454 ? |
I guess! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes work fine, thanks! I just left a comment, feel free to ignore it.
@@ -81,6 +82,7 @@ class TimelinePresenter @AssistedInject constructor( | |||
computeReactions = true, | |||
) | |||
) | |||
private val timelineItems = mutableStateOf<ImmutableList<TimelineItem>>(persistentListOf()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can probably use private var timelineItems by
and it should work, and you won't need the var timelineItems by this.timelineItems
line below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes you're right, I don't know why on my mind it was only possible inside Composable
😅
b2ffba9
to
1242316
Compare
Quality Gate passedIssues Measures |
Content
Two changes in this PR, related to timeline :
Motivation and context
Closes #3454
Screenshots / GIFs
Tests
Tested devices
Checklist