Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #5174 from corona-warn-app/fix/15171-App-Info-menu…
Browse files Browse the repository at this point in the history
…-mpressum-has-two-arrows

Fix/15171 App Info menu "Impressum" has two arrows at first call
  • Loading branch information
30mar authored May 8, 2023
2 parents 915ba2f + 3e30138 commit 069905a
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,14 @@ class AppInformationViewController: DynamicTableViewController, NavigationBarOpa
imageView.adjustsImageSizeForAccessibilityContentSizeCategory = true
imageView.contentMode = .scaleAspectFill
cell.accessoryView = imageView
case .about, .contact, .errorReport, .imprint, .legal, .privacy, .versionInfo, .terms:
case .about, .imprint, .legal, .privacy, .versionInfo, .terms:
cell.accessoryType = .disclosureIndicator
case .contact, .errorReport:
if cwaHibernationProvider.isHibernationState {
cell.accessoryType = .none
} else {
cell.accessoryType = .disclosureIndicator
}
}
}

Expand Down

0 comments on commit 069905a

Please sign in to comment.