f-71d69b3cb361498d3fe4dc3a4924098112e86887L200">200
func bindViewModelToUserName() {
- viewModel.groupName.bind(to: userName.rx.text).disposed(by: disposeBag)
+ viewModel.userName.bind(to: userName.rx.text).disposed(by: disposeBag)
}
func bindViewModelToPhotoTime() {
@@ -94,7 +94,7 @@ extension PhotoPreviewViewController {
|
||
| 94 | 94 |
/// storyboard button action |
| 95 | 95 |
extension PhotoPreviewViewController {
|
| 96 | 96 |
@IBAction func back() {
|
| 97 |
- navigationController?.popViewController(animated: true) |
|
| 97 |
+ dismissController() |
|
| 98 | 98 |
} |
| 99 | 99 |
|
| 100 | 100 |
@IBAction func rotateTheImage(_ sender: UIButton) {
|