Skip to content

Profile Screen -> Profile Color - #734

Merged
imashnake0 merged 5 commits into
mainfrom
profile-color
Jul 24, 2026
Merged

Profile Screen -> Profile Color#734
imashnake0 merged 5 commits into
mainfrom
profile-color

Conversation

@imashnake0

@imashnake0 imashnake0 commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Use profile color from anilist.

Summary of changes:

  1. Query and use profile color from anilist.
  2. Add a toggle in settings to use profile color.

Tested changes:

huh
comment: # (THANK YOU! ♡(灬♥ ◡ ♥灬)

@imashnake0 imashnake0 self-assigned this Jul 24, 2026
@imashnake0 imashnake0 added the enhancement Enhancement label Jul 24, 2026
).toImmutableList()
)

/** Profile highlight color (blue, purple, pink, orange, red, green, gray) */

/** Profile highlight color (blue, purple, pink, orange, red, green, gray) */
enum class ProfileColors {
BLUE, PURPLE, PINK, ORANGE, RED, GREEN, GRAY;

/** Profile highlight color (blue, purple, pink, orange, red, green, gray) */
enum class ProfileColors {
BLUE, PURPLE, PINK, ORANGE, RED, GREEN, GRAY;

/** Profile highlight color (blue, purple, pink, orange, red, green, gray) */
enum class ProfileColors {
BLUE, PURPLE, PINK, ORANGE, RED, GREEN, GRAY;

/** Profile highlight color (blue, purple, pink, orange, red, green, gray) */
enum class ProfileColors {
BLUE, PURPLE, PINK, ORANGE, RED, GREEN, GRAY;
.accessToken
.map { !it.isNullOrEmpty() }

val useProfileColor = preferencesRepository.useProfileColor.filterNotNull()
private const val SYSTEM_DAY_PART = "SYSTEM"
private const val ANIMITE = "Animite"

// TODO: What a hodgepodge, do something.
)
}
1 -> {
// TODO: Add color options and mutate.
}
val animeListsIndices = preferencesRepository.animeListsIndices.filterNotNull()
val showUserDescription = preferencesRepository.showUserDescription.filterNotNull()
val useProfileColor = preferencesRepository.useProfileColor.filterNotNull()
preferencesRepository.setShowUserDescription(showUserDescription)
}

fun setUseProfileColor(useProfileColor: Boolean) = viewModelScope.launch(Dispatchers.IO) {
@imashnake0
imashnake0 marked this pull request as ready for review July 24, 2026 20:45
@imashnake0
imashnake0 merged commit 0f5139b into main Jul 24, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants