Update the readme with indicator code

This commit is contained in:
DreamPiggy 2019-10-27 16:36:22 +08:00
parent ab6d78a407
commit 697dc8b2bb
1 changed files with 1 additions and 1 deletions

View File

@ -73,8 +73,8 @@ var body: some View {
.onSuccess { image, cacheType in
// Success
}
.indicator(.activity) // Activity Indicator
.resizable()
.indicator(.activity) // Activity Indicator
.scaledToFit()
.frame(width: 300, height: 300, alignment: .center)
}