HistoryStrings

data class HistoryStrings(val title: String = Localization.string("title_gallery"), val empty: String = Localization.string("gallery_empty_title"), val refresh: String = Localization.string("action_update"), val imageUnavailable: String = Localization.string("message_image_unavailable"), val resultMeta: (AiGenerationResult) -> String = { item -> Localization.string( "history_result_meta", item.width, item.height, item.samplingSteps, item.cfgScale, ) })(source)

Carries HistoryStrings data through the SDAI presentation layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(title: String = Localization.string("title_gallery"), empty: String = Localization.string("gallery_empty_title"), refresh: String = Localization.string("action_update"), imageUnavailable: String = Localization.string("message_image_unavailable"), resultMeta: (AiGenerationResult) -> String = { item -> Localization.string( "history_result_meta", item.width, item.height, item.samplingSteps, item.cfgScale, ) })

Properties

Link copied to clipboard

Exposes the empty value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the imageUnavailable value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the refresh value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the resultMeta value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the title value used by the SDAI presentation layer.