Make sure we are on the iPad before hiding the First Unread button.
This commit is contained in:
parent
526cbb566e
commit
e54056ceac
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue