Skip to content

Commit

Permalink
[Teacher][RC-1.8.0] Bump version, enable module list (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanMarshall authored May 3, 2019
1 parent 179adf2 commit 07247f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apps/teacher/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ android {
defaultConfig {
minSdkVersion Versions.MIN_SDK
targetSdkVersion Versions.TARGET_SDK
versionCode = 19
versionName = '1.7.2'
versionCode = 20
versionName = '1.8.0'
vectorDrawables.useSupportLibrary = true
multiDexEnabled true
testInstrumentationRunner 'com.instructure.canvas.espresso.CanvasRunner'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ class CourseBrowserFragment : BaseSyncFragment<
Tab.ANNOUNCEMENTS_ID,
Tab.PEOPLE_ID,
Tab.FILES_ID,
Tab.PAGES_ID -> true
Tab.MODULES_ID -> FeatureFlags.moduleList
Tab.PAGES_ID,
Tab.MODULES_ID -> true
else -> {
if(attendanceId != 0L && tab.tabId.endsWith(attendanceId.toString())) {
TeacherPrefs.attendanceExternalToolId = tab.tabId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@
*/
package com.instructure.teacher.utils

import com.instructure.canvasapi2.utils.FeatureFlagPref
import com.instructure.canvasapi2.utils.PrefManager

object FeatureFlags : PrefManager("feature_flags") {

var moduleList by FeatureFlagPref("Course Module List")

}

0 comments on commit 07247f7

Please sign in to comment.