show update pill in sidebar for Release builds
This commit is contained in:
parent
2080a8ea5c
commit
430e86909f
1 changed files with 5 additions and 0 deletions
|
|
@ -584,6 +584,11 @@ struct VerticalTabsSidebar: View {
|
|||
#if DEBUG
|
||||
SidebarDevFooter(updateViewModel: updateViewModel)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
#else
|
||||
UpdatePill(model: updateViewModel)
|
||||
.padding(.leading, 10)
|
||||
.padding(.bottom, 10)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
#endif
|
||||
}
|
||||
.accessibilityIdentifier("Sidebar")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue