Remove print.
This commit is contained in:
parent
bf5dd456ab
commit
17f373adab
|
@ -102,7 +102,6 @@ struct HomeFeedView: View {
|
||||||
|
|
||||||
private func refreshData() async {
|
private func refreshData() async {
|
||||||
do {
|
do {
|
||||||
print("start...")
|
|
||||||
if let account = self.applicationState.account {
|
if let account = self.applicationState.account {
|
||||||
if let lastSeenStatusId = try await HomeTimelineService.shared.loadOnTop(for: account) {
|
if let lastSeenStatusId = try await HomeTimelineService.shared.loadOnTop(for: account) {
|
||||||
try await HomeTimelineService.shared.save(lastSeenStatusId: lastSeenStatusId, for: account)
|
try await HomeTimelineService.shared.save(lastSeenStatusId: lastSeenStatusId, for: account)
|
||||||
|
@ -111,7 +110,6 @@ struct HomeFeedView: View {
|
||||||
self.applicationState.amountOfNewStatuses = 0
|
self.applicationState.amountOfNewStatuses = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print("end...")
|
|
||||||
} catch {
|
} catch {
|
||||||
ErrorService.shared.handle(error, message: "Error during download statuses from server.", showToastr: !Task.isCancelled)
|
ErrorService.shared.handle(error, message: "Error during download statuses from server.", showToastr: !Task.isCancelled)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue