parent
7ae741cd83
commit
6821f1b9a0
|
@ -91,7 +91,10 @@ class ComposeSceneDelegate: UIResponder, UIWindowSceneDelegate, TuskerSceneDeleg
|
|||
}
|
||||
|
||||
private func updateTitle(draft: Draft) {
|
||||
guard let scene = window?.windowScene,
|
||||
// Don't set the scene title on macOS since it shows both that and the VC title in the window titlebar
|
||||
#if !targetEnvironment(macCatalyst)
|
||||
guard !ProcessInfo.processInfo.isiOSAppOnMac,
|
||||
let scene = window?.windowScene,
|
||||
let mastodonController = scene.session.mastodonController else {
|
||||
return
|
||||
}
|
||||
|
@ -101,6 +104,7 @@ class ComposeSceneDelegate: UIResponder, UIWindowSceneDelegate, TuskerSceneDeleg
|
|||
} else {
|
||||
scene.title = "New Post"
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@objc private func themePrefChanged() {
|
||||
|
|
Loading…
Reference in New Issue