Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pawello2222 committed Jul 14, 2023
1 parent 93a055c commit 0ebb24d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion WidgetExtension/CountdownWidget/CountdownWidget.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private struct Provider: TimelineProvider {

let entries = [
SimpleEntry(date: currentDate, displayDate: secondDate),
SimpleEntry(date: firstDate, displayDate: secondDate, isDateClose: true),
SimpleEntry(date: firstDate, displayDate: secondDate, isDateClose: true)
]

let timeline = Timeline(entries: entries, policy: .atEnd)
Expand Down
4 changes: 2 additions & 2 deletions WidgetExtension/NetworkWidget/NetworkWidget.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private struct Provider: TimelineProvider {
print(error.localizedDescription)
let entries = [
SimpleEntry(date: currentDate),
SimpleEntry(date: nextDate),
SimpleEntry(date: nextDate)
]
let timeline = Timeline(entries: entries, policy: .atEnd)
completion(timeline)
Expand All @@ -59,7 +59,7 @@ private struct Provider: TimelineProvider {
} receiveValue: {
let entries = [
SimpleEntry(date: currentDate, currencyRate: $0),
SimpleEntry(date: nextDate, currencyRate: $0),
SimpleEntry(date: nextDate, currencyRate: $0)
]
let timeline = Timeline(entries: entries, policy: .atEnd)
completion(timeline)
Expand Down

0 comments on commit 0ebb24d

Please sign in to comment.