SettingsState

constructor(loading: Boolean = true, onBoardingDemo: Boolean = false, screenModal: SettingsModal = SettingsModal.None, serverSource: ServerSource = ServerSource.AUTOMATIC1111, sdModels: List<String> = emptyList(), sdModelSelected: String = "", stabilityAiCredits: Float = 0.0f, localUseNNAPI: Boolean = false, backgroundGenerationAvailable: Boolean = false, backgroundGeneration: Boolean = false, monitorConnectivity: Boolean = false, autoSaveAiResults: Boolean = false, saveToMediaStore: Boolean = false, formAdvancedOptionsAlwaysShow: Boolean = false, formPromptTaggedInput: Boolean = false, useSystemColorPalette: Boolean = false, useSystemDarkTheme: Boolean = false, darkTheme: Boolean = false, colorToken: ColorToken = ColorToken.MAUVE, darkThemeToken: DarkThemeToken = DarkThemeToken.FRAPPE, galleryGrid: Grid = Grid.Fixed2, developerMode: Boolean = false, appVersion: String = "", storageUsageBytes: Long = 0, networkUsageBytes: Long = 0)(source)

Parameters

loading

True while Settings should show placeholder rows.

onBoardingDemo

Whether demo onboarding mode hides provider configuration actions.

screenModal

Modal currently shown above Settings.

serverSource

Current generation provider.

sdModels

Provider model names shown in the Settings picker.

sdModelSelected

Current provider model selection.

stabilityAiCredits

Current Stability AI balance shown in Settings.

localUseNNAPI

Whether ONNX local diffusion should use NNAPI acceleration.

backgroundGenerationAvailable

Whether background generation is supported by this target.

backgroundGeneration

Whether background generation is currently enabled.

monitorConnectivity

Whether server connectivity monitoring is enabled.

autoSaveAiResults

Whether generated images should be saved automatically.

saveToMediaStore

Whether generated images should be saved to the public gallery.

formAdvancedOptionsAlwaysShow

Whether advanced generation options are always expanded.

formPromptTaggedInput

Whether tagged prompt input mode is enabled.

useSystemColorPalette

Whether system dynamic colors should be used.

useSystemDarkTheme

Whether system dark theme should drive app theme.

darkTheme

Whether dark theme is currently enabled.

colorToken

Selected static color palette token.

darkThemeToken

Selected dark theme palette token.

galleryGrid

Selected gallery grid density.

developerMode

Whether developer-only Settings rows are visible.

appVersion

Version string shown in Settings.

storageUsageBytes

Current total storage bytes shown in the Settings summary row.

networkUsageBytes

Current total network bytes shown in the Settings summary row.