minor code style update

This commit is contained in:
Tibor Kaputa 2023-08-24 23:19:25 +02:00 committed by GitHub
parent a3036b1b39
commit 5c66d18d72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,12 +40,8 @@ class ViewPagerAdapter(val activity: SimpleActivity, val tabsToShow: ArrayList<I
this.isGetRingtonePicker = isPickRingtoneIntent
this.isPickMultipleIntent = allowPickingMultipleIntent
this.isGetContentIntent = isGetContentIntent
if (extraMimeTypes != null) {
this.wantedMimeTypes = extraMimeTypes.toList()
} else {
this.wantedMimeTypes = listOf(getContentMimeType)
}
this.updateIsCreateDocumentIntent(isCreateDocumentIntent)
wantedMimeTypes = extraMimeTypes?.toList() ?: listOf(getContentMimeType)
updateIsCreateDocumentIntent(isCreateDocumentIntent)
setupFragment(activity)
onResume(activity.getProperTextColor())