Skip to content

Commit

Permalink
GC-59 Fix format issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nsalazar0429 committed May 7, 2024
1 parent adcd0ec commit 74ce9d3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import com.example.studentportal.common.ui.showBaseDialogFragment
import com.example.studentportal.course.ui.layout.CourseContentLayout
import com.example.studentportal.course.ui.model.UserType
import com.example.studentportal.course.ui.viewmodel.CourseContentViewModel
import com.example.studentportal.course.ui.viewmodel.CourseDetailsViewModel
import com.example.studentportal.databinding.FragmentCourseBinding

class CourseContentFragment(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.example.studentportal.course.ui.viewmodel

import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.viewModelScope
import androidx.lifecycle.viewmodel.initializer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,14 +352,14 @@ class CourseInputFragmentTest {
launchFragmentInContainer<CourseContentFragment>(
fragmentArgs = bundleOf(
CourseContentFragment.KEY_COURSE_ID to "courseId",
CourseContentFragment.KEY_USER_TYPE to UserType.FACULTY.name,
CourseContentFragment.KEY_USER_TYPE to UserType.FACULTY.name
),
factory = object : FragmentFactory() {
override fun instantiate(classLoader: ClassLoader, className: String): Fragment {
return CourseContentFragment(
viewModelFactory {
initializer {
viewModel
viewModel
}
}
)
Expand Down

0 comments on commit 74ce9d3

Please sign in to comment.