Skip to content

Commit

Permalink
fixed issue where feed shows following content rather than selected l…
Browse files Browse the repository at this point in the history
…ist after app restart #114
  • Loading branch information
bryanmontz committed Jan 3, 2025
1 parent d8ea02a commit 041ce6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Factored out the segmented picker on the ProfileHeader for reusability.
- Fixed a case where lists don't show up immediately after signing in.
- Fixed a minor cell layout issue on feed customizer drop-down view.
- Fixed issue where feed shows following content rather than selected list after app restart. [#114](https://github.com/verse-pbc/issues/issues/114)

### Internal Changes
- Upgraded to Xcode 16. [#1570](https://github.com/planetary-social/nos/issues/1570)
Expand Down
2 changes: 1 addition & 1 deletion Nos/Controller/FeedController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import SwiftUI

// The delay here is an unfortunate workaround. Without it, the feed always resumes to
// the default value of FeedSource.following.
DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(500)) {
DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(1500)) {
self.selectedSource = self.persistedSelectedSource
}
}
Expand Down

0 comments on commit 041ce6d

Please sign in to comment.