Skip to content
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

Prevent the homescreen from resetting on every appearance. #5885

Merged
merged 1 commit into from
Mar 22, 2022

Conversation

stefanceriu
Copy link
Member

No description provided.

@stefanceriu stefanceriu marked this pull request as ready for review March 22, 2022 09:22
@stefanceriu stefanceriu requested review from a team and Anderas and removed request for a team March 22, 2022 09:22
@github-actions
Copy link

📱 Scan the QR code below to install the build for this PR.
🔒 This build is for internal testing purpose. Only devices listed in the ad-hoc provisioning profile can install Element Alpha.

QR code

If you can't scan the QR code you can install the build via this link: https://i.diawi.com/Hcn9qm

{
// Take the lead on the shared data source.
[recentsDataSource setDelegate:self andRecentsDataSourceMode:RecentsDataSourceModeHome];
}

[self moveAllCollectionsToLeft];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure I understand what the original purpose of calling moveAllCollectionsToLeft was 😕

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume at some point in time the homescreen didn't automatically reload everything on appear and this was required to reset your horizontal offsets as a "feature" so you don't lose unread messages or something ¯_(ツ)_/¯

@stefanceriu stefanceriu merged commit 99ca48f into develop Mar 22, 2022
@stefanceriu stefanceriu deleted the stefan/home-screen-reloads branch March 22, 2022 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants