package Ġme . ros uh . easy watermark . di Ċ Ċ import Ġandroidx . datastore . core . DataStore Ċ import Ġandroidx . datastore . preferences . core . Preferences Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġdagger . h ilt . Install In Ċ import Ġdagger . h ilt . components . Singleton Component Ċ import Ġme . ros uh . easy watermark . data . repo . Memory Setting Repo Ċ import Ġme . ros uh . easy watermark . data . repo . User Config Repository Ċ import Ġme . ros uh . easy watermark . data . repo . Water Mark Repository Ċ import Ġjavax . inject . Named Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Module Ċ @ Install In ( Singleton Component :: class ) Ċ object ĠRepository Module Ġ{ ĊĊĠĠĠ Ġ@ Named (" User Preferences ") ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġfun Ġprovide UserRepository ( data Store : ĠData Store < Preferences >): ĠUser Config Repository Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠUser Config Repository ( data Store ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Named (" Water Mark Preferences ") ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġfun Ġprovide Water Mark Repository ( data Store : ĠData Store < Preferences >): ĠWater Mark Repository Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠWater Mark Repository ( data Store ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Named (" Water Mark Preferences ") ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġfun Ġprovide Memory Setting Repository (): ĠMemory Setting Repo Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠMemory Setting Repo () ĊĠĠĠ Ġ} Ċ }