package app.k9mail.feature.account.setup.ui.options.display

import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import app.k9mail.core.ui.compose.designsystem.PreviewWithTheme
import app.k9mail.feature.account.common.ui.fake.FakeAccountStateRepository
import app.k9mail.feature.account.setup.ui.fake.FakeAppNameProvider

@Composable
@Preview(showBackground = true)
internal fun DisplayOptionsScreenPreview() {
    PreviewWithTheme {
        DisplayOptionsScreen(
            onNext = {},
            onBack = {},
            viewModel = DisplayOptionsViewModel(
                validator = DisplayOptionsValidator(),
                accountStateRepository = FakeAccountStateRepository(),
                accountOwnerNameProvider = { null },
            ),
            appNameProvider = FakeAppNameProvider,
        )
    }
}
