package Ġio . pet ros . movies . datastore Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroidx . datastore . preferences . core . boolean Preferences Key Ċ import Ġandroidx . datastore . preferences . preferences DataStore Ċ Ċ private Ġconst Ġval ĠSET T INGS Ġ= Ġ" settings " Ċ Ċ private Ġval ĠContext . settings Ġby Ġpreferences DataStore ( SETTINGS ) Ċ Ċ @ Suppress (" Synt hetic Accessor ") Ċ class ĠMov ies Datastore ( ĊĠĠĠ Ġprivate Ġval Ġcontext : ĠContext , Ċ ) Ġ{ ĊĊĠĠĠ Ġfun Ġsettings () Ġ= Ġcontext . settings ĊĊĠĠĠ Ġfun Ġis Compose Enabled () Ġ= Ġboolean Preferences Key ( IS _ COMP OSE _ ENABLED _ KEY ) ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠIS _ COMP OSE _ ENABLED _ KEY Ġ= Ġ" is _ compose _ enabled " ĊĊĠĠĠ Ġ} Ċ Ċ } Ċ