minor code style update
This commit is contained in:
parent
a3036b1b39
commit
5c66d18d72
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue