Skip to content

Commit

Permalink
Update OversizeResources
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 committed Sep 1, 2023
1 parent 994c594 commit 69956d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let productionDependencies: [PackageDescription.Package.Dependency] = { [
.package(url: "https://github.com/oversizedev/OversizeUI.git", .upToNextMajor(from: "3.0.2")),
.package(url: "https://github.com/oversizedev/OversizeCore.git", .upToNextMajor(from: "1.3.0")),
.package(url: "https://github.com/oversizedev/OversizeLocalizable.git", .upToNextMajor(from: "1.4.0")),
.package(url: "https://github.com/oversizedev/OversizeResources.git", .upToNextMajor(from: "1.3.0")),
.package(url: "https://github.com/oversizedev/OversizeResources.git", .upToNextMajor(from: "2.0.0")),
.package(url: "https://github.com/lorenzofiamingo/swiftui-cached-async-image.git", .upToNextMajor(from: "2.1.1")),
] }()

Expand Down
3 changes: 1 addition & 2 deletions Sources/OversizeComponents/FolderView/FolderView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// FolderView.swift
//

import OversizeResources
import OversizeUI
import SwiftUI

Expand Down Expand Up @@ -64,7 +63,7 @@ import SwiftUI
.fill(Color.black.opacity(0.2))
.frame(width: 54, height: 54)
}
Icon.Solid.UserInterface.lock
Image.Base.lock
.renderingMode(.template)
.resizable()
.frame(width: iconSize, height: iconSize)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
//

import OversizeCore
import OversizeResources
import OversizeUI
import SwiftUI

Expand All @@ -28,7 +27,7 @@ public struct RatingPickerView: View {
HStack {
Spacer()

Icon.Solid.UserInterface.star
Image.Base.Star.fill
.renderingMode(.template)
.foregroundColor(rating ?? 0 >= Double(score) ? .warning : .onSurfaceDisabled)

Expand All @@ -40,7 +39,7 @@ public struct RatingPickerView: View {
}
}
.surfaceBackgroundColor(.surfaceSecondary)
.surfaceContentInsets(.medium)
.surfaceContentMargins(.medium)
}
}

Expand Down

0 comments on commit 69956d3

Please sign in to comment.