From 6428bf575f88cc1f48f2377b402c94935ffc752e Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Fri, 13 Jun 2025 20:13:25 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A1=20Adds=20FIXME?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iOS/MainTimeline/MainTimelineViewController.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/iOS/MainTimeline/MainTimelineViewController.swift b/iOS/MainTimeline/MainTimelineViewController.swift index 0fd8dc3ac..bd39a73d6 100644 --- a/iOS/MainTimeline/MainTimelineViewController.swift +++ b/iOS/MainTimeline/MainTimelineViewController.swift @@ -144,10 +144,9 @@ class MainTimelineViewController: UITableViewController, UndoableCommandRunner { NSLocalizedString("All Articles", comment: "All Articles") ] navigationItem.searchController = searchController - // If the device is an iPad, the search bar is detached and placed - // in the top right of the article view. When that is the case, search is - // defaulted to "All Articles" as it is global. + if UIDevice.current.userInterfaceIdiom == .pad { + // FIXME: iPad scope buttons aren't showing in iOS 26 Beta 1. Set to All Articles. searchController.searchBar.selectedScopeButtonIndex = 1 navigationItem.searchBarPlacementAllowsExternalIntegration = true }