Merge pull request #9998 from osmandapp/issues_201_opr_show_image
Issues 201 opr show image added icon
This commit is contained in:
commit
b64fbab821
2 changed files with 3 additions and 1 deletions
|
@ -1,8 +1,10 @@
|
|||
package net.osmand.plus.mapcontextmenu.builders.cards;
|
||||
|
||||
import android.view.View;
|
||||
import androidx.core.content.ContextCompat;
|
||||
import net.osmand.AndroidNetworkUtils;
|
||||
import net.osmand.PlatformUtil;
|
||||
import net.osmand.plus.R;
|
||||
import net.osmand.plus.activities.MapActivity;
|
||||
import net.osmand.util.Algorithms;
|
||||
import org.apache.commons.logging.Log;
|
||||
|
@ -24,6 +26,7 @@ public class IPFSImageCard extends ImageCard {
|
|||
url = BASE_URL + cid;
|
||||
imageHiresUrl = BASE_URL + cid;
|
||||
imageUrl = BASE_URL + cid;
|
||||
icon = ContextCompat.getDrawable(getMyApplication(), R.drawable.ic_logo_openplacereview);
|
||||
if (!Algorithms.isEmpty(getUrl())) {
|
||||
View.OnClickListener onClickListener = new View.OnClickListener() {
|
||||
@Override
|
||||
|
|
|
@ -179,7 +179,6 @@ public class SettingsOsmEditingActivity extends SettingsBaseActivity {
|
|||
protected void onNewIntent(Intent intent) {
|
||||
super.onNewIntent(intent);
|
||||
Uri uri = intent.getData();
|
||||
System.out.println("URI=" + uri);
|
||||
if (uri != null && uri.toString().startsWith("osmand-oauth")) {
|
||||
String oauthVerifier = uri.getQueryParameter("oauth_verifier");
|
||||
client.authorize(oauthVerifier);
|
||||
|
|
Loading…
Reference in a new issue