mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Merge pull request #572 from maskaravivek/mapInfoClick
Close fragment when tapped on the empty section
This commit is contained in:
commit
ec387bf3c3
2 changed files with 98 additions and 76 deletions
|
|
@ -107,4 +107,9 @@ public class NearbyInfoDialog extends OverlayDialog {
|
|||
Intent browserIntent = new Intent(Intent.ACTION_VIEW, articleLink);
|
||||
startActivity(browserIntent);
|
||||
}
|
||||
|
||||
@OnClick(R.id.emptyLayout)
|
||||
void onCloseClicked() {
|
||||
dismissAllowingStateLoss();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue