mirror of
https://github.com/yattee/yattee.git
synced 2025-11-26 03:08:29 +00:00
Fix sidebar navigation
This commit is contained in:
@@ -62,6 +62,12 @@ final class RecentsModel: ObservableObject {
|
||||
return nil
|
||||
}
|
||||
|
||||
var presentedItem: RecentItem? {
|
||||
guard let recent = items.last else { return nil }
|
||||
|
||||
return recent
|
||||
}
|
||||
|
||||
static func symbolSystemImage(_ name: String) -> String {
|
||||
let firstLetter = name.first?.lowercased()
|
||||
let regex = #"^[a-z0-9]$"#
|
||||
|
||||
Reference in New Issue
Block a user