1
0
Fork 0

For #3496: dismiss share fragment when clicking outside content (#3513)

* dismiss share fragment when clicking outside content

* add logic in view layer
master
Nikit Bhandari 2019-06-27 21:13:13 +05:30 committed by Colin Lee
parent 77edb7afe1
commit 6ccd32f093
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ class ShareUIView(
account_header.visibility = View.GONE
}
container.setOnClickListener { actionEmitter.onNext(ShareAction.Close) }
close_button.setOnClickListener { actionEmitter.onNext(ShareAction.Close) }
}