Merged
Conversation
Co-authored-by: Niklas Buse <63686539+ScreepCode@users.noreply.github.com>
# 🚀 Pull Request ## Brief Description This pull request introduces a long press event on the version number of the application to copy that version number for a better bug reporting experience ## Linked Issues - Closes #118 ## GitHub Copilot Text This pull request focuses on enhancing the user experience by adding a feature to copy the app version to the clipboard and providing appropriate feedback. The most important changes include updates to localization files and the addition of a long press event in the `VersionInfoTile` widget. Localization updates: * [`lib/l10n/app_de.arb`](diffhunk://#diff-36252c65ab82cbff4774b4983cb9027a2bef4cb738d5ea656c0b903939b3871aR53): Added a new localization string for the message displayed when the version is copied to the clipboard. * [`lib/l10n/app_en.arb`](diffhunk://#diff-9796fde3771f42a3a759ccc941731d83f96037a661e47dde27ce81d3447a69c2R55): Added a new localization string for the message displayed when the version is copied to the clipboard. UI enhancements: * [`lib/presentation/profile/screen/widgets/about_section.dart`](diffhunk://#diff-197e39590bc20cb68315c71e72ce18ac8769752a8152dbab25ab51384a8d2839R252-R259): Added a long press event to the `VersionInfoTile` widget to copy the app version to the clipboard and display a snackbar message confirming the action.
# 🚀 Pull Request ## Brief Description This pull request resolves an issue with a wrong rounding of distances in workouts ## Linked Issues - Fixes #130 ## GitHub Copilot Text This pull request includes a small but important change to the `lib/data/repositories/base_local_health_impl.dart` file. The change involves modifying the way the `totalDistance` is calculated and assigned in the `BaseLocalHealthRepoImpl` class. * [`lib/data/repositories/base_local_health_impl.dart`](diffhunk://#diff-d65e3fe018d4f55ec02d268560a3058f224079bd55bcebd461a01bbc171e4abbR163-R169): Introduced a new variable `distance` to store the rounded distance value before converting it to an integer and assigning it to `totalDistance`. This ensures that the distance is rounded to two decimal places before being multiplied by 1000 and converted to an integer.
ScreepCode
approved these changes
Apr 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MoveTopia Update Changelog
New functions
Bug fixes
Neue Funktionen
Fehlerbehebungen