|
|
@ -91,7 +91,7 @@ class BookSourceEditActivity : |
|
|
|
GSON.toJson(getSource())?.let { sourceStr -> |
|
|
|
GSON.toJson(getSource())?.let { sourceStr -> |
|
|
|
try { |
|
|
|
try { |
|
|
|
val textIntent = Intent(Intent.ACTION_SEND) |
|
|
|
val textIntent = Intent(Intent.ACTION_SEND) |
|
|
|
textIntent.setType("text/plain") |
|
|
|
textIntent.type = "text/plain" |
|
|
|
textIntent.putExtra(Intent.EXTRA_TEXT, sourceStr) |
|
|
|
textIntent.putExtra(Intent.EXTRA_TEXT, sourceStr) |
|
|
|
startActivity(Intent.createChooser(textIntent, "Source Share")) |
|
|
|
startActivity(Intent.createChooser(textIntent, "Source Share")) |
|
|
|
} catch (e: Exception) { |
|
|
|
} catch (e: Exception) { |
|
|
|