Skip to content

Commit

Permalink
Fix compilation errors (#1272)
Browse files Browse the repository at this point in the history
  • Loading branch information
boreq authored Aug 7, 2023
1 parent 16dbf2e commit 76c71b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/UI/Identity/IdentityHeaderView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ struct IdentityHeaderView: View {
.font(.subheadline)
.lineLimit(1)
.foregroundColor(Color.secondaryTxt)
if let aliases, let count = aliases.count, count > 1 {
AliasCountButton(aliases: aliases, count: count - 1)
if let aliases, aliases.count > 1 {
AliasCountButton(aliases: aliases, count: aliases.count - 1)
}
}
if extendedHeader {
Expand Down

0 comments on commit 76c71b3

Please sign in to comment.