pull/66/head
kunfei 5 years ago
parent 6326a28a1c
commit 549156d652
  1. 2
      app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditActivity.kt

@ -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) {

Loading…
Cancel
Save