package de.mm20.launcher2.ui.settings.integrations

import androidx.lifecycle.ViewModel
import de.mm20.launcher2.accounts.AccountType
import de.mm20.launcher2.accounts.AccountsRepository
import org.koin.core.component.KoinComponent
import org.koin.core.component.inject

class IntegrationsSettingsScreenVM : ViewModel(), KoinComponent {
    private val accountsRepository: AccountsRepository by inject()

    val isGoogleAvailable = accountsRepository.isSupported(AccountType.Google)
}