mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Minor performance improvement
This commit is contained in:
@@ -95,6 +95,8 @@ extension PlayerModel {
|
||||
|
||||
func resetSegments() {
|
||||
resetLastSegment()
|
||||
restoredSegments = []
|
||||
DispatchQueue.main.async { [weak self] in
|
||||
self?.restoredSegments = []
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user