package org.zaine.management.ui

import androidx.lifecycle.ViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import org.zaine.management.data.SessionStore
import javax.inject.Inject

@HiltViewModel
class RootViewModel @Inject constructor(
    sessionStore: SessionStore
) : ViewModel() {
    val startRoute: AppRoute = if (sessionStore.token.isNullOrBlank()) AppRoute.Login else AppRoute.Today
}
