Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

Commit

Permalink
add source to download dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
befora committed Feb 23, 2019
1 parent 9242c5f commit 57c8571
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ class DialogUtil(val context: Context) {
val fileName = book.getAcquisitionUrl().guessFilename()
val filePath = book.filePath
val fileSize = File(filePath).length().toReadable()
val message = "File Size: $fileSize\nLocation: $filePath\n"
val message =
"File Size: $fileSize\n" +
"Location: $filePath\n" +
"Source: ${book.server}\n"
setTitle(fileName)
setMessage(message)
setView(context.layoutInflater.inflate(R.layout.dialog_layout_download_item_settings, null))
Expand Down

0 comments on commit 57c8571

Please sign in to comment.