diff --git a/apps/student/build.gradle b/apps/student/build.gradle index 46a2627225..161361abf9 100644 --- a/apps/student/build.gradle +++ b/apps/student/build.gradle @@ -58,7 +58,7 @@ android { applicationId "com.instructure.candroid" minSdkVersion Versions.MIN_SDK targetSdkVersion Versions.TARGET_SDK - versionCode = 217 + versionCode = 218 versionName = '6.9.0' vectorDrawables.useSupportLibrary = true diff --git a/apps/student/src/main/java/com/instructure/student/adapter/ModuleListRecyclerAdapter.kt b/apps/student/src/main/java/com/instructure/student/adapter/ModuleListRecyclerAdapter.kt index 66a189d8a8..86ef9aaa8c 100644 --- a/apps/student/src/main/java/com/instructure/student/adapter/ModuleListRecyclerAdapter.kt +++ b/apps/student/src/main/java/com/instructure/student/adapter/ModuleListRecyclerAdapter.kt @@ -365,7 +365,8 @@ open class ModuleListRecyclerAdapter( val tabs = awaitApi> { TabManager.getTabs(courseContext, it, isRefresh) } .filter { !(it.isExternal && it.isHidden) } - if (tabs.find { it.tabId == "modules" } != null) { + // We only want to show modules if its a course nav option OR set to as the homepage + if (tabs.find { it.tabId == "modules" } != null || (courseContext as Course).homePage?.apiString == "modules") { ModuleManager.getFirstPageModuleObjects(courseContext, mModuleObjectCallback!!, true) } else { adapterToFragmentCallback?.onRefreshFinished(true)