Skip to content

Commit

Permalink
Rename two more occurrences of main account concept
Browse files Browse the repository at this point in the history
  • Loading branch information
sunkup committed Sep 18, 2024
1 parent cbb2718 commit 6e5b3c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import at.bitfire.davdroid.ui.setup.LoginActivity


/**
* Account authenticator for the main DAVx5 account type.
* Account authenticator for the DAVx5 account type.
*/
class AccountAuthenticatorService: Service() {

Expand Down
4 changes: 2 additions & 2 deletions app/src/main/kotlin/at/bitfire/davdroid/ui/DebugInfoModel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ class DebugInfoModel @AssistedInject constructor(
writer.append("\n\n - Account: ${account.name}\n")
val accountSettings = accountSettingsFactory.create(account)

writer.append(dumpAccount(account, accountSettings, AccountDumpInfo.mainAccount(context, account)))
writer.append(dumpAccount(account, accountSettings, AccountDumpInfo.caldavAccount(context, account)))
try {
val credentials = accountSettings.credentials()
val authStr = mutableListOf<String>()
Expand Down Expand Up @@ -599,7 +599,7 @@ data class AccountDumpInfo(

companion object {

fun mainAccount(context: Context, account: Account) = listOf(
fun caldavAccount(context: Context, account: Account) = listOf(
AccountDumpInfo(account, context.getString(R.string.address_books_authority), null, null),
AccountDumpInfo(account, CalendarContract.AUTHORITY, CalendarContract.Events.CONTENT_URI.asCalendarSyncAdapter(account), "event(s)"),
AccountDumpInfo(account, TaskProvider.ProviderName.JtxBoard.authority, JtxContract.JtxICalObject.CONTENT_URI.asJtxSyncAdapter(account), "jtx Board ICalObject(s)"),
Expand Down

0 comments on commit 6e5b3c5

Please sign in to comment.