Skip to content

Commit 4b74532

Browse files
Minor fix for #7 bottomsheet
1 parent 8a85434 commit 4b74532

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/org/open311/android/MapActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ public void onClick(DialogInterface dialog, int id) {
159159
address.setSubThoroughfare(String.valueOf(housenumberBox.getText()));
160160
address.setThoroughfare(String.valueOf(streetBox.getText()));
161161
updateAddress(address);
162-
openBottomSheet();
163162
}
164163
});
165164
builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {
@@ -168,6 +167,7 @@ public void onClick(DialogInterface dialog, int id) {
168167
dialog.dismiss();
169168
}
170169
});
170+
mBottomSheetBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED);
171171
builder.show();
172172
}
173173
});

0 commit comments

Comments
 (0)