IMPORTANT: The file content has been truncated. Status: Showing lines 320-360 of 419 total lines. Action: To read more of the file, you can use the 'start_line' and 'end_line' parameters in a subsequent 'read_file' call. For example, to read the next section of the file, use start_line: 361. --- FILE CONTENT (truncated) --- } } // --- Fakes --- class FakeAppPreferencesStore : AppPreferencesStore { private val prefsFlow = MutableStateFlow(AppPreferences(vaultUriString = "content://vault")) override val preferences: Flow = prefsFlow override suspend fun setVaultUri(uri: String?) { prefsFlow.value = prefsFlow.value.copy(vaultUriString = uri) } override suspend fun setDefaultOdometerUnit(unit: OdometerUnit) { prefsFlow.value = prefsFlow.value.copy(defaultOdometerUnit = unit) } override suspend fun setDefaultCurrency(currency: String) { prefsFlow.value = prefsFlow.value.copy(defaultCurrency = currency) } override suspend fun setIsPremiumCached(value: Boolean) { prefsFlow.value = prefsFlow.value.copy(isPremiumCached = value) } override suspend fun setDebugBillingOverrideMode(mode: DebugBillingOverrideMode) { prefsFlow.value = prefsFlow.value.copy(debugBillingOverrideMode = mode) } override suspend fun setCrashReportingEnabled(enabled: Boolean) { prefsFlow.value = prefsFlow.value.copy(crashReportingEnabled = enabled) } } class FakeVaultStorage : VaultStorage { var isEmpty = true var isVault = false var moveResult: Result = Result.success(Unit) var lastMoveUri: Uri? = null override fun isConfigured(): Boolean = true