Skip to content

Commit

Permalink
Add icon border
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 committed Nov 17, 2022
1 parent 912e34c commit 8a4baba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ import SwiftUI
.cornerRadius(18)
.overlay(
RoundedRectangle(cornerRadius: 20)
.stroke(Color.accent,
lineWidth: index == iconSettings.currentIndex ? 3 : 0)
.stroke(index == iconSettings.currentIndex ? Color.accent : Color.border,
lineWidth: index == iconSettings.currentIndex ? 3 : 1)
)
.onTapGesture {
if index != 0, isPremium == false {
Expand Down

0 comments on commit 8a4baba

Please sign in to comment.