|
200
|
200
|
func bindViewModelToUserName() {
|
201
|
|
- viewModel.groupName.bind(to: userName.rx.text).disposed(by: disposeBag)
|
|
201
|
+ viewModel.userName.bind(to: userName.rx.text).disposed(by: disposeBag)
|
202
|
202
|
}
|
203
|
203
|
|
204
|
204
|
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) {
|