Skip to content

Commit

Permalink
Improve setting scene user activity from view controller
Browse files Browse the repository at this point in the history
  • Loading branch information
mvasilak committed Apr 15, 2024
1 parent 9979a9b commit 7583ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zotero/Extensions/UIViewController+Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ extension UIViewController {
}

func set(userActivity: NSUserActivity) {
self.window?.windowScene?.userActivity = userActivity
scene?.userActivity = userActivity
userActivity.becomeCurrent()
}

Expand Down

0 comments on commit 7583ed1

Please sign in to comment.