Created
January 1, 2021 15:49
-
-
Save dmytro-anokhin/be7639350e0ad07fc57a0a7d9c159783 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let options = URLImageOptions(identifier: "user-avatar") | |
URLImage(url: url, | |
options: options) { image in | |
image | |
.resizable() | |
.aspectRatio(contentMode: .fit) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment