     /// The selected asset
     public var selectedAsset: [TTAAsset] = [] {
         didSet {
-            configPicker { (_, assetVc) in
-                assetVc?.selectedAsset = selectedAsset.map { $0.original }
-            }
+            updateSelectedAsset()
         }
     }
     

        prepareNavigationItems()
        
        self.selectedAsset = selectedAsset

        addChildViewController(splitController)
        view.addSubview(splitController.view)
        splitController.view.backgroundColor = .clear

        topViewController.navigationItem.hidesBackButton = true
        let cancelItem = UIBarButtonItem(barButtonSystemItem: .cancel, target: self, action: #selector(didClickCancelItem))
        topViewController.navigationItem.rightBarButtonItem = cancelItem
    }
    
    func updateSelectedAsset() {
        configPicker { (_, assetVc) in
            assetVc?.selectedAsset = selectedAsset.map { $0.original }
        }
    }
}

