mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-25 17:51:01 +00:00
Revert "Delete unused functions in TimelineDatasource.swift (#2037)"
This reverts commit e9a2d3e151
.
This commit is contained in:
parent
8468e51c17
commit
f04258ec04
1 changed files with 8 additions and 0 deletions
|
@ -32,6 +32,10 @@ actor TimelineDatasource {
|
|||
}
|
||||
}
|
||||
|
||||
func count() -> Int {
|
||||
statuses.count
|
||||
}
|
||||
|
||||
func reset() {
|
||||
statuses = []
|
||||
}
|
||||
|
@ -48,6 +52,10 @@ actor TimelineDatasource {
|
|||
self.statuses = statuses
|
||||
}
|
||||
|
||||
func append(_ status: Status) {
|
||||
statuses.append(status)
|
||||
}
|
||||
|
||||
func append(contentOf: [Status]) {
|
||||
statuses.append(contentsOf: contentOf)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue