Skip to content

Commit

Permalink
fix: Show share count from cloud #2168
Browse files Browse the repository at this point in the history
  • Loading branch information
priyonto committed Oct 12, 2024
1 parent 08dd89c commit 1cbdbe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ extension SharePresenter {
ruuviPool.readSensorSubscriptionSettings(
ruuviTag
).on(success: { [weak self] subscription in
if let maxShares = subscription?.maxShares {
if let maxShares = subscription?.maxSharesPerSensor {
self?.maxShareCount = maxShares
}
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ extension TagSettingsPresenter {
ruuviPool.readSensorSubscriptionSettings(
ruuviTag
).on(success: { [weak self] subscription in
if let maxShares = subscription?.maxShares {
if let maxShares = subscription?.maxSharesPerSensor {
self?.view.maxShareCount = maxShares
}
})
Expand Down

0 comments on commit 1cbdbe8

Please sign in to comment.