From 6879acbe02f50a9fc2c28edfbe0114f93354d1ad Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 23 Jan 2022 23:22:34 -0500 Subject: [PATCH] Add local-only post icon --- Tusker/Assets.xcassets/Contents.json | 6 +- .../link.broken.symbolset/Contents.json | 12 + .../link.broken.symbolset/link.broken 3.svg | 527 ++++++++++++++++++ .../Status/StatusMetaIndicatorsView.swift | 2 +- 4 files changed, 543 insertions(+), 4 deletions(-) create mode 100644 Tusker/Assets.xcassets/link.broken.symbolset/Contents.json create mode 100644 Tusker/Assets.xcassets/link.broken.symbolset/link.broken 3.svg diff --git a/Tusker/Assets.xcassets/Contents.json b/Tusker/Assets.xcassets/Contents.json index da4a164c91..73c00596a7 100644 --- a/Tusker/Assets.xcassets/Contents.json +++ b/Tusker/Assets.xcassets/Contents.json @@ -1,6 +1,6 @@ { "info" : { - "version" : 1, - "author" : "xcode" + "author" : "xcode", + "version" : 1 } -} \ No newline at end of file +} diff --git a/Tusker/Assets.xcassets/link.broken.symbolset/Contents.json b/Tusker/Assets.xcassets/link.broken.symbolset/Contents.json new file mode 100644 index 0000000000..731cca6fa8 --- /dev/null +++ b/Tusker/Assets.xcassets/link.broken.symbolset/Contents.json @@ -0,0 +1,12 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + }, + "symbols" : [ + { + "filename" : "link.broken 3.svg", + "idiom" : "universal" + } + ] +} diff --git a/Tusker/Assets.xcassets/link.broken.symbolset/link.broken 3.svg b/Tusker/Assets.xcassets/link.broken.symbolset/link.broken 3.svg new file mode 100644 index 0000000000..639f6913d0 --- /dev/null +++ b/Tusker/Assets.xcassets/link.broken.symbolset/link.broken 3.svg @@ -0,0 +1,527 @@ + + + + + + + + + + + Weight/Scale Variations + Ultralight + Thin + Light + Regular + Medium + Semibold + Bold + Heavy + Black + + + + + + + + + + + Design Variations + Symbols are supported in up to nine weights and three scales. + For optimal layout with text and other symbols, vertically align + symbols with the adjacent text. + + + + + + Margins + Leading and trailing margins on the left and right side of each symbol + can be adjusted by modifying the x-location of the margin guidelines. + Modifications are automatically applied proportionally to all + scales and weights. + + + + Exporting + Symbols should be outlined when exporting to ensure the + design is preserved when submitting to Xcode. + Template v.3.0 + Requires Xcode 13 or greater + Generated from link + Typeset at 100 points + Small + Medium + Large + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tusker/Views/Status/StatusMetaIndicatorsView.swift b/Tusker/Views/Status/StatusMetaIndicatorsView.swift index 0524c4c0d8..edbb7c35bc 100644 --- a/Tusker/Views/Status/StatusMetaIndicatorsView.swift +++ b/Tusker/Views/Status/StatusMetaIndicatorsView.swift @@ -29,7 +29,7 @@ class StatusMetaIndicatorsView: UIView { } if allowedIndicators.contains(.localOnly) && status.localOnly { - images.append(UIImage(systemName: "house")!) + images.append(UIImage(named: "link.broken")!) } self.images = []