From de2ca726f68cc99debf0d9052f6e2b33989fe6a5 Mon Sep 17 00:00:00 2001 From: Avior Date: Thu, 23 Feb 2023 15:06:29 +0100 Subject: [PATCH] fix: Add service boot item --- .editorconfig | 1 + app/src/main/AndroidManifest.xml | 20 +++++-- .../com/dzeio/openhealth/data/AppDatabase.kt | 60 +++++++++++++++++++ .../dzeio/openhealth/services/ServiceBoot.kt | 16 +++++ .../ui/weight/ListWeightFragment.kt | 20 ++++--- .../ui/weight/ListWeightViewModel.kt | 7 +-- .../android/en-GB/short_description.txt | 1 + 7 files changed, 107 insertions(+), 18 deletions(-) create mode 100644 app/src/main/java/com/dzeio/openhealth/services/ServiceBoot.kt diff --git a/.editorconfig b/.editorconfig index 36ad7bc..90b15bb 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,6 +7,7 @@ charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true max_line_length = 120 + [*.md] indent_size = 2 trim_trailing_whitespace = false diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 0d268e5..81699a6 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -9,13 +9,13 @@ - + - - + + - + + + + + + + - + = _massUnit - private val _goalWeight = settings.getFloat(Settings.WEIGHT_GOAL) - val goalWeight = _goalWeight.toLiveData() + val goalWeight = settings.getFloat(Settings.WEIGHT_GOAL).toLiveData() private val _weights = MutableLiveData?>(null) val weights: LiveData?> = _weights diff --git a/fastlane/metadata/android/en-GB/short_description.txt b/fastlane/metadata/android/en-GB/short_description.txt index e69de29..3e087a6 100644 --- a/fastlane/metadata/android/en-GB/short_description.txt +++ b/fastlane/metadata/android/en-GB/short_description.txt @@ -0,0 +1 @@ +Your privacy-friendly FOSS Health Application