mirror of
https://github.com/yattee/yattee.git
synced 2025-10-15 20:08:18 +00:00
Add clear history button to home
This commit is contained in:
@@ -3,13 +3,13 @@ import SwiftUI
|
||||
struct HistoryView: View {
|
||||
static let detailsPreloadLimit = 50
|
||||
|
||||
var limit = 10
|
||||
|
||||
@FetchRequest(sortDescriptors: [.init(key: "watchedAt", ascending: false)])
|
||||
var watches: FetchedResults<Watch>
|
||||
|
||||
@EnvironmentObject<PlayerModel> private var player
|
||||
|
||||
var limit = 10
|
||||
|
||||
var body: some View {
|
||||
LazyVStack {
|
||||
if visibleWatches.isEmpty {
|
||||
|
Reference in New Issue
Block a user