Skip to content

Commit

Permalink
ALTAPPS-1027: Remove corner radius from shareable images
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-magda committed Nov 13, 2023
1 parent b7ef768 commit 29afffc
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ extension ShareStreakModalView {
struct Appearance {
let spacing = LayoutInsets.defaultInset * 2
let actionButtonsSpacing = LayoutInsets.defaultInset

let imageCornerRadius: CGFloat = 16
}
}

Expand All @@ -27,6 +29,7 @@ struct ShareStreakModalView: View {
.resizable()
.aspectRatio(contentMode: .fit)
.frame(maxWidth: .infinity)
.cornerRadius(appearance.imageCornerRadius)

VStack(spacing: appearance.actionButtonsSpacing) {
Button(
Expand Down

0 comments on commit 29afffc

Please sign in to comment.