mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 14:53:25 +01:00
[CHANGE] Replace system image name strings with SFSymbols
This commit is contained in:
committed by
Joe Mattiello
parent
bcd54067d3
commit
5697c4c063
@@ -7,6 +7,7 @@
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
import SFSafeSymbols
|
||||
|
||||
struct RatingStars: View {
|
||||
|
||||
@@ -15,7 +16,7 @@ struct RatingStars: View {
|
||||
var body: some View {
|
||||
HStack(spacing: 0) {
|
||||
ForEach(0..<5) { i in
|
||||
Image(systemName: i < rating ? "star.fill" : "star")
|
||||
Image(systemSymbol: i < rating ? .starFill : .star)
|
||||
.resizable()
|
||||
.aspectRatio(contentMode: .fit)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user