···6161 // during widget tree finalization
6262 final notifier = _actionControllerNotifier;
6363 if (notifier != null) {
6464- Future(() => notifier.clearController());
6464+ Future(notifier.clearController);
6565 }
6666 pageController.dispose();
6767 super.dispose();
+7-8
lib/src/features/feed/ui/pages/feeds_page.dart
···3939 if (_isPageControllerUpdating) return;
40404141 final activeIndex = feeds.indexOf(activeFeed);
4242-4242+4343 // Always try to create controller if we don't have one and have feeds
4444 if (_pageController == null && feeds.isNotEmpty) {
4545 _pageController = PageController(
···50505151 if (activeIndex < 0 && feeds.isNotEmpty) {
5252 // If active feed not in list but we have feeds, ensure controller exists
5353- if (_pageController == null) {
5454- _pageController = PageController(initialPage: 0);
5555- }
5353+ _pageController ??= PageController();
5654 return;
5755 }
5856···118116119117 // Ensure controller is created if we have feeds but controller is null
120118 // This prevents the FeedsBar from disappearing during initialization
121121- // Also create it early if feeds list is still empty (handles transition from initial empty state)
119119+ // Also create it early if feeds list still empty
120120+ // (handles transition from initial empty state)
122121 if (_pageController == null) {
123122 if (feeds.isNotEmpty) {
124123 final activeIndex = feeds.indexOf(activeFeed);
···126125 initialPage: activeIndex >= 0 ? activeIndex : 0,
127126 );
128127 } else {
129129- // Create controller even when feeds list is empty to keep FeedsBar visible
130130- // This handles the case when settings are still loading (feeds will populate soon)
131131- _pageController = PageController(initialPage: 0);
128128+ // Create controller even when feeds list empty to keep FeedsBar visible
129129+ // Handles case of settings still loading (feeds will populate soon)
130130+ _pageController = PageController();
132131 }
133132 }
134133
···3434 List<ProfileView> profiles,
3535 ) async {
3636 // Check if profile is incomplete - need to check multiple fields
3737- // A profile is incomplete if it's missing displayName, description, or avatar
3838- // AND has a valid handle (if handle is missing, it's likely a deleted account)
3737+ // Profile is incomplete if it's missing displayName, description, or avatar
3838+ // AND has a valid handle (if handle missing, it's likely deleted account)
3939 final didsToFetch = profiles
4040 .where((profile) {
4141- // Profile is incomplete if it has a valid handle but is missing key fields
4242- final hasValidHandle = profile.handle.isNotEmpty &&
4343- profile.handle != 'unknown.invalid';
4444- final isIncomplete = hasValidHandle &&
4141+ // Profile incomplete if it has valid handle but missing key fields
4242+ final hasValidHandle =
4343+ profile.handle.isNotEmpty && profile.handle != 'unknown.invalid';
4444+ final isIncomplete =
4545+ hasValidHandle &&
4546 (profile.displayName == null ||
4647 profile.description == null ||
4748 profile.avatar == null);
···8585 List<ProfileView> profiles,
8686 ) async {
8787 // Check if profile is incomplete - need to check multiple fields
8888- // A profile is incomplete if it's missing displayName, description, or avatar
8989- // AND has a valid handle (if handle is missing, it's likely a deleted account)
8888+ // Profile is incomplete if it's missing displayName, description, or avatar
8989+ // AND has a valid handle (if handle missing, it's likely a deleted account)
9090 final didsToFetch = profiles
9191 .where((profile) {
9292- // Profile is incomplete if it has a valid handle but is missing key fields
9393- final hasValidHandle = profile.handle.isNotEmpty &&
9494- profile.handle != 'unknown.invalid';
9595- final isIncomplete = hasValidHandle &&
9292+ // Profile is incomplete if it has valid handle but missing key fields
9393+ final hasValidHandle =
9494+ profile.handle.isNotEmpty && profile.handle != 'unknown.invalid';
9595+ final isIncomplete =
9696+ hasValidHandle &&
9697 (profile.displayName == null ||
9798 profile.description == null ||
9899 profile.avatar == null);