minor whitespace fixes
This commit is contained in:
parent
195bba7891
commit
29a004091e
@ -9,7 +9,7 @@ import com.google.android.material.dialog.MaterialAlertDialogBuilder
|
|||||||
|
|
||||||
class DocumentPropertiesFragment : DialogFragment() {
|
class DocumentPropertiesFragment : DialogFragment() {
|
||||||
|
|
||||||
//TODO replace with nav args once the `PdfViewer` activity is converted to kotlin
|
// TODO replace with nav args once the `PdfViewer` activity is converted to kotlin
|
||||||
private val mDocumentProperties: List<String> by lazy {
|
private val mDocumentProperties: List<String> by lazy {
|
||||||
requireArguments().getStringArrayList(KEY_DOCUMENT_PROPERTIES)?.toList() ?: emptyList()
|
requireArguments().getStringArrayList(KEY_DOCUMENT_PROPERTIES)?.toList() ?: emptyList()
|
||||||
}
|
}
|
||||||
@ -50,4 +50,4 @@ class DocumentPropertiesFragment : DialogFragment() {
|
|||||||
return fragment
|
return fragment
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -57,4 +57,4 @@ class JumpToPageFragment : DialogFragment() {
|
|||||||
outState.putInt(STATE_PICKER_MAX, mPicker.maxValue)
|
outState.putInt(STATE_PICKER_MAX, mPicker.maxValue)
|
||||||
outState.putInt(STATE_PICKER_CUR, mPicker.value)
|
outState.putInt(STATE_PICKER_CUR, mPicker.value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -108,6 +108,4 @@ class DocumentPropertiesLoader(
|
|||||||
}
|
}
|
||||||
return collections
|
return collections
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
@ -32,5 +32,4 @@ enum class DocumentProperty(
|
|||||||
Producer(key = PRODUCER_KEY, nameResource = R.string.producer),
|
Producer(key = PRODUCER_KEY, nameResource = R.string.producer),
|
||||||
Creator(key = CREATOR_KEY, nameResource = R.string.creator),
|
Creator(key = CREATOR_KEY, nameResource = R.string.creator),
|
||||||
PDFVersion(key = PDF_VERSION_KEY, nameResource = R.string.pdf_version);
|
PDFVersion(key = PDF_VERSION_KEY, nameResource = R.string.pdf_version);
|
||||||
|
}
|
||||||
}
|
|
||||||
|
@ -44,6 +44,4 @@ class PDFJsPropertiesToDocumentPropertyConverter(
|
|||||||
}
|
}
|
||||||
return value
|
return value
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user