Skip to content

Commit a9eb7bc

Browse files
authored
Merge pull request #856 from Adamant-im/trello.com/c/IwfruyRT
[trello.com/c/IwfruyRT] Improve logic of reloading rows in wallets view and exclude reordering
2 parents 976838e + 7285d37 commit a9eb7bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adamant/Modules/Settings/VisibleWallets/VisibleWalletsViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ final class VisibleWalletsViewController: KeyboardObservingViewController {
109109
.sink { [weak self] _ in
110110
guard let self = self else { return }
111111
let indexPath = IndexPath(row: index, section: 0)
112-
if let cell = self.tableView.cellForRow(at: indexPath) as? VisibleWalletsTableViewCell {
113-
cell.balance = wallet.wallet?.balance
112+
UIView.performWithoutAnimation { [weak self] in
113+
self?.tableView.reloadRows(at: [indexPath], with: .none)
114114
}
115115
}
116116
.store(in: &subscriptions)

0 commit comments

Comments
 (0)