package com.example.wabi.view.components.bars.bottom

import androidx.lifecycle.ViewModel
import androidx.navigation.NavHostController
import com.example.wabi.domain.navigation.NavigationProvider
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject

@HiltViewModel
class BottomBarViewModel @Inject constructor(private val nav: NavigationProvider) : ViewModel() {
    fun changeScreen(
        navHostController: NavHostController, whereFrom: String, where: String
    ) {
        nav.goToNextScreen(
            navHostController = navHostController, whereFrom = whereFrom, where = where
        )
    }
}