mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 18:08:12 +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