diff --git a/android/app/src/main/java/com/fabledsword/minstrel/auth/AuthStore.kt b/android/app/src/main/java/com/fabledsword/minstrel/auth/AuthStore.kt index 7319b662..c4f493f8 100644 --- a/android/app/src/main/java/com/fabledsword/minstrel/auth/AuthStore.kt +++ b/android/app/src/main/java/com/fabledsword/minstrel/auth/AuthStore.kt @@ -28,6 +28,14 @@ import javax.inject.Singleton * sees the new value immediately; the DAO write coroutine catches up * shortly after. */ +// AuthStore is the single-row facade over auth_session (de-facto +// app_preferences — see entity comment). It legitimately owns one +// getter + one setter + one persist helper per pref column; the +// function count scales with the pref count, not with feature +// complexity. Splitting into per-pref stores would scatter the +// shared dao + scope + json plumbing for no real gain. Suppress +// the cap rather than fragment. +@Suppress("TooManyFunctions") @Singleton class AuthStore @Inject constructor( private val dao: AuthSessionDao,