Skip to content
Success

Changes

Summary

  1. Make SortOrderOption.order nullable. Some order options already imply ascending or descending order (e.g. most recent, least recent, etc). (commit: ab44130) (details)
Commit ab441302d044e5da433e504f92fc5269becd87e2 by Mike Dawson
Make SortOrderOption.order nullable. Some order options already imply ascending or descending order (e.g. most recent, least recent, etc).

Where SortOrderOption.order = null, then no (Ascending) or (Descending) text will be added by sort option bottom sheets/dropdowns etc.
(commit: ab44130)
The file was addedlib-ui-compose/src/commonMain/kotlin/com/ustadmobile/libuicompose/util/ext/SortOrderOptionExt.kt
The file was modifiedapp-react/src/jsMain/kotlin/com/ustadmobile/mui/components/UstadListSortHeader.kt (diff)
The file was modifiedcore/src/commonMain/kotlin/com/ustadmobile/core/util/SortOrderOption.kt (diff)
The file was removedapp-android/src/main/java/com/ustadmobile/port/android/view/LanguageListFragment.kt
The file was modifiedlib-ui-compose/src/commonMain/kotlin/com/ustadmobile/libuicompose/components/UstadListSortHeader.kt (diff)
The file was removedapp-android/src/main/java/com/ustadmobile/port/android/view/composable/UstadListSortHeader.kt
The file was modifiedlib-ui-compose/src/commonMain/kotlin/com/ustadmobile/libuicompose/components/UstadSortOptionsBottomSheet.kt (diff)
The file was addedapp-react/src/jsMain/kotlin/com/ustadmobile/util/ext/SortOrderOptionExt.kt