Compare commits

...

2 Commits

2 changed files with 11 additions and 1 deletions

View File

@ -77,3 +77,13 @@ class InlineTrendsViewController: UIViewController {
} }
} }
extension InlineTrendsViewController: StateRestorableViewController {
func stateRestorationActivity() -> NSUserActivity? {
if searchController.isActive {
return UserActivityManager.searchActivity(query: searchController.searchBar.text, accountID: mastodonController.accountInfo!.id)
} else {
return nil
}
}
}

View File

@ -47,7 +47,7 @@ struct BehaviorPrefsView: View {
} header: { } header: {
Text("Timeline") Text("Timeline")
} footer: { } footer: {
Text("Syncing via the Mastodon API can be more reliable than iCloud, but is not compatible with the Mastodon web interface.") Text("Syncing via the Mastodon API can be more reliable than iCloud, but is not compatible with the Mastodon web interface. Only the Home timeline can be synced via the Mastodon API.")
} }
.appGroupedListRowBackground() .appGroupedListRowBackground()
} }