Skip to content

refactor: added version info to settings sheet#42

Merged
ardevd merged 3 commits intomainfrom
version-info-in-settings
Feb 8, 2026
Merged

refactor: added version info to settings sheet#42
ardevd merged 3 commits intomainfrom
version-info-in-settings

Conversation

@ardevd
Copy link
Owner

@ardevd ardevd commented Feb 8, 2026

No description provided.

@ardevd ardevd self-assigned this Feb 8, 2026
@ardevd ardevd added the enhancement New feature or request label Feb 8, 2026
Copilot AI review requested due to automatic review settings February 8, 2026 20:12
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds app version information to the Settings bottom sheet so users can see what build they’re running.

Changes:

  • Added a new versionText TextView to the settings layout.
  • Populated the version label at runtime using BuildConfig.VERSION_NAME.
  • Enabled buildConfig generation in the app module build features.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
app/src/main/res/layout/fragment_settings.xml Adds a footer-style version label and adjusts constraints in the settings sheet layout.
app/src/main/java/net/ardevd/tagius/features/settings/ui/SettingsBottomSheet.kt Sets the version label text from BuildConfig.VERSION_NAME during view creation.
app/build.gradle.kts Enables BuildConfig generation so VERSION_NAME can be referenced.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +30 to +33
// Show version info
val version = BuildConfig.VERSION_NAME
binding.versionText.text = "v$version"

Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version label is built with a hardcoded prefix ("v$version"). For localization and consistency with Android string handling, prefer a formatted string resource (e.g., @string/settings_version_format with %1$s) and set binding.versionText.text = getString(...).

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link

Copilot AI commented Feb 8, 2026

@ardevd I've opened a new pull request, #43, to work on those changes. Once the pull request is ready, I'll request review from you.

@ardevd ardevd merged commit c1e0fe3 into main Feb 8, 2026
2 checks passed
@ardevd ardevd deleted the version-info-in-settings branch February 8, 2026 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants