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
1 changed files with 2 additions and 6 deletions

View File

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