Some improvements suggested by Codacy

This commit is contained in:
2017-05-07 16:13:20 +02:00
parent 422c7ac803
commit 6540df4fc9
4 changed files with 8 additions and 21 deletions

View File

@@ -160,6 +160,7 @@ public class AddressDetailFragment extends Fragment {
shareIntent.setType("text/plain");
shareIntent.putExtra(Intent.EXTRA_TEXT, item.getAddress());
startActivity(Intent.createChooser(shareIntent, null));
return true;
}
default:
return false;