Skip to content

Language PR: Vietnamese + Update dynamic theme logic#251

Merged
koiverse merged 8 commits intokoiverse:devfrom
sang765:dev
Jan 28, 2026
Merged

Language PR: Vietnamese + Update dynamic theme logic#251
koiverse merged 8 commits intokoiverse:devfrom
sang765:dev

Conversation

@sang765
Copy link
Copy Markdown
Contributor

@sang765 sang765 commented Jan 27, 2026

Description

  • This is small PR for add Vietnamese to ArchiveTune.

Screenshot

Screenshot_20260127-224729 Screenshot_20260127-224350 Screenshot_20260127-224449 Screenshot_20260127-224516

But 100% translation because some strings not added in string folder

Engine and others added 8 commits January 27, 2026 14:32
…e-translations-to-the-archivetune-a

Add Vietnamese (VI) language translations to ArchiveTune Android app
…lectable-language-option-in-setting

Add Vietnamese (VI) language support
…-chuc-nang-enable-dynamic-theme-e-x

Update dynamic theme logic for Android 12+ and Android 11-
@sang765
Copy link
Copy Markdown
Contributor Author

sang765 commented Jan 27, 2026

Added "Update dynamic theme logic for Android 12+ and Android 11-" - da13bec

Updated the "Enable dynamic theme" functionality to handle different Android versions appropriately:

Android 12+ (API 31+):

  • Hide "Color Palette" option in AppearanceSettings when dynamic theme is enabled
  • Use system's dynamic color scheme from wallpaper when no song in queue
  • Extract colors from song thumbnail when song is playing

Android 11 and below (API 30-):

  • Always show "Color Palette" option regardless of dynamic theme setting
  • Use the Color Palette selection when no song in queue (cannot access wallpaper colors)
  • Extract colors from song thumbnail when song is playing

Files Changed:

  1. AppearanceSettings.kt - Updated visibility condition for Color Palette option
  2. MainActivity.kt - Updated theme color selection logic to check Android version

Both files already had the necessary android.os.Build import, so no additional imports were needed.

@sang765 sang765 changed the title Language PR: Vietnamese Language PR: Vietnamese + Update dynamic theme logic Jan 27, 2026
@koiverse
Copy link
Copy Markdown
Owner

thanks!

@koiverse koiverse merged commit 51d104f into koiverse:dev Jan 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants