Skip to content

Commit

Permalink
Refactor title of news/event details screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Camilla Copetti committed Dec 6, 2024
1 parent 7382bcb commit 707c4ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ final class EventPageViewController: BasePageViewController<EventDetailsViewMode
guard let self
else { return }

// TODO: move set navigationItem title here
self.navigationItem.title = event.title
self.show(content: self.makeResultContent(for: event))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ final class NewsPageViewController: BasePageViewController<NewsDetailsViewModel>
.sink { [weak self] event in
guard let self
else { return }

// TODO: move set navigationItem title here

self.navigationItem.title = localizedValue(
from: event.languageToDetails
)?
Expand Down

0 comments on commit 707c4ed

Please sign in to comment.