mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-25 02:41:10 +01:00
improved caching in utility methods
This commit is contained in:
@@ -51,6 +51,6 @@
|
||||
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||
<false/>
|
||||
<key>UIUserInterfaceStyle</key>
|
||||
<string>light</string>
|
||||
<string>Light</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
@@ -39,7 +39,7 @@ struct SwiftUIView: View {
|
||||
var body: some View {
|
||||
NavigationView {
|
||||
List {
|
||||
ForEach(palettes.sections, id: \.self) { (sectionID) in
|
||||
ForEach(palettes.sectionIdentifiers, id: \.self) { (sectionID) in
|
||||
Section(header: Text(sectionID)) {
|
||||
ForEach(self.palettes[section: sectionID], id: \.self) { palette in
|
||||
NavigationLink(
|
||||
@@ -118,7 +118,6 @@ struct SwiftUIView: View {
|
||||
self.needsShowAlert = true
|
||||
}
|
||||
}
|
||||
.colorScheme(.dark)
|
||||
}
|
||||
|
||||
@State
|
||||
|
||||
Reference in New Issue
Block a user