Skip to content

Commit

Permalink
[feature/#835] Fix viewmodel naming
Browse files Browse the repository at this point in the history
  • Loading branch information
l2hyunwoo committed Sep 8, 2024
1 parent ce76b0a commit 9ac746f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ import java.util.Locale

@AndroidEntryPoint
class NotificationActivity : AppCompatActivity() {
private val viewModel by viewModels<NotificationHistoryViewModel>()
private val viewModel by viewModels<NotificationViewModel>()

@OptIn(ExperimentalMaterial3Api::class)
override fun onCreate(savedInstanceState: Bundle?) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import timber.log.Timber
import javax.inject.Inject

@HiltViewModel
class NotificationHistoryViewModel @Inject constructor(
class NotificationViewModel @Inject constructor(
private val repository: NotificationRepository
) : ViewModel() {
val notifications = Pager(
Expand Down

0 comments on commit 9ac746f

Please sign in to comment.