Make sure we are on the iPad before hiding the First Unread button.

This commit is contained in:
Maurice Parker 2019-04-22 18:14:42 -05:00
parent 526cbb566e
commit e54056ceac
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ private extension MasterTimelineViewController {
func changeToDisplayMode(_ displayMode: UISplitViewController.DisplayMode) { func changeToDisplayMode(_ displayMode: UISplitViewController.DisplayMode) {
if displayMode == .allVisible { if UIDevice.current.userInterfaceIdiom == .pad && displayMode == .allVisible {
nextUnreadButton.isEnabled = false nextUnreadButton.isEnabled = false
nextUnreadButton.title = "" nextUnreadButton.title = ""
} else { } else {