mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-10 07:13:28 +01:00
Shows source/category icon next to BrowseViewController’s title
Also tints all navigation bar buttons to match source/category tint color. # Conflicts: # AltStore/Browse/BrowseViewController.swift
This commit is contained in:
@@ -57,6 +57,14 @@ public enum StoreCategory: String, CaseIterable
|
||||
}
|
||||
}
|
||||
|
||||
public var filledSymbolName: String {
|
||||
switch self
|
||||
{
|
||||
case .utilities: return self.symbolName
|
||||
default: return self.symbolName + ".fill"
|
||||
}
|
||||
}
|
||||
|
||||
public var tintColor: UIColor {
|
||||
switch self
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user