minor whitespace fixes

This commit is contained in:
Daniel Micay 2023-04-22 09:33:16 -04:00
parent 195bba7891
commit 29a004091e
5 changed files with 6 additions and 11 deletions

View File

@ -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
} }
} }
} }

View File

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

View File

@ -108,6 +108,4 @@ class DocumentPropertiesLoader(
} }
return collections return collections
} }
}
}

View File

@ -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);
}
}

View File

@ -44,6 +44,4 @@ class PDFJsPropertiesToDocumentPropertyConverter(
} }
return value return value
} }
}
}