Don't animate account-switches (IOS-245)
This commit is contained in:
parent
cc4fc05997
commit
d10dd37012
|
@ -49,7 +49,7 @@ final class AccountListViewModel: NSObject {
|
||||||
snapshot.appendItems([.addAccount], toSection: .main)
|
snapshot.appendItems([.addAccount], toSection: .main)
|
||||||
snapshot.appendItems([.logoutOfAllAccounts], toSection: .main)
|
snapshot.appendItems([.logoutOfAllAccounts], toSection: .main)
|
||||||
|
|
||||||
diffableDataSource.apply(snapshot)
|
diffableDataSource.apply(snapshot, animatingDifferences: false)
|
||||||
}
|
}
|
||||||
.store(in: &disposeBag)
|
.store(in: &disposeBag)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue