Skip to content

Commit

Permalink
Bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmuslos committed Sep 9, 2024
1 parent 70cae2b commit a1a1af5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Configuration/Base.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974

MARKETING_VERSION = 2.4.2
MARKETING_VERSION = 2.4.3
SWIFT_ACTIVE_COMPILATION_CONDITIONS = ENABLE_ALL_FEATURES
1 change: 1 addition & 0 deletions Multiplatform/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"sourceLanguage" : "en",
"strings" : {
":)" : {
"extractionState" : "stale",
"localizations" : {
"de" : {
"stringUnit" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ extension AudiobookshelfClient {
public let libraryItemId: String
public let episodeId: String?

public let duration: Double
public let duration: Double?
public let progress: Double
public let currentTime: Double

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ extension OfflineManager {
if Int64(existing.lastUpdate.timeIntervalSince1970 * 1000) < mediaProgress.lastUpdate {
logger.info("Updating progress: \(existing.id)")

existing.duration = mediaProgress.duration
existing.duration = mediaProgress.duration ?? 0
existing.currentTime = mediaProgress.currentTime
existing.progress = mediaProgress.progress

Expand All @@ -109,7 +109,7 @@ extension OfflineManager {
id: mediaProgress.id,
itemId: mediaProgress.libraryItemId,
episodeId: mediaProgress.episodeId,
duration: mediaProgress.duration,
duration: mediaProgress.duration ?? 0,
currentTime: mediaProgress.currentTime,
progress: mediaProgress.progress,
startedAt: Date(timeIntervalSince1970: Double(mediaProgress.startedAt) / 1000),
Expand Down

0 comments on commit a1a1af5

Please sign in to comment.