|
|
@@ -473,7 +473,7 @@ public class DetailActivity extends BasicActivity implements DetailAdapter.Detai
|
|
|
@Override
|
|
|
public void navigationTo(DetailLocationModel locationModel) {
|
|
|
|
|
|
- if (locationModel != null && TextUtils.isEmpty(locationModel.street)) {
|
|
|
+ if (locationModel != null && !TextUtils.isEmpty(locationModel.street)) {
|
|
|
|
|
|
Uri gmmIntentUri = Uri.parse("google.navigation:q=" + locationModel.street + "&mode=d");
|
|
|
Intent mapIntent = new Intent(Intent.ACTION_VIEW, gmmIntentUri);
|