package Ġcom . cost ular . atom tasks . ui . features . settings Ċ Ċ import Ġcom . cost ular . atom tasks . domain . model . Theme Ċ import Ġcom . cost ular . atom tasks . domain . repository . Settings Repository Ċ import Ġkotlinx . coroutines . flow . Flow Ċ import Ġkotlinx . coroutines . flow . map Ċ Ċ class ĠSettings Repository Impl ( ĊĠĠĠ Ġprivate Ġval Ġsettings Local DataSource : ĠSettings Local DataSource , Ċ ) Ġ: ĠSettings Repository Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġobserve Theme (): ĠFlow < Theme > Ġ= ĊĠĠĠĠĠĠĠ Ġsettings Local DataSource . observe Theme () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. map Ġ{ ĠTheme . fromString ( it ) Ġ} ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġset Theme ( theme : ĠTheme ) Ġ{ ĊĠĠĠĠĠĠĠ Ġsettings Local DataSource . set Theme ( theme . asString ()) ĊĠĠĠ Ġ} Ċ } Ċ