Conversation
New Crowdin updates
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.
This pull request introduces WearOS integration to the app by adding support for detecting connected WearOS devices and prompting users to install the Essentials Wear companion app if none is detected. It includes a new
WatchViewModel, a newWatchSettingsUIcomposable, and updates to the settings activity to support these features. Additionally, new user-facing strings are added for the watch companion prompt, and the app's version is incremented.WearOS Integration:
WatchViewModelinapp/src/main/java/com/sameerasw/essentials/viewmodels/WatchViewModel.ktto check for connected WearOS devices using the Wearable API. ([app/src/main/java/com/sameerasw/essentials/viewmodels/WatchViewModel.ktR1-R19](https://github.com/sameerasw/essentials/pull/182/files#diff-a3dc92db2ec32303cc77aca13add6af447685548116bffc629541c0b47d1609eR1-R19))WatchSettingsUIcomposable inapp/src/main/java/com/sameerasw/essentials/ui/composables/configs/WatchSettingsUI.ktthat displays a prompt to install the companion app if no watch is detected. ([app/src/main/java/com/sameerasw/essentials/ui/composables/configs/WatchSettingsUI.ktR1-R74](https://github.com/sameerasw/essentials/pull/182/files#diff-a266951f24449eaa563fa66d7793c25f017387d1456048fd66231dabc48300ceR1-R74))FeatureSettingsActivityto initialize and useWatchViewModel, call itscheckmethod when the "Watch" feature is selected, and displayWatchSettingsUIin the UI when appropriate. ([[1]](https://github.com/sameerasw/essentials/pull/182/files#diff-dd3d9f46d2b3a6d22fe1e3d6c01d0731ea48d3f11f5890898dde2d0e7f40ce60R70-R77),[[2]](https://github.com/sameerasw/essentials/pull/182/files#diff-dd3d9f46d2b3a6d22fe1e3d6c01d0731ea48d3f11f5890898dde2d0e7f40ce60R132),[[3]](https://github.com/sameerasw/essentials/pull/182/files#diff-dd3d9f46d2b3a6d22fe1e3d6c01d0731ea48d3f11f5890898dde2d0e7f40ce60R146-R148),[[4]](https://github.com/sameerasw/essentials/pull/182/files#diff-dd3d9f46d2b3a6d22fe1e3d6c01d0731ea48d3f11f5890898dde2d0e7f40ce60R318-R324))Localization and User Interface:
watch_no_companion_title,watch_no_companion_desc,watch_install_companion_action) in all language resource files. ([[1]](https://github.com/sameerasw/essentials/pull/182/files#diff-6348e200663bf76901952198da59acd66bea08e0d370904cef122fe8aeeb8879R1061-R1063),[[2]](https://github.com/sameerasw/essentials/pull/182/files#diff-275e22e5424874865d61be0a790c48168da5998ec6dd530c83fb33005bfa4449R1061-R1063),[[3]](https://github.com/sameerasw/essentials/pull/182/files#diff-7049c01dbaca09e41462205bc840bb2bdf6766f0b832e1ff68059c7fdfafadc8R1061-R1063),[[4]](https://github.com/sameerasw/essentials/pull/182/files#diff-a2529e239a99387f33127b7e3027bc8447c2392f428129f616ca7f319dd187fbR1061-R1063),[[5]](https://github.com/sameerasw/essentials/pull/182/files#diff-a6d840ab024d9085dfdd84fab1640c8e4a571d7da2be2e3029cd837348763fa3R1062-R1064))App Versioning and UI Tweaks:
24and version name to11.0inapp/build.gradle.kts. ([app/build.gradle.ktsL24-R25](https://github.com/sameerasw/essentials/pull/182/files#diff-8cff73265af19c059547b76aca8882cbaa3209291406f52df1dafbbc78e80c46L24-R25))DIYTabsfor a minor UI improvement. ([app/src/main/java/com/sameerasw/essentials/domain/DIYTabs.ktL7-R7](https://github.com/sameerasw/essentials/pull/182/files#diff-5dd60cce2d0984cbc8adc7fec2afbbc099594f9f69acd88588cd1e385d2425a6L7-R7))