Remove already fixed TODO

This commit is contained in:
Julian Raufelder 2022-04-20 11:49:22 +02:00
parent 310696193d
commit c5d7a22f2f
No known key found for this signature in database
GPG Key ID: 17EE71F6634E381D

View File

@ -233,7 +233,7 @@ class BrowseFilesPresenter @Inject constructor( //
@Callback(dispatchResultOkOnly = false)
fun getCloudListAfterAuthentication(result: ActivityResult, cloudFolderModel: CloudFolderModel) {
if(result.isResultOk) {
val cloudModel = result.getSingleResult(CloudModel::class.java) // FIXME update other vaults using this cloud as well
val cloudModel = result.getSingleResult(CloudModel::class.java)
val cloudNode = cloudFolderModel.toCloudNode()
if (cloudNode is CryptoFolder) {
updatedDecryptedCloudFor(Vault.aCopyOf(cloudFolderModel.vault()!!.toVault()).withCloud(cloudModel.toCloud()).build(), cloudFolderModel)