Skip to content

Commit

Permalink
Release Teacher 1.18.3 (51)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaskozmer authored Jun 28, 2022
2 parents 679761c + b5e335c commit 8f971b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions apps/teacher/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ android {
defaultConfig {
minSdkVersion Versions.MIN_SDK
targetSdkVersion Versions.TARGET_SDK
versionCode = 50
versionName = '1.18.2'
versionCode = 51
versionName = '1.18.3'
vectorDrawables.useSupportLibrary = true
multiDexEnabled true
testInstrumentationRunner 'com.instructure.teacher.ui.espresso.TeacherHiltTestRunner'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ import com.instructure.interactions.Identity
import com.instructure.interactions.router.Route
import com.instructure.teacher.router.RouteMatcher
import com.instructure.teacher.router.RouteResolver
import dagger.hilt.android.AndroidEntryPoint
import kotlinx.android.synthetic.main.activity_master_detail.*
import retrofit2.Response

@AndroidEntryPoint
class MasterDetailActivity : BaseAppCompatActivity(), MasterDetailInteractions {

private var mRoute: Route? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@
*/
package com.instructure.teacher.fragments

import android.graphics.Color
import android.view.View
import androidx.appcompat.app.AlertDialog
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.instructure.canvasapi2.managers.UserManager
import com.instructure.canvasapi2.models.CanvasContext
import com.instructure.canvasapi2.models.DiscussionTopicHeader
import com.instructure.canvasapi2.utils.ApiPrefs
import com.instructure.canvasapi2.utils.RemoteConfigUtils
import com.instructure.interactions.router.Route
import com.instructure.pandautils.analytics.SCREEN_VIEW_DISCUSSION_LIST
import com.instructure.pandautils.analytics.ScreenView
Expand All @@ -39,15 +40,12 @@ import com.instructure.teacher.router.RouteMatcher
import com.instructure.teacher.utils.RecyclerViewUtils
import com.instructure.teacher.utils.setupBackButton
import com.instructure.teacher.viewinterface.DiscussionListView
import dagger.hilt.android.AndroidEntryPoint
import kotlinx.android.synthetic.main.fragment_discussion_list.*
import org.greenrobot.eventbus.EventBus
import org.greenrobot.eventbus.Subscribe
import org.greenrobot.eventbus.ThreadMode
import javax.inject.Inject

@ScreenView(SCREEN_VIEW_DISCUSSION_LIST)
@AndroidEntryPoint
open class DiscussionsListFragment : BaseExpandableSyncFragment<
String,
DiscussionTopicHeader,
Expand All @@ -56,8 +54,7 @@ open class DiscussionsListFragment : BaseExpandableSyncFragment<
RecyclerView.ViewHolder,
DiscussionListAdapter>(), DiscussionListView {

@Inject
lateinit var featureFlagProvider: FeatureFlagProvider
val featureFlagProvider: FeatureFlagProvider = FeatureFlagProvider(UserManager, RemoteConfigUtils, ApiPrefs)

protected var mCanvasContext: CanvasContext by ParcelableArg(default = CanvasContext.getGenericContext(CanvasContext.Type.COURSE, -1L, ""))

Expand Down

0 comments on commit 8f971b9

Please sign in to comment.