Update SF Symbols
This commit is contained in:
@ -1866,7 +1866,7 @@
|
|||||||
repositoryURL = "https://github.com/SFSafeSymbols/SFSafeSymbols";
|
repositoryURL = "https://github.com/SFSafeSymbols/SFSafeSymbols";
|
||||||
requirement = {
|
requirement = {
|
||||||
kind = upToNextMajorVersion;
|
kind = upToNextMajorVersion;
|
||||||
minimumVersion = 5.3.0;
|
minimumVersion = 6.0.0;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
E2FD1D502D4644B400B48627 /* XCRemoteSwiftPackageReference "SVGView" */ = {
|
E2FD1D502D4644B400B48627 /* XCRemoteSwiftPackageReference "SVGView" */ = {
|
||||||
|
@ -132,8 +132,8 @@
|
|||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/SFSafeSymbols/SFSafeSymbols",
|
"location" : "https://github.com/SFSafeSymbols/SFSafeSymbols",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "e2e28f4e56e1769c2ec3c61c9355fc64eb7a535a",
|
"revision" : "3dd282d3269b061853a3b3bcd23a509d2aa166ce",
|
||||||
"version" : "5.3.0"
|
"version" : "6.2.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -27,9 +27,9 @@ enum FileTypeCategory: String, CaseIterable {
|
|||||||
case .image: .photo
|
case .image: .photo
|
||||||
case .code: .keyboard
|
case .code: .keyboard
|
||||||
case .model: .cubeTransparent
|
case .model: .cubeTransparent
|
||||||
case .text: .docText
|
case .text: .textDocument
|
||||||
case .video: .video
|
case .video: .video
|
||||||
case .resource: .docZipper
|
case .resource: .zipperPage
|
||||||
case .audio: .speakerWave2CircleFill
|
case .audio: .speakerWave2CircleFill
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -59,7 +59,7 @@ struct FileContentView: View {
|
|||||||
}.foregroundStyle(.secondary)
|
}.foregroundStyle(.secondary)
|
||||||
case .resource:
|
case .resource:
|
||||||
VStack {
|
VStack {
|
||||||
Image(systemSymbol: .docQuestionmark)
|
Image(systemSymbol: .questionmarkTextPage)
|
||||||
.resizable()
|
.resizable()
|
||||||
.aspectRatio(contentMode: .fit)
|
.aspectRatio(contentMode: .fit)
|
||||||
.frame(width: iconSize)
|
.frame(width: iconSize)
|
||||||
|
@ -10,7 +10,7 @@ struct FileToAddView: View {
|
|||||||
|
|
||||||
var symbol: SFSymbol {
|
var symbol: SFSymbol {
|
||||||
if file.idAlreadyExists {
|
if file.idAlreadyExists {
|
||||||
return .docOnDoc
|
return .documentOnDocument
|
||||||
}
|
}
|
||||||
if file.isSelected {
|
if file.isSelected {
|
||||||
return .checkmarkCircleFill
|
return .checkmarkCircleFill
|
||||||
|
@ -27,7 +27,7 @@ struct TextFileContentView: View {
|
|||||||
.textEditorStyle(.plain)
|
.textEditorStyle(.plain)
|
||||||
.foregroundStyle(.primary)
|
.foregroundStyle(.primary)
|
||||||
} else {
|
} else {
|
||||||
Image(systemSymbol: .docText)
|
Image(systemSymbol: .textDocument)
|
||||||
.resizable()
|
.resizable()
|
||||||
.aspectRatio(contentMode: .fit)
|
.aspectRatio(contentMode: .fit)
|
||||||
.frame(width: 150)
|
.frame(width: 150)
|
||||||
|
@ -68,13 +68,13 @@ struct PageContentResultsView: View {
|
|||||||
}
|
}
|
||||||
+ results.missingLinkedPages.keys.map {
|
+ results.missingLinkedPages.keys.map {
|
||||||
TextWithSymbol(
|
TextWithSymbol(
|
||||||
symbol: .doc,
|
symbol: .document,
|
||||||
color: .red,
|
color: .red,
|
||||||
text: $0)
|
text: $0)
|
||||||
}
|
}
|
||||||
+ results.linkedPages.map {
|
+ results.linkedPages.map {
|
||||||
TextWithSymbol(
|
TextWithSymbol(
|
||||||
symbol: .docBadgePlus,
|
symbol: .documentBadgePlus,
|
||||||
color: .blue,
|
color: .blue,
|
||||||
text: $0.title(in: language))
|
text: $0.title(in: language))
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@ extension SettingsSection {
|
|||||||
case .paths: return .folder
|
case .paths: return .folder
|
||||||
case .navigationBar: return .menubarArrowUpRectangle
|
case .navigationBar: return .menubarArrowUpRectangle
|
||||||
case .postFeed: return .rectangleGrid1x2
|
case .postFeed: return .rectangleGrid1x2
|
||||||
case .pages: return .docRichtext
|
case .pages: return .richtextPage
|
||||||
case .tagOverview: return .tag
|
case .tagOverview: return .tag
|
||||||
case .audioPlayer: return .waveform
|
case .audioPlayer: return .waveform
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user