Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 35a9dad

Browse files
Natfiiclaude
andcommitted
style: apply spotless formatting to repository files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 233daaa commit 35a9dad

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

app/src/main/java/com/zeroclaw/android/data/repository/DataStoreSettingsRepository.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,7 @@ class DataStoreSettingsRepository(
412412

413413
override suspend fun setGatewayBearerToken(token: String) = editSecure(SEC_GW_BEARER_TOKEN, token)
414414

415-
override suspend fun getGatewayBearerToken(): String =
416-
securePrefs.getString(SEC_GW_BEARER_TOKEN, "") ?: ""
415+
override suspend fun getGatewayBearerToken(): String = securePrefs.getString(SEC_GW_BEARER_TOKEN, "") ?: ""
417416

418417
override suspend fun setGatewayPairRateLimit(limit: Int) = edit { it[KEY_GW_PAIR_RATE] = limit }
419418

app/src/main/java/com/zeroclaw/android/data/repository/RoomAgentRepository.kt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,18 @@ class RoomAgentRepository(
4343
}
4444

4545
override suspend fun updatePrimaryAgentModel(model: String) {
46-
val primary = agents.first().firstOrNull {
47-
it.isEnabled && it.provider.isNotBlank()
48-
} ?: return
46+
val primary =
47+
agents.first().firstOrNull {
48+
it.isEnabled && it.provider.isNotBlank()
49+
} ?: return
4950
save(primary.copy(modelName = model))
5051
}
5152

5253
override suspend fun updatePrimaryAgentProvider(provider: String) {
53-
val primary = agents.first().firstOrNull {
54-
it.isEnabled && it.provider.isNotBlank()
55-
} ?: return
54+
val primary =
55+
agents.first().firstOrNull {
56+
it.isEnabled && it.provider.isNotBlank()
57+
} ?: return
5658
save(primary.copy(provider = provider))
5759
}
5860
}

0 commit comments

Comments
 (0)