diff --git a/app/src/main/java/net/crystalyx/fxpix/MainActivity.java b/app/src/main/java/net/crystalyx/fxpix/MainActivity.java index 48747d7..cd4d229 100644 --- a/app/src/main/java/net/crystalyx/fxpix/MainActivity.java +++ b/app/src/main/java/net/crystalyx/fxpix/MainActivity.java @@ -39,7 +39,7 @@ public class MainActivity extends Activity { Intent sharingIntent = new Intent(Intent.ACTION_SEND); sharingIntent.setType("text/plain"); - sharingIntent.putExtra(Intent.EXTRA_TEXT, fixedUrl); + sharingIntent.putExtra(Intent.EXTRA_TEXT, fixedUrl.toString()); startActivity(Intent.createChooser(sharingIntent, "Share via")); } catch (MalformedURLException e) { Toast.makeText(this, e.getMessage(), Toast.LENGTH_SHORT).show();