diff --git a/.github/actions/flutter-common/action.yml b/.github/actions/flutter-common/action.yml index 800e70ab6..051656e5e 100644 --- a/.github/actions/flutter-common/action.yml +++ b/.github/actions/flutter-common/action.yml @@ -9,7 +9,7 @@ runs: uses: subosito/flutter-action@v2 with: channel: stable - flutter-version: 3.41.9 + flutter-version: 3.44.4 cache: true - name: Install Flutter dependencies diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index 6463dfd8e..4e7a67558 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -30,7 +30,7 @@ jobs: name: Run analyzer runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Common flutter setup uses: ./.github/actions/flutter-common @@ -39,7 +39,7 @@ jobs: run: flutter pub get - name: Analyze - run: flutter analyze --no-fatal-infos --no-fatal-warnings + run: flutter analyze - name: Check locale lists are in sync run: dart run tool/check_locales.dart diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml index da249ed40..eec4f6757 100644 --- a/.github/workflows/build-android.yml +++ b/.github/workflows/build-android.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout application - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: ref: ${{ inputs.ref }} @@ -56,7 +56,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout application - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: ref: ${{ inputs.ref }} diff --git a/.github/workflows/build-apple.yml b/.github/workflows/build-apple.yml index d95e5783c..1d23800bc 100644 --- a/.github/workflows/build-apple.yml +++ b/.github/workflows/build-apple.yml @@ -21,7 +21,7 @@ jobs: runs-on: macos-latest steps: - name: Checkout application - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: ref: ${{ inputs.ref }} @@ -49,10 +49,15 @@ jobs: runs-on: macos-latest steps: - name: Checkout application - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: ref: ${{ inputs.ref }} + - name: Xcode setup + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable + - name: Common flutter setup uses: ./.github/actions/flutter-common @@ -72,10 +77,15 @@ jobs: runs-on: macos-latest steps: - name: Checkout application - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: ref: ${{ inputs.ref }} + - name: Xcode setup + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable + - name: Common flutter setup uses: ./.github/actions/flutter-common diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 435efe115..758ff1990 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -44,7 +44,7 @@ jobs: # runner: ubuntu-24.04-arm steps: - name: Checkout application - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: ref: ${{ inputs.ref }} @@ -61,7 +61,7 @@ jobs: - name: Build application for linux run: | sudo apt update - sudo apt install -y pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev --no-install-recommends + sudo apt install -y pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev libsecret-1-dev libjsoncpp-dev --no-install-recommends flutter build linux --release tar -zcvf linux-${{ matrix.platform }}.tar.gz build/linux/${{ matrix.platform }}/release/bundle - uses: actions/upload-artifact@v7 @@ -83,7 +83,7 @@ jobs: steps: - name: Checkout flatpak-flathub repo - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: repository: wger-project/de.wger.flutter @@ -92,7 +92,7 @@ jobs: git clone https://github.com/TheAppgineer/flatpak-flutter.git --branch 0.14.1 ../flatpak-flutter pip install -r ../flatpak-flutter/requirements.txt python bump-versions.py ${{ inputs.ref }} ${{ needs.build_linux.outputs.flutter_sdk_version }} - ../flatpak-flutter/flatpak-flutter.py --app-module wger flatpak-flutter.json + ../flatpak-flutter/flatpak-flutter.py --app-module wger flatpak-flutter.yml - name: Push updated config to flathub repository env: diff --git a/.github/workflows/build-web.yml b/.github/workflows/build-web.yml new file mode 100644 index 000000000..740dfa1eb --- /dev/null +++ b/.github/workflows/build-web.yml @@ -0,0 +1,49 @@ +name: Build Web +on: + workflow_dispatch: + inputs: + ref: + description: 'Branch/Tag to build' + required: true + default: 'master' + workflow_call: + inputs: + ref: + required: true + type: string + +permissions: + contents: read + +jobs: + # Builds two a default JavaScript build and a WebAssembly one + build_web: + name: Web + runs-on: ubuntu-latest + steps: + - name: Checkout application + uses: actions/checkout@v7 + with: + ref: ${{ inputs.ref }} + + - name: Common flutter setup + uses: ./.github/actions/flutter-common + + - name: Build web (JavaScript) + run: flutter build web --release + + - name: Package JavaScript build + run: tar -zcvf web.tar.gz -C build web + + - name: Build web (WebAssembly) + run: flutter build web --release --wasm + + - name: Package WebAssembly build + run: tar -zcvf web-wasm.tar.gz -C build web + + - uses: actions/upload-artifact@v7 + with: + name: builds-web + path: | + web.tar.gz + web-wasm.tar.gz diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 0956ef8df..1f3bc7365 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -24,7 +24,7 @@ jobs: runs-on: windows-latest steps: - name: Checkout application - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: ref: ${{ inputs.ref }} diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index c595dd6d4..2868fc110 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout application - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 # needed to push changes token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a891b1d99..89f67420b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: env: TZ: Europe/Berlin steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Common flutter setup uses: ./.github/actions/flutter-common diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b24b71894..46ca42e11 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/make-release.yml b/.github/workflows/make-release.yml index 5ae21bd3c..513a95c35 100644 --- a/.github/workflows/make-release.yml +++ b/.github/workflows/make-release.yml @@ -58,6 +58,13 @@ jobs: with: ref: ${{ github.event.inputs.version }} + build_web: + name: Web + needs: determine_version + uses: ./.github/workflows/build-web.yml + with: + ref: ${{ github.event.inputs.version }} + upload_play_store: name: Upload to Play Store runs-on: ubuntu-latest @@ -66,7 +73,7 @@ jobs: - build_linux steps: - name: Checkout application - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: lfs: true ref: ${{ github.event.inputs.version }} @@ -111,7 +118,7 @@ jobs: # - build_apple # steps: # - name: Checkout application - # uses: actions/checkout@v6 + # uses: actions/checkout@v7 # with: # ref: feature/build-process # # ref: ${{ github.event.inputs.version }} @@ -138,6 +145,7 @@ jobs: - build_linux - build_windows - build_apple + - build_web steps: - name: Download builds @@ -156,5 +164,7 @@ jobs: builds-ipa/Runner.xcarchive.zip builds-macos/wger.app.zip builds-windows/windows-x64.zip + builds-web/web.tar.gz + builds-web/web-wasm.tar.gz diff --git a/.github/workflows/screenshots.yml b/.github/workflows/screenshots.yml index d28333fcc..2cc55955d 100644 --- a/.github/workflows/screenshots.yml +++ b/.github/workflows/screenshots.yml @@ -15,17 +15,11 @@ jobs: name: 'iOS' runs-on: macos-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Common flutter setup uses: ./.github/actions/flutter-common - - name: Install CocoaPods - run: | - cd ios - pod install || true - cd .. - - name: Boot iOS simulator id: boot run: | @@ -64,7 +58,7 @@ jobs: device_type: androidTabletBig folder: tenInchScreenshots steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Common flutter setup uses: ./.github/actions/flutter-common @@ -137,7 +131,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Download all screenshot artifacts uses: actions/download-artifact@v8 @@ -152,7 +146,7 @@ jobs: rsync --archive --checksum --itemize-changes "screenshots/screenshots-android-tenInchScreenshots/" fastlane/metadata/android/ rsync --archive --checksum --itemize-changes "screenshots/screenshots-ios/" fastlane/metadata/ios/ - - name: Commit screenshots to repository + - name: Commit screenshots to a dated branch env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | @@ -162,7 +156,9 @@ jobs: if git diff --staged --quiet; then echo "No new or changed screenshots to commit." else - BRANCH=$(git rev-parse --abbrev-ref HEAD) - git commit -m "Update screenshots" - git push origin HEAD:"${BRANCH}" + BRANCH="screenshots-$(date -u +%Y-%m-%d)" + git commit -m "Update screenshots" + # Force-push so a same-day re-run replaces that day's branch + git push --force origin HEAD:"${BRANCH}" + echo "Pushed screenshots to branch ${BRANCH}" fi \ No newline at end of file diff --git a/AUTHORS.md b/AUTHORS.md index 0a44296ac..b3388457d 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -2,40 +2,41 @@ Thank you all for contributing to the project, you are true heroes! 🫶 -*Generated on 2026-04-10* +*Generated on 2026-06-17* --- ## Contributors - Roland Geider - [https://github.com/rolandgeider](https://github.com/rolandgeider) +- Umaid Shahid - [https://github.com/umaidshahid](https://github.com/umaidshahid) +- AlexisBirling3 +- aria-tec - [https://github.com/aria-tec](https://github.com/aria-tec) +- kiranannadatha8 - [https://github.com/kiranannadatha8](https://github.com/kiranannadatha8) +- Github-Actions - [https://github.com/invalid-email-address](https://github.com/invalid-email-address) +- vonab65821 +- Nsimba Tamaku - [https://github.com/nsimbatamaku-arch](https://github.com/nsimbatamaku-arch) - Cameron Radmore - [https://github.com/radmorecameron](https://github.com/radmorecameron) +- Sarthak - [https://github.com/sg172003](https://github.com/sg172003) - John Weidner - [https://github.com/JohnWeidner](https://github.com/JohnWeidner) - Madhav - [https://github.com/darshAnup24](https://github.com/darshAnup24) -- darshAnup24 - [https://github.com/darshAnup24](https://github.com/darshAnup24) - Saraswathi - [https://github.com/saraswathirajkumar18](https://github.com/saraswathirajkumar18) - NiazSagor - [https://github.com/NiazSagor](https://github.com/NiazSagor) -- Github-actions - [https://github.com/invalid-email-address](https://github.com/invalid-email-address) - Viktor Nedanovski - [https://github.com/VikecN](https://github.com/VikecN) - alexisbirling-boop - [https://github.com/alexisbirling-boop](https://github.com/alexisbirling-boop) -- AlexisBirling3 - cryptbrn - [https://github.com/cryptbrn](https://github.com/cryptbrn) - Yehonatan Avrahimi - [https://github.com/yontank](https://github.com/yontank) - unknown - [https://github.com/elias170105](https://github.com/elias170105) - Diya Hituvalli - [https://github.com/dhituval](https://github.com/dhituval) -- dhituval - [https://github.com/dhituval](https://github.com/dhituval) - john - ImgBotApp - [https://github.com/ImgBotApp](https://github.com/ImgBotApp) - DhruvSingh19 - [https://github.com/DhruvSingh19](https://github.com/DhruvSingh19) - Anupthor007 - [https://github.com/Anupthor007](https://github.com/Anupthor007) -- lenka369 - lenka369 - [https://github.com/lenka369](https://github.com/lenka369) -- Branislav Nohaj - Branislav Nohaj - [https://github.com/Oknarb258](https://github.com/Oknarb258) - Kyle Hekkers - [https://github.com/List0734](https://github.com/List0734) - GhostInTheNN - [https://github.com/GhostInTheNN](https://github.com/GhostInTheNN) - Arthur De Neyer - [https://github.com/GaecKo](https://github.com/GaecKo) -- Arthur De Neyer - Max Pylypenko - [https://github.com/3mpee3mpee](https://github.com/3mpee3mpee) - rishad.n - [https://github.com/rishadn-gif](https://github.com/rishadn-gif) - Nelumbo Nucifera - [https://github.com/nelumboy](https://github.com/nelumboy) @@ -50,7 +51,6 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - burny0202 - [https://github.com/Shininess8816](https://github.com/Shininess8816) - Rohitdhall987 - [https://github.com/Rohitdhall987](https://github.com/Rohitdhall987) - Yashas H Majmudar - [https://github.com/yashas-hm](https://github.com/yashas-hm) -- Yashas H Majmudar - [https://github.com/yashas-hm](https://github.com/yashas-hm) - thisisyoussef - [https://github.com/thisisyoussef](https://github.com/thisisyoussef) - Peter Thaler - Christijan - [https://github.com/ChrispyM](https://github.com/ChrispyM) @@ -58,12 +58,9 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - sangharshdeveloper - [https://github.com/Sangharshdeveloper](https://github.com/Sangharshdeveloper) - Ayush Sourav Jagaty - [https://github.com/AyushJagaty](https://github.com/AyushJagaty) - eyjhb - [https://github.com/eyJhb](https://github.com/eyJhb) -- AyushJagaty - [https://github.com/AyushJagaty](https://github.com/AyushJagaty) -- Ayush Sourav Jagaty - தமிழ்நேரம் - Xianglin Zeng - [https://github.com/FutureYL3](https://github.com/FutureYL3) - Arya Pratap Singh - [https://github.com/ARYPROGRAMMER](https://github.com/ARYPROGRAMMER) -- ARYPROGRAMMER - [https://github.com/ARYPROGRAMMER](https://github.com/ARYPROGRAMMER) - szalas - dan - [https://github.com/sizzlesloth](https://github.com/sizzlesloth) - DVPeer - [https://github.com/Denpeer](https://github.com/Denpeer) @@ -78,28 +75,22 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - dimii27 - [https://github.com/dimii27](https://github.com/dimii27) - Antonis-geo - artchiee - [https://github.com/artchiee](https://github.com/artchiee) -- artchiee - [https://github.com/artchiee](https://github.com/artchiee) - Jigar Prajapati - [https://github.com/Jiggy9](https://github.com/Jiggy9) - Dalton Scavassa -- Jigar - [https://github.com/Jiggy9](https://github.com/Jiggy9) - Deepanshu - [https://github.com/Deepanshu-Sharma-18](https://github.com/Deepanshu-Sharma-18) - tejasbirsingh - [https://github.com/tejasbirsingh](https://github.com/tejasbirsingh) - Freddy Cunningham - [https://github.com/freddy-c](https://github.com/freddy-c) -- Freddy Cunningham - [https://github.com/freddy-c](https://github.com/freddy-c) - Malay Pandit - [https://github.com/DeveloperMalay](https://github.com/DeveloperMalay) - Mirek Mazel - [https://github.com/12people](https://github.com/12people) - Miroslav Mazel - Roman Kalivoda - [https://github.com/RKCZ](https://github.com/RKCZ) - Tiisetso Dinoko - [https://github.com/Dinokojt7](https://github.com/Dinokojt7) - Harshit - [https://github.com/Harshit933](https://github.com/Harshit933) -- Harshit - [https://github.com/Harshit933](https://github.com/Harshit933) - Raman Tank - [https://github.com/raman04-byte](https://github.com/raman04-byte) - Mohammad Rafigh - [https://github.com/mohammadrafigh](https://github.com/mohammadrafigh) - Edmundo Meyer - [https://github.com/e-meyer](https://github.com/e-meyer) - Bujdy - [https://github.com/bujdy](https://github.com/bujdy) - amannegi - [https://github.com/AmanNegi](https://github.com/AmanNegi) -- Aman Negi - [https://github.com/AmanNegi](https://github.com/AmanNegi) -- Aaliya Ali - [https://github.com/Aaliya-Ali](https://github.com/Aaliya-Ali) - Aaliya Ali - [https://github.com/Aaliya-Ali](https://github.com/Aaliya-Ali) - Sandi Milohanic - Hissabat Manager - [https://github.com/Chinguetti-Quizz](https://github.com/Chinguetti-Quizz) @@ -148,6 +139,12 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - Allan Nordhøy - [https://github.com/comradekingu](https://github.com/comradekingu) - Stefano Rossi - [https://github.com/stefanorossiti](https://github.com/stefanorossiti) - Dylan Aird - [https://github.com/Dolaned](https://github.com/Dolaned) +- Eltahir Mahmoud - [https://github.com/eltahirsami](https://github.com/eltahirsami) +- Anja Klipic - [https://github.com/anjakDev](https://github.com/anjakDev) +- pankaj-basnet - [https://github.com/pankaj-basnet](https://github.com/pankaj-basnet) +- HackingAll - [https://github.com/HackingAllYT](https://github.com/HackingAllYT) +- Kudzai Bosha - [https://github.com/KudziBosh](https://github.com/KudziBosh) +- Pawel Haracz - [https://github.com/haracz93](https://github.com/haracz93) ## Translators @@ -161,14 +158,14 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - Hesham sraj - Jaafer Mahfoud - [https://github.com/mysterI0s](https://github.com/mysterI0s) - Yrooma - [https://github.com/Yrooma](https://github.com/Yrooma) -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - Hanaa - [https://github.com/hn-n](https://github.com/hn-n) - Ahmed zein - [https://github.com/Ahmed-Zein](https://github.com/Ahmed-Zein) ### Catalan - pswsm - [https://github.com/pswsm](https://github.com/pswsm) -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - Zixu Sun - [https://github.com/ziixu](https://github.com/ziixu) - guillem - [https://github.com/gbuendia](https://github.com/gbuendia) @@ -178,7 +175,7 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - youkarin - [https://github.com/yukarin4869](https://github.com/yukarin4869) - KW Lam - [https://github.com/loksonlkw](https://github.com/loksonlkw) - Wen QI - [https://github.com/kevinwenyu](https://github.com/kevinwenyu) -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - Herb Huang ### Chinese (Simplified) @@ -196,8 +193,12 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - Chia Wen Tsai - [https://github.com/cjwind](https://github.com/cjwind) - Paulkit - [https://github.com/Paulkit](https://github.com/Paulkit) -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - Peter Dave Hello - [https://github.com/PeterDaveHello](https://github.com/PeterDaveHello) +- Dora Chiu - [https://github.com/DoraC7](https://github.com/DoraC7) +- ial nosna - [https://github.com/ansonlai13](https://github.com/ansonlai13) +- BlaireWang - [https://github.com/Blaire0228](https://github.com/Blaire0228) +- Afra - [https://github.com/Afra0704](https://github.com/Afra0704) ### Chinese (Traditional) @@ -210,23 +211,24 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - Milo Ivir - [https://github.com/milotype](https://github.com/milotype) - Neno Horvat - [https://github.com/ness993](https://github.com/ness993) -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - Roland Geider - [https://github.com/rolandgeider](https://github.com/rolandgeider) - SMilohanic - [https://github.com/sandimilohanic](https://github.com/sandimilohanic) ### Czech -- Whiskers - [https://github.com/ShinoYumi](https://github.com/ShinoYumi) -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Whiskers - [https://github.com/iamanro](https://github.com/iamanro) +- Anonymous - Fjuro - [https://github.com/Fjuro](https://github.com/Fjuro) -- Fjuro - CaptainDolphy - [https://github.com/CaptainDolphy](https://github.com/CaptainDolphy) - Roman Kalivoda - [https://github.com/RKCZ](https://github.com/RKCZ) +- greeenos - [https://github.com/greeenos](https://github.com/greeenos) ### Dutch - Floris C - Joey Haalboom - [https://github.com/JoeyHaalboom](https://github.com/JoeyHaalboom) +- Philip Goto - [https://github.com/flipflop97](https://github.com/flipflop97) ### English @@ -248,7 +250,7 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - Martin Derleth - Vocatis - [https://github.com/Vocatis](https://github.com/Vocatis) - Enzo Besnainou -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - William - [https://github.com/WilliamR312](https://github.com/WilliamR312) - florent4014 - [https://github.com/florent4014](https://github.com/florent4014) - Xav Basco @@ -261,6 +263,7 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - J. Lavoie - Antoine Vibien - [https://github.com/r1llettes](https://github.com/r1llettes) - Stefano Rossi - [https://github.com/stefanorossiti](https://github.com/stefanorossiti) +- Louis-Maxime C - [https://github.com/Lumenol](https://github.com/Lumenol) ### German @@ -270,7 +273,7 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - johannes heintz - [https://github.com/Randalix](https://github.com/Randalix) - Tobias Maschek - [https://github.com/jemx](https://github.com/jemx) - Richard Mrosk - [https://github.com/EtheriousNight](https://github.com/EtheriousNight) -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - BlinderUhu - [https://github.com/BlinderUhu](https://github.com/BlinderUhu) - kvnrmnn - [https://github.com/rmnn92](https://github.com/rmnn92) - Victor Jouhoff - [https://github.com/jouhoffv](https://github.com/jouhoffv) @@ -283,6 +286,8 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - Marvin M - [https://github.com/M123-dev](https://github.com/M123-dev) - Lydia - Allan Nordhøy - [https://github.com/comradekingu](https://github.com/comradekingu) +- Madleen - [https://github.com/madleenxsophie](https://github.com/madleenxsophie) +- Emil ### Greek @@ -293,13 +298,13 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - Omer I.S - [https://github.com/omeritzics](https://github.com/omeritzics) - n,rdo -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - Tomer Ben Rachel - [https://github.com/TomerPacific](https://github.com/TomerPacific) ### Hindi - pavan arun bagwe - [https://github.com/pavanb0](https://github.com/pavanb0) -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - Debayan Sutradhar - [https://github.com/rnayabed](https://github.com/rnayabed) ### Hungarian @@ -311,9 +316,10 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - Arga Pandika - [https://github.com/argakast](https://github.com/argakast) - Nurfitra Pujo Santiko - [https://github.com/NurfitraPujo](https://github.com/NurfitraPujo) - aryakdaniswara - [https://github.com/aryakdaniswara](https://github.com/aryakdaniswara) -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - Debi Maulana Ahsan Halla - Roland Geider - [https://github.com/rolandgeider](https://github.com/rolandgeider) +- Taufan Budiman - [https://github.com/taufanbudiman](https://github.com/taufanbudiman) ### Italian @@ -322,7 +328,7 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - Federico - [https://github.com/FedericoVaga](https://github.com/FedericoVaga) - clafalco - [https://github.com/clafalco](https://github.com/clafalco) - adriano onorati - [https://github.com/banphi](https://github.com/banphi) -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - Matteo Morari - [https://github.com/matteomorari](https://github.com/matteomorari) - Antenore Gatta - [https://github.com/antenore](https://github.com/antenore) - Gab Gat @@ -337,11 +343,13 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - DT - mondstern - Stefano Rossi - [https://github.com/stefanorossiti](https://github.com/stefanorossiti) +- Dario Coltri - [https://github.com/casacoltri](https://github.com/casacoltri) +- Mirco Pasquale - [https://github.com/mircopsq](https://github.com/mircopsq) ### Japanese - Ryohei Morimoto - [https://github.com/Ryohei-Caulked](https://github.com/Ryohei-Caulked) -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - Tsz Hong CHAN - [https://github.com/tomyan112](https://github.com/tomyan112) - sasukeiscool - [https://github.com/sasukeiscool](https://github.com/sasukeiscool) - yiter @@ -357,6 +365,7 @@ Thank you all for contributing to the project, you are true heroes! 🫶 ### Norwegian Bokmål +- sontor1 - [https://github.com/sontor1](https://github.com/sontor1) - Nicholas Lilletvedt - [https://github.com/Nikko-01](https://github.com/Nikko-01) - Morten R. Bjørklund - Roland Geider - [https://github.com/rolandgeider](https://github.com/rolandgeider) @@ -368,10 +377,13 @@ Thank you all for contributing to the project, you are true heroes! 🫶 ### Polish +- Maksymilian Burdziej - [https://github.com/MBurdziej](https://github.com/MBurdziej) +- Pawel Jelonek - [https://github.com/pajelonek](https://github.com/pajelonek) +- Eliza - [https://github.com/elizj3](https://github.com/elizj3) - saalaataa - [https://github.com/saalaataa](https://github.com/saalaataa) - Kamil Maciąg - Y - [https://github.com/dioxyg](https://github.com/dioxyg) -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - Karol Solecki - [https://github.com/karolsol](https://github.com/karolsol) - Piotr Strebski - [https://github.com/strebski](https://github.com/strebski) - Dawid Panyło @@ -385,9 +397,9 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - Ninguém Mesmo - Edson Wolf - [https://github.com/edsonblwolf](https://github.com/edsonblwolf) - caue Antunes Siqueira - [https://github.com/caue-siqueira](https://github.com/caue-siqueira) -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - The_Quintino - [https://github.com/paqgamer](https://github.com/paqgamer) -- Wilton Rodrigues +- Wilton Rodrigues - [https://github.com/FinTech-crypto](https://github.com/FinTech-crypto) - Guilherme Salomão - [https://github.com/salomaoparkour](https://github.com/salomaoparkour) - Bruno de Moura - [https://github.com/bruunomooura](https://github.com/bruunomooura) - Dalton Scavassa @@ -395,19 +407,21 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - Eduardo Menges Mattje - [https://github.com/EduMenges](https://github.com/EduMenges) - Edu Cavalheiro - [https://github.com/EduCavalheiro](https://github.com/EduCavalheiro) - João Goulart - [https://github.com/usehalter](https://github.com/usehalter) +- Pedro Remedios - [https://github.com/premedios](https://github.com/premedios) ### Portuguese (Brazil) +- Edson Wolf - [https://github.com/edsonblwolf](https://github.com/edsonblwolf) - niduss - [https://github.com/nidusscorp](https://github.com/nidusscorp) - Diego Menezes - Rafael Acurcio - [https://github.com/faellacurcio](https://github.com/faellacurcio) - Marina Aranha - [https://github.com/mariaranha](https://github.com/mariaranha) - faciolihenrique - [https://github.com/faciolihenrique](https://github.com/faciolihenrique) - Jênisson Alves de Andrade -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - Ricardo Lima - [https://github.com/rhrlima](https://github.com/rhrlima) - Clerton Araujo - [https://github.com/clertonraf](https://github.com/clertonraf) -- Wilton Rodrigues +- Wilton Rodrigues - [https://github.com/FinTech-crypto](https://github.com/FinTech-crypto) - Nao interessa - Lucas Mezêncio - [https://github.com/lucasmezencio](https://github.com/lucasmezencio) - Felipe Antônio Rodrigues Cardoso @@ -419,7 +433,7 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - FilipeAb - [https://github.com/FilipeAb](https://github.com/FilipeAb) - Ruben Sardinha - Ninguém Mesmo -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous ### Romanian @@ -433,7 +447,7 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - Artem Ponomarenko - [https://github.com/slfdstrctd](https://github.com/slfdstrctd) - Iskander - [https://github.com/iskanderCabbie](https://github.com/iskanderCabbie) - Aleksandr - [https://github.com/alexmikheen](https://github.com/alexmikheen) -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - Алексей Курышко - [https://github.com/alexkuryshko](https://github.com/alexkuryshko) - lightningcpu - [https://github.com/lightningcpu](https://github.com/lightningcpu) - Кирилл Александрович Злобин - [https://github.com/gungstarbeiter](https://github.com/gungstarbeiter) @@ -442,9 +456,13 @@ Thank you all for contributing to the project, you are true heroes! 🫶 ### Serbian -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - Mladen Trišić - [https://github.com/mtrisic](https://github.com/mtrisic) +### Shona + +- Kudzai Bosha - [https://github.com/KudziBosh](https://github.com/KudziBosh) + ### Slovak - Patrik - [https://github.com/P4TR1K1305](https://github.com/P4TR1K1305) @@ -462,7 +480,7 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - Jose David Villegas (JoseDv1) - [https://github.com/JoseDv1](https://github.com/JoseDv1) - Marco Diaz - [https://github.com/maditmx](https://github.com/maditmx) - Oscar González - [https://github.com/ogrydc](https://github.com/ogrydc) -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - Roberto Iglesias - [https://github.com/iglesiasroberto14](https://github.com/iglesiasroberto14) - c06c3abb8f - Javier - [https://github.com/dysk0zero](https://github.com/dysk0zero) @@ -472,13 +490,14 @@ Thank you all for contributing to the project, you are true heroes! 🫶 - Chris Klempau - [https://github.com/yoinkers1337](https://github.com/yoinkers1337) - Roland Geider - [https://github.com/rolandgeider](https://github.com/rolandgeider) - martingetzel - [https://github.com/martingetzel](https://github.com/martingetzel) +- Rodrigo Jurado Villalobos +- Tiago Natale - [https://github.com/Blu777](https://github.com/Blu777) ### Tamil - saraswathi - [https://github.com/saraswathirajkumar18](https://github.com/saraswathirajkumar18) - தமிழ்நேரம் - [https://github.com/TamilNeram](https://github.com/TamilNeram) -- தமிழ்நேரம் -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous ### Thai @@ -486,24 +505,19 @@ Thank you all for contributing to the project, you are true heroes! 🫶 ### Turkish -- Anonymous - [https://github.com/weblate](https://github.com/weblate) +- Anonymous - Oğuz Ersen - [https://github.com/oersen](https://github.com/oersen) - Roland Geider - [https://github.com/rolandgeider](https://github.com/rolandgeider) - Cem Avcı - [https://github.com/cem256](https://github.com/cem256) -- Oğuz Ersen - Cenk Cidecio - [https://github.com/ccidecio](https://github.com/ccidecio) - ToldYouThat ### Ukrainian -- Максим Горпиніч - Максим Горпиніч - [https://github.com/Maksim2005UA2](https://github.com/Maksim2005UA2) - Максим Горпиніч - [https://github.com/Maksim2005UA](https://github.com/Maksim2005UA) -- Anonymous - [https://github.com/weblate](https://github.com/weblate) -- Максим Горпиніч +- Anonymous - Roland Geider - [https://github.com/rolandgeider](https://github.com/rolandgeider) -- Максим Горпиніч - Dan - [https://github.com/Kefir2105](https://github.com/Kefir2105) -- Dan - Tymofii Lytvynenko - Artem - [https://github.com/defaultpage](https://github.com/defaultpage) diff --git a/Gemfile.lock b/Gemfile.lock index c272380c3..461384653 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,8 +8,8 @@ GEM artifactory (3.0.17) atomos (0.1.3) aws-eventstream (1.4.0) - aws-partitions (1.1238.0) - aws-sdk-core (3.244.0) + aws-partitions (1.1260.0) + aws-sdk-core (3.252.0) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.992.0) aws-sigv4 (~> 1.9) @@ -17,19 +17,19 @@ GEM bigdecimal jmespath (~> 1, >= 1.6.1) logger - aws-sdk-kms (1.123.0) - aws-sdk-core (~> 3, >= 3.244.0) + aws-sdk-kms (1.129.0) + aws-sdk-core (~> 3, >= 3.248.0) aws-sigv4 (~> 1.5) - aws-sdk-s3 (1.219.0) - aws-sdk-core (~> 3, >= 3.244.0) + aws-sdk-s3 (1.225.1) + aws-sdk-core (~> 3, >= 3.248.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.5) aws-sigv4 (1.12.1) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) - base64 (0.2.0) + base64 (0.3.0) benchmark (0.5.0) - bigdecimal (4.1.1) + bigdecimal (4.1.2) claide (1.1.0) colored (1.2) colored2 (3.1.2) @@ -72,16 +72,16 @@ GEM faraday_middleware (1.2.1) faraday (~> 1.0) fastimage (2.4.1) - fastlane (2.232.2) - CFPropertyList (>= 2.3, < 4.0.0) - abbrev (~> 0.1.2) + fastlane (2.236.1) + CFPropertyList (>= 2.3, < 5.0.0) + abbrev (~> 0.1) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) aws-sdk-s3 (~> 1.197) babosa (>= 1.0.3, < 2.0.0) - base64 (~> 0.2.0) + base64 (~> 0.2) benchmark (>= 0.1.0) - bundler (>= 1.17.3, < 5.0.0) + bundler (>= 2.4.0, < 5.0.0) colored (~> 1.2) commander (~> 4.6) csv (~> 3.3) @@ -92,22 +92,23 @@ GEM faraday-cookie_jar (~> 0.0.6) faraday_middleware (~> 1.0) fastimage (>= 2.1.0, < 3.0.0) - fastlane-sirp (>= 1.0.0) + fastlane-sirp (>= 1.1.0) gh_inspector (>= 1.1.2, < 2.0.0) google-apis-androidpublisher_v3 (~> 0.3) google-apis-playcustomapp_v1 (~> 0.1) - google-cloud-env (>= 1.6.0, <= 2.1.1) + google-cloud-env (>= 1.6.0, < 2.3.0) google-cloud-storage (~> 1.31) highline (~> 2.0) http-cookie (~> 1.0.5) json (< 3.0.0) - jwt (>= 2.1.0, < 3) + jwt (>= 2.10.3, < 4) logger (>= 1.6, < 2.0) mini_magick (>= 4.9.4, < 5.0.0) + multi_json (~> 1.12) multipart-post (>= 2.0.0, < 3.0.0) - mutex_m (~> 0.3.0) + mutex_m (~> 0.3) naturally (~> 2.2) - nkf (~> 0.2.0) + nkf (~> 0.2) optparse (>= 0.1.1, < 1.0.0) ostruct (>= 0.1.0) plist (>= 3.1.0, < 4.0.0) @@ -123,10 +124,9 @@ GEM xcpretty (~> 0.4.1) xcpretty-travis-formatter (>= 0.0.3, < 2.0.0) fastlane-plugin-versioning (0.7.1) - fastlane-sirp (1.0.0) - sysrandom (~> 1.0) + fastlane-sirp (1.1.0) gh_inspector (1.1.3) - google-apis-androidpublisher_v3 (0.98.0) + google-apis-androidpublisher_v3 (0.102.0) google-apis-core (>= 0.15.0, < 2.a) google-apis-core (0.18.0) addressable (~> 2.5, >= 2.5.1) @@ -136,19 +136,20 @@ GEM mutex_m representable (~> 3.0) retriable (>= 2.0, < 4.a) - google-apis-iamcredentials_v1 (0.26.0) + google-apis-iamcredentials_v1 (0.27.0) google-apis-core (>= 0.15.0, < 2.a) google-apis-playcustomapp_v1 (0.17.0) google-apis-core (>= 0.15.0, < 2.a) - google-apis-storage_v1 (0.61.0) + google-apis-storage_v1 (0.63.0) google-apis-core (>= 0.15.0, < 2.a) - google-cloud-core (1.8.0) + google-cloud-core (1.9.0) google-cloud-env (>= 1.0, < 3.a) google-cloud-errors (~> 1.0) - google-cloud-env (2.1.1) + google-cloud-env (2.2.2) + base64 (~> 0.2) faraday (>= 1.0, < 3.a) google-cloud-errors (1.6.0) - google-cloud-storage (1.59.0) + google-cloud-storage (1.61.0) addressable (~> 2.8) digest-crc (~> 0.4) google-apis-core (>= 0.18, < 2) @@ -157,12 +158,14 @@ GEM google-cloud-core (~> 1.6) googleauth (~> 1.9) mini_mime (~> 1.0) - googleauth (1.11.2) + google-logging-utils (0.2.0) + googleauth (1.17.0) faraday (>= 1.0, < 3.a) - google-cloud-env (~> 2.1) - jwt (>= 1.4, < 3.0) - multi_json (~> 1.11) + google-cloud-env (~> 2.2) + google-logging-utils (~> 0.1) + jwt (>= 1.4, < 4.0) os (>= 0.9, < 2.0) + pstore (~> 0.1) signet (>= 0.16, < 2.a) highline (2.0.3) http-cookie (1.0.8) @@ -170,43 +173,42 @@ GEM httpclient (2.9.0) mutex_m jmespath (1.6.2) - json (2.19.3) - jwt (2.10.2) + json (2.19.9) + jwt (3.2.0) base64 logger (1.7.0) mini_magick (4.13.2) mini_mime (1.1.5) - multi_json (1.20.1) + multi_json (1.21.1) multipart-post (2.4.1) mutex_m (0.3.0) nanaimo (0.4.0) naturally (2.3.0) - nkf (0.2.0) + nkf (0.3.0) optparse (0.8.1) os (1.1.4) ostruct (0.6.3) plist (3.7.2) + pstore (0.2.1) public_suffix (7.0.5) - rake (13.4.1) + rake (13.4.2) representable (3.2.0) declarative (< 0.1.0) trailblazer-option (>= 0.1.1, < 0.2.0) uber (< 0.2.0) - retriable (3.4.1) + retriable (3.8.0) rexml (3.4.4) rouge (3.28.0) ruby2_keywords (0.0.5) rubyzip (2.4.1) security (0.1.5) - signet (0.21.0) + signet (0.22.0) addressable (~> 2.8) faraday (>= 0.17.5, < 3.a) jwt (>= 1.5, < 4.0) - multi_json (~> 1.10) simctl (1.6.10) CFPropertyList naturally - sysrandom (1.0.5) terminal-notifier (2.0.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) @@ -246,4 +248,4 @@ DEPENDENCIES mutex_m BUNDLED WITH - 4.0.8 + 4.0.11 diff --git a/analysis_options.yaml b/analysis_options.yaml index 876c05153..8f5be2827 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -23,10 +23,6 @@ formatter: page_width: 100 trailing_commas: preserve -# Note: it seems that adding riverpod_lint here has the side effect that every -# standard lint is reported twice. We are leaving this for now since the -# riverpod-specific checks are worth it. -# Use `dart analyze | sort -u` in scripts if duplicates are a problem. plugins: riverpod_lint: 3.1.3 @@ -66,6 +62,7 @@ linter: camel_case_types: false cancel_subscriptions: true cast_nullable_to_non_nullable: false # to be changed + comment_references: true constant_identifier_names: false control_flow_in_finally: true deprecated_consistency: true diff --git a/android/app/build.gradle b/android/app/build.gradle index 1f912e63b..0ffb8cfdd 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -39,7 +39,7 @@ android { defaultConfig { // Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "de.wger.flutter" - minSdkVersion flutter.minSdkVersion + minSdkVersion 26 targetSdk = flutter.targetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 95065c030..2016766b4 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -9,11 +9,21 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android/app/src/main/kotlin/de/wger/flutter/MainActivity.kt b/android/app/src/main/kotlin/de/wger/flutter/MainActivity.kt index 421496c68..3e9f4cd14 100644 --- a/android/app/src/main/kotlin/de/wger/flutter/MainActivity.kt +++ b/android/app/src/main/kotlin/de/wger/flutter/MainActivity.kt @@ -1,6 +1,6 @@ package de.wger.flutter -import io.flutter.embedding.android.FlutterActivity +import io.flutter.embedding.android.FlutterFragmentActivity -class MainActivity: FlutterActivity() { +class MainActivity: FlutterFragmentActivity() { } diff --git a/android/app/src/main/res/xml/locales_config.xml b/android/app/src/main/res/xml/locales_config.xml index 64cf1b329..5d088c4ae 100644 --- a/android/app/src/main/res/xml/locales_config.xml +++ b/android/app/src/main/res/xml/locales_config.xml @@ -11,6 +11,7 @@ + @@ -29,6 +30,7 @@ + diff --git a/android/gradle.properties b/android/gradle.properties index f622fd8f5..efd388da4 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,3 +1,7 @@ -org.gradle.jvmargs=-Xmx2048M +org.gradle.jvmargs=-Xmx4096M android.useAndroidX=true -android.enableJetifier=true +android.enableJetifier=false +# This builtInKotlin flag was added automatically by Flutter migrator +android.builtInKotlin=false +# This newDsl flag was added automatically by Flutter migrator +android.newDsl=false diff --git a/build.yaml b/build.yaml new file mode 100644 index 000000000..4f5dac214 --- /dev/null +++ b/build.yaml @@ -0,0 +1,6 @@ +targets: + $default: + builders: + drift_dev: + options: + store_date_time_values_as_text: true \ No newline at end of file diff --git a/devtools_options.yaml b/devtools_options.yaml index 75bd2b677..02a606107 100644 --- a/devtools_options.yaml +++ b/devtools_options.yaml @@ -1,3 +1,4 @@ extensions: - drift: true - - provider: true \ No newline at end of file + - provider: true + - shared_preferences: true \ No newline at end of file diff --git a/fastlane/metadata/android/ar/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/ar/images/phoneScreenshots/01 - dashboard.png index f4f248bf1..f07910432 100644 --- a/fastlane/metadata/android/ar/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/ar/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ddd64fd8470c62e54f3ff19d51080a194c6fb567ce8b97df75b039e4262c7b33 -size 214671 +oid sha256:1e35fdc9759ea617b7ddee7f11948d14efd647cda76fa63635e98d6b595c2d40 +size 322617 diff --git a/fastlane/metadata/android/ar/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/ar/images/phoneScreenshots/02 - workout detail.png index 7412654aa..894d8e961 100644 --- a/fastlane/metadata/android/ar/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/ar/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0b5cf6431bf1dba9b09bbed55ba18a25ed402da9ac61c9a3d8f1bff7dde2c3a8 -size 204899 +oid sha256:5fcad38d96f5773582bc1c7473c7a3ec65ae4d987dcdc3df5aa232ab38383670 +size 228765 diff --git a/fastlane/metadata/android/ar/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/ar/images/phoneScreenshots/03 - gym mode.png index 133ea34aa..d1634770a 100644 --- a/fastlane/metadata/android/ar/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/ar/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a1657596d9c53ba467ca8f8a837c0ba4afa0de05e447752ecd18d704922f3724 -size 182387 +oid sha256:1e418ac4f18ba1b95a21049ecbdfde5e5b80f866129caceb6de33bf7b2f0c401 +size 197075 diff --git a/fastlane/metadata/android/ar/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/ar/images/phoneScreenshots/04 - measurements.png index 81f964835..f25badaac 100644 --- a/fastlane/metadata/android/ar/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/ar/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:23b3df42ef84fdae3151e127646d627307a9c15eb11997f97155da8d32b055ca -size 90168 +oid sha256:912c97c91adefae336aa988933f741322e994c564847ca038bc325cb9abf5b4e +size 152901 diff --git a/fastlane/metadata/android/ar/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/ar/images/phoneScreenshots/05 - nutritional plan.png index 226dd530e..1dd6cc9f0 100644 --- a/fastlane/metadata/android/ar/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/ar/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7c29ecbdceae7c950ea775e3524ef8823589a99cd07bc3a9204e1a5783cd0226 -size 211273 +oid sha256:387c9ddcf4f133ce17d52f98b918818941e41e19621b6e3578529b649cbed979 +size 210577 diff --git a/fastlane/metadata/android/ar/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/ar/images/phoneScreenshots/06 - weight.png index 4ddfba629..e1326c3f6 100644 --- a/fastlane/metadata/android/ar/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/ar/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6f4ded107ea7fe72502dfb4f45416e6aa906ed1b9209193d0800c730ad218c87 -size 183335 +oid sha256:01f66cebfa4d565ec94c1146e417a509a211096d1290f5f2db010c326e3ca903 +size 218281 diff --git a/fastlane/metadata/android/ar/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/ar/images/sevenInchScreenshots/01 - dashboard.png index 0f1cca491..d903697e8 100644 --- a/fastlane/metadata/android/ar/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/ar/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b04e2e31a3cb4ff169b7b702cff1aa2f8f59820aa3ddc33dc63a0f69a3671363 -size 67809 +oid sha256:23066e72be549c538c10dc1cc15a3fb834dc20cd92a5aad5cc974d5b92a3130a +size 79221 diff --git a/fastlane/metadata/android/ar/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/ar/images/sevenInchScreenshots/02 - workout detail.png index eb50f0b87..49fed0873 100644 --- a/fastlane/metadata/android/ar/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/ar/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:446f13f3488566eac2ec0338b87daf5c1dcd1b7a72de502b941cac1541876639 -size 47019 +oid sha256:03ea7fc710e16b0d26d0294d37ff133a4b0d20df1dff6b93622b55127e4ecdc2 +size 51807 diff --git a/fastlane/metadata/android/ar/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/ar/images/sevenInchScreenshots/03 - gym mode.png index 731cdc67f..bc45cfed8 100644 --- a/fastlane/metadata/android/ar/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/ar/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d7b60e31af6cea03d05174afc7dfdfd62433043499fff5e2a384032f4998c3de -size 34371 +oid sha256:072435b33810822f38e10c5dfde06263177f191f31b6a940a9210b2ef3c11638 +size 45527 diff --git a/fastlane/metadata/android/ar/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/ar/images/sevenInchScreenshots/04 - measurements.png index 1aed17078..2252fcf6d 100644 --- a/fastlane/metadata/android/ar/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/ar/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:03acc622e64f4e0fab04a9d7e4ac0f3cadc0f84eff4edd427fa8480ec8b72933 -size 20393 +oid sha256:a11776298cb0026706acd39c8f1a6a3755de296d8d039d432ce4d5a3d5e2da12 +size 35213 diff --git a/fastlane/metadata/android/ar/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/ar/images/sevenInchScreenshots/05 - nutritional plan.png index c44f5a7c9..be077acad 100644 --- a/fastlane/metadata/android/ar/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/ar/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b173b2cadc5cbfbccba40d85be087a4f814a5362d35927a6e283c5e941c1c813 -size 40732 +oid sha256:f98e6e27a01867537c8552d294dc44351194d6bf2f374d9732882b60b88600a5 +size 61912 diff --git a/fastlane/metadata/android/ar/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/ar/images/sevenInchScreenshots/06 - weight.png index 1c64c0c42..81ec52a1f 100644 --- a/fastlane/metadata/android/ar/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/ar/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a12c6295404072c4eb94f9e14989359db1b02a2e545424b80991e850ec1c59a8 -size 32058 +oid sha256:39cea85d70313976f170cb5d9b16c4d6e86f9d8e1add6550a1667fcc2d3055bb +size 53482 diff --git a/fastlane/metadata/android/ar/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/ar/images/tenInchScreenshots/01 - dashboard.png index 0ed17dedb..e6fc5d12a 100644 --- a/fastlane/metadata/android/ar/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/ar/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5a889861dde4b7dcfea3c43a0596db6e26c82acb09b87ddac5ce79549cb1ad16 -size 211195 +oid sha256:f99aec3581f0663d2f554589538b85418da6a4d8b266d4ee9951a4dd707726d6 +size 259746 diff --git a/fastlane/metadata/android/ar/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/ar/images/tenInchScreenshots/02 - workout detail.png index 192c5b045..17ed57b8a 100644 --- a/fastlane/metadata/android/ar/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/ar/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:49830557997fe5ffe76ef56f0e481bce7c8719658446425c21c36e1e4e1afb56 -size 123231 +oid sha256:d473699677ec6038d5c7664c74885a9f1a85ab3be2f964af6a999a443ae9cddc +size 131274 diff --git a/fastlane/metadata/android/ar/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/ar/images/tenInchScreenshots/03 - gym mode.png index 1b182728e..44956d1dd 100644 --- a/fastlane/metadata/android/ar/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/ar/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d05bf43f396dc0d2d690b9d1959fab6800f9a9bc82f64b6032ce5b55ee3dda0c -size 106987 +oid sha256:277ece90fb81831f52934d72c0d836202ee50148ac927a270b301a600ee2ff8a +size 112902 diff --git a/fastlane/metadata/android/ar/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/ar/images/tenInchScreenshots/04 - measurements.png index c3782fc0e..1a4be5598 100644 --- a/fastlane/metadata/android/ar/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/ar/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:56c940e8139eb65017a37c6016e0bb49170ce83cc660f9939c65a614bf28f453 -size 57929 +oid sha256:cac3f4d8a9a883c3be192a92add2e055a2b9bc9853de048138244c7012c12e3d +size 94380 diff --git a/fastlane/metadata/android/ar/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/ar/images/tenInchScreenshots/05 - nutritional plan.png index 8c9c177c6..a3722f779 100644 --- a/fastlane/metadata/android/ar/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/ar/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ffaf599cde8c89434ea6ae2561b5ede0507f645d1bce27f08648d8263d9fdf63 -size 121894 +oid sha256:e878e0f4190c70fc2cd3d0cf1a10e73536023f1ced2434551543622b4638d0c4 +size 198244 diff --git a/fastlane/metadata/android/ar/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/ar/images/tenInchScreenshots/06 - weight.png index 9a18f7ce4..e2d0e4928 100644 --- a/fastlane/metadata/android/ar/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/ar/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3c4a63ad720ffc137a2f8a2c4ace5fc1ddfc6b160b237a69637b9f5c4e626113 -size 103666 +oid sha256:61dccd251a0451278a96aa6380b7d0a97c458b00e667cc64e36dcfdd8e3f4712 +size 142935 diff --git a/fastlane/metadata/android/ca/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/ca/images/phoneScreenshots/01 - dashboard.png index 82b709835..2e721cfb0 100644 --- a/fastlane/metadata/android/ca/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/ca/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ef2d60185138227d3b0d6cb7434cd97d478dadc3876d22ad9f5804f35d75ad4d -size 205987 +oid sha256:9f40b8ab6ec4aa6aa61f2d0dffdc4caadda99db336f39351eb37e443a27962ca +size 308648 diff --git a/fastlane/metadata/android/ca/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/ca/images/phoneScreenshots/02 - workout detail.png index 43d755b57..af8eaf8fe 100644 --- a/fastlane/metadata/android/ca/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/ca/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:91447326693f83cd31d3b07d0241ca90ca583cd0ce599c23c0cb63b673d291be -size 205734 +oid sha256:6b73a22d3d12608e39846a5b5f392f47a2d9fe6ef15a37e2669656ad36cd8f9b +size 228966 diff --git a/fastlane/metadata/android/ca/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/ca/images/phoneScreenshots/03 - gym mode.png index f291ba069..e8612cac4 100644 --- a/fastlane/metadata/android/ca/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/ca/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:938ebb785ed1f41354d6cb2404da2626148071d2b0b61438a3fd7c4178ab53a4 -size 159683 +oid sha256:e8b09b7f0f1b42590ad0fdfd0f1eb9df719ee410933dbbc7c4defc6c53be21af +size 160422 diff --git a/fastlane/metadata/android/ca/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/ca/images/phoneScreenshots/04 - measurements.png index bd2ac86b2..c8a92d465 100644 --- a/fastlane/metadata/android/ca/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/ca/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5e6df47f5fe766a6ed95a11615d85bab278acfa622cdc778618f08e245336a6f -size 95866 +oid sha256:a244f74895a7ba07b02da6612cb372ea9e5e4b66895293b93240e1ac2036f261 +size 153067 diff --git a/fastlane/metadata/android/ca/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/ca/images/phoneScreenshots/05 - nutritional plan.png index c0a1184bb..ade3639fe 100644 --- a/fastlane/metadata/android/ca/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/ca/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8fb22da915a9d94767cfa5702e996903c60bda857fda5233682f256a9a25845a -size 203295 +oid sha256:96411e69a1a732a8e2aa39fde70db2ff70d33179d339f463d4e16ea8fbfcb991 +size 204914 diff --git a/fastlane/metadata/android/ca/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/ca/images/phoneScreenshots/06 - weight.png index e5bc69d37..5377dd533 100644 --- a/fastlane/metadata/android/ca/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/ca/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:106c9964c98dbde2ad632047353e19f79688114efd9c904722c5f3bdc7376a81 -size 177870 +oid sha256:025f6df558768eb1fc1f6b57c327867da8e00dded7679d1df1f3a31600aa55f3 +size 187951 diff --git a/fastlane/metadata/android/ca/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/ca/images/sevenInchScreenshots/01 - dashboard.png index 8d1a6f766..ee1b1a068 100644 --- a/fastlane/metadata/android/ca/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/ca/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cd973810b2664ae7928dada839e9b94936bdf3789efb585a8c73821718cdc858 -size 73934 +oid sha256:c633670332aad0f4495f8c99a5001f127b7bed79d286112b062bbcca2f471910 +size 79954 diff --git a/fastlane/metadata/android/ca/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/ca/images/sevenInchScreenshots/02 - workout detail.png index 22efc4107..264f8ad45 100644 --- a/fastlane/metadata/android/ca/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/ca/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f584895437dff22f17bef0a99aae7e226b1efd429fe91e727b264119ea5eed7b -size 46569 +oid sha256:a5f2acd078e32264d2fa4b5e20a05e734709a57f688a25a27e0eb23cb31b7582 +size 51565 diff --git a/fastlane/metadata/android/ca/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/ca/images/sevenInchScreenshots/03 - gym mode.png index 22f138968..01554d121 100644 --- a/fastlane/metadata/android/ca/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/ca/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6430b902425c68ba333ee334529b22e2ce283534697238a824bdeacf5d67b398 -size 31664 +oid sha256:5610480befdab26e2d9f80c50cf9561a657a745fd915cb0077a999d4aa04a261 +size 39290 diff --git a/fastlane/metadata/android/ca/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/ca/images/sevenInchScreenshots/04 - measurements.png index 29c53468b..3559f53a0 100644 --- a/fastlane/metadata/android/ca/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/ca/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:956e505119058e6ccc09dae9b75fcf2270fcd19eeeb9eac1ce03e5f4fdc0cc4e -size 21539 +oid sha256:d2adb4bf8c53ca849a12f5ed9bb41afbb334e577b72acbb6343b5440fbf29339 +size 36039 diff --git a/fastlane/metadata/android/ca/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/ca/images/sevenInchScreenshots/05 - nutritional plan.png index 4b112b32b..73a8d5d8a 100644 --- a/fastlane/metadata/android/ca/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/ca/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1ccc69b7740e26cb2f67d862c6e315485822683ee6946a47d0eda9626db21550 -size 41632 +oid sha256:44cfcd9e2560b2baa9085adc87ae0b046f72840d35657c443c413c3c43ad0e02 +size 64917 diff --git a/fastlane/metadata/android/ca/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/ca/images/sevenInchScreenshots/06 - weight.png index 14582b308..9573d0290 100644 --- a/fastlane/metadata/android/ca/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/ca/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8e7ef84d7636a2516830f3a9fe8914d871e12180efe1825b622322cfaa1b93da -size 33287 +oid sha256:489c56691e2d2b976f2e0a5861a55e8a9ca37676149a2d745bbb30afdcd602c0 +size 52491 diff --git a/fastlane/metadata/android/ca/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/ca/images/tenInchScreenshots/01 - dashboard.png index f8a6475c3..e9e38b080 100644 --- a/fastlane/metadata/android/ca/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/ca/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fba782e5ec3b675bf358d77fdfe8e3473fc8f36a92e7203ace9559ba2078a023 -size 208841 +oid sha256:8f8f74d8eaa11f022d6f70f9303d59fd36da465b52a1cc4a068f9e677162952e +size 253638 diff --git a/fastlane/metadata/android/ca/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/ca/images/tenInchScreenshots/02 - workout detail.png index 3dcab885b..1806b7d7b 100644 --- a/fastlane/metadata/android/ca/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/ca/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9d5bccbe801f7e3b3f753d5449c867132b92462b6f4f66c64883aad4ebac55f -size 120956 +oid sha256:2a69818bcee8559a636d75b0a2529bd65f31f23caa0d82b5ed2fe8857c6300e5 +size 129236 diff --git a/fastlane/metadata/android/ca/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/ca/images/tenInchScreenshots/03 - gym mode.png index 886e97acc..cd389089c 100644 --- a/fastlane/metadata/android/ca/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/ca/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8b98a91df54dc180c41318389d801c9bb24fe3d8f5d61a9e38d0aa8d0657f510 -size 92211 +oid sha256:b4f8729508ac137be5a7f8293bc64c518faf48c9ff2f24b2277ecdcd79ba08e1 +size 93344 diff --git a/fastlane/metadata/android/ca/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/ca/images/tenInchScreenshots/04 - measurements.png index 8d3a33fb0..9d48d645b 100644 --- a/fastlane/metadata/android/ca/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/ca/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:aa135841084c1d4f781045f71c79a454713d3a829a9606d718635c7bf98d897f -size 61000 +oid sha256:d42acfbaedcc312a262160ef1b83ecfbef8309c3b8b3b5ac7b617dab00fe95d3 +size 97435 diff --git a/fastlane/metadata/android/ca/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/ca/images/tenInchScreenshots/05 - nutritional plan.png index ebc2d0a9a..609a622fc 100644 --- a/fastlane/metadata/android/ca/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/ca/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:17d7d16c07f576e39f02523632c3d1986031674768ca6e3c41b66ad9f94aa6be -size 118346 +oid sha256:d4114215ebbbd2f484c4c5dd2e55b0c9c2d9b34abc8a61252cb4f46d5b99c6d0 +size 192010 diff --git a/fastlane/metadata/android/ca/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/ca/images/tenInchScreenshots/06 - weight.png index 77849fcea..caf640f9e 100644 --- a/fastlane/metadata/android/ca/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/ca/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c1862df6590cc4751880a7fd20e6a7596a5f88ec8489af89c351261d5ae7e96b -size 104458 +oid sha256:15ed751b0e8ebf81357e51d388973a8ad967c337f2a10bb69a94dfe2cd05dbc3 +size 131743 diff --git a/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/01 - dashboard.png index d18caf07b..a476f7ada 100644 --- a/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e90ae7dc0e6cb6169fa95668b860e3ed176ba6ff3b1eeb27a4eebf005cd01ba9 -size 202475 +oid sha256:391668a849ce1ce99e635db21597f3502826ec13331dbddbd00456639dfb0a95 +size 305504 diff --git a/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/02 - workout detail.png index 43d755b57..af8eaf8fe 100644 --- a/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:91447326693f83cd31d3b07d0241ca90ca583cd0ce599c23c0cb63b673d291be -size 205734 +oid sha256:6b73a22d3d12608e39846a5b5f392f47a2d9fe6ef15a37e2669656ad36cd8f9b +size 228966 diff --git a/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/03 - gym mode.png index 8d483e037..9f31f5a4e 100644 --- a/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2ef8abd213414b5de18b74d154a27893aba7b2b85f8897155f664c46af7bf3ba -size 160205 +oid sha256:a41748062115fab41befcc9371a90c1ce73074024620ffcf68c4e3f9341779c2 +size 159877 diff --git a/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/04 - measurements.png index d210d2d5f..299924cab 100644 --- a/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:684e36e2a3e930442fdeee92730ad68a21f0853b6449a16f9e15b2c2525ffc4b -size 92584 +oid sha256:d749f89e832f52b47aada6e87a07632c9e55453141cd31a26359cd32ec0bf14c +size 152796 diff --git a/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/05 - nutritional plan.png index d28125f4e..570ab35b1 100644 --- a/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2c988633b395145af573837a1325f836557eba551464ca8ffff18656c839c80a -size 199800 +oid sha256:e011664d6c29b3162c081debbe98170bd71c991954f275c8bea0c6be327f93ad +size 200122 diff --git a/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/06 - weight.png index 8ec1ccbb4..3d9cc5226 100644 --- a/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/cs-CZ/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1677e07e61afe555608813efe90a5e5c964caff07c7ad33f6c986944cc236a62 -size 176196 +oid sha256:46a66b00f5b2d725ffba8a70b7d495609655e00531e59d4a5e872d7b8e71a973 +size 186422 diff --git a/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/01 - dashboard.png index f8c13cf1a..77bb9f9e7 100644 --- a/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0c5a9008d57579f1c36e7f603a0baedc186815a3cf3d4c33dc1aad4965684e8d -size 71124 +oid sha256:d16ec16f1ef0f33a30c31c3f8cfeedeb5375be07cd57cee871fda85075ca1c5c +size 80665 diff --git a/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/02 - workout detail.png index 22efc4107..264f8ad45 100644 --- a/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f584895437dff22f17bef0a99aae7e226b1efd429fe91e727b264119ea5eed7b -size 46569 +oid sha256:a5f2acd078e32264d2fa4b5e20a05e734709a57f688a25a27e0eb23cb31b7582 +size 51565 diff --git a/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/03 - gym mode.png index 194957a5e..f314e88c9 100644 --- a/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:61a18a3bc2e2f38e4d33d47f73ca9387e06a7b8f5ab5363cc99dc1cf2af3fd37 -size 31895 +oid sha256:666d405e46b21e6abb627e68a895991d427765fc7823e6505dba20e1293c1ac6 +size 40328 diff --git a/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/04 - measurements.png index 30b54fea8..9272f6bf1 100644 --- a/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d14b3fed8044839e12d559963685ec1fb034477a168b9af28086fc79ae37743b -size 21972 +oid sha256:08979a89e2faddb62b92aab7d4c7d099d0d5c6b5adc416becac39d29e767e3d7 +size 37715 diff --git a/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/05 - nutritional plan.png index 9adfd4e90..6f9f28e97 100644 --- a/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c24218f42683b06bbe11896c3b043ffc18acc55dce102cec12105a40a0d16d57 -size 41603 +oid sha256:11f26f5c33c023811dadb88aea2c9839718b4064a4d5e8b1aa5d87df3bb084d1 +size 63309 diff --git a/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/06 - weight.png index 50bcfe6b7..174fe7faf 100644 --- a/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/cs-CZ/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:79849836fbe1965353fee0ef235293ef90d7166f5a689caed00f42fc29d417fa -size 32990 +oid sha256:79a5935dc81bd05a8945bd84b182e970ead19f9e31fbaa4463b840e86c6613c3 +size 50568 diff --git a/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/01 - dashboard.png index 9011abf53..375742a75 100644 --- a/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:829445539b7426da065841ad4b6400ae394eb9043775165330a1826f99310f5b -size 207520 +oid sha256:9d283fc915e4b709cd7d755bcb1727bb1c2b1988cf67e6e317c15f0389037304 +size 250107 diff --git a/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/02 - workout detail.png index 3dcab885b..1806b7d7b 100644 --- a/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9d5bccbe801f7e3b3f753d5449c867132b92462b6f4f66c64883aad4ebac55f -size 120956 +oid sha256:2a69818bcee8559a636d75b0a2529bd65f31f23caa0d82b5ed2fe8857c6300e5 +size 129236 diff --git a/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/03 - gym mode.png index 392de33e9..e2bb9aa62 100644 --- a/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:70cfea9c329392736c427a1aeb04cb752b35f089dd94daae6ea3b3012a8d195f -size 94181 +oid sha256:f9e67ff8167d855e6ca00c577cab29c2f5d53b6bd660e671aeedcabdbad376de +size 95217 diff --git a/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/04 - measurements.png index 185273542..b10feae97 100644 --- a/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8d5492c7b42138575cf5db6bfd2266efee77ed2674b8961dfa1f931926bb860c -size 59135 +oid sha256:8cce529d4ba57803ce7a28dfb504e3c7d8a46055af8b9dc59a8a42a53fd0f3eb +size 94619 diff --git a/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/05 - nutritional plan.png index ec4d2450c..ae2e6ab21 100644 --- a/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a57ecbcd3604d67c289682218640d6002004439b90bdf97c65acada7cff2bd44 -size 119101 +oid sha256:130d9426b752a91c7ec0f68a9509f163d315fe88a45732b73ea718b4de3a5df4 +size 188410 diff --git a/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/06 - weight.png index eec398529..f6809c691 100644 --- a/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/cs-CZ/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6e13b1155d6e5da4125714be80080ec267b66c19c04de6decb2af3cea480188a -size 101976 +oid sha256:a802fcc40bdecb47f6c6b65d736ea5d8d741ac9706ef2b41b19e00c99c0fe78a +size 127564 diff --git a/fastlane/metadata/android/de-DE/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/de-DE/images/phoneScreenshots/01 - dashboard.png index dec81da1f..dd5840eb7 100644 --- a/fastlane/metadata/android/de-DE/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/de-DE/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c8bce9730b39b0800c583bbb5495391b9fef01d97bf1853a0c00008c68f19ec1 -size 193943 +oid sha256:7e49fdbcc47934120b3be3233aa5162dd223390f98db6ac8db645d9e607bcf61 +size 298290 diff --git a/fastlane/metadata/android/de-DE/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/de-DE/images/phoneScreenshots/02 - workout detail.png index 1bb224df7..8dd4f003b 100644 --- a/fastlane/metadata/android/de-DE/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/de-DE/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9664438ef3fa7d17b97dd48d95553e94e9fe6faa6f76281798dd126420d0c6b6 -size 205546 +oid sha256:6ed36395f118da38d151d13c124d0bd9ed3b4aea7e6808fd7c2ed4f516834df3 +size 228658 diff --git a/fastlane/metadata/android/de-DE/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/de-DE/images/phoneScreenshots/03 - gym mode.png index c612c64e4..729086279 100644 --- a/fastlane/metadata/android/de-DE/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/de-DE/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e945a2e734dc02a88e42e6df2e2a220db024a754d4d7b0d536fa90458de2a7e6 -size 169279 +oid sha256:8d91aaf5ff572c1501762dcbebb4829f75fb6be2a0ec73ea91a2dcb569099d4f +size 174638 diff --git a/fastlane/metadata/android/de-DE/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/de-DE/images/phoneScreenshots/04 - measurements.png index a805f3d84..3eb46cc12 100644 --- a/fastlane/metadata/android/de-DE/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/de-DE/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8b05d7b9af8b5134aa56f4835656b83442b57572de05071236828fe2caa9e42f -size 92896 +oid sha256:de2137e8c8e1e50c5deabbd02c0da06446ed21af637e59b966dba5f5070a5fe7 +size 150996 diff --git a/fastlane/metadata/android/de-DE/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/de-DE/images/phoneScreenshots/05 - nutritional plan.png index 8ee5db080..1368b9acb 100644 --- a/fastlane/metadata/android/de-DE/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/de-DE/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:505bd2b5b4a90c48e05c443fc1307bda40366bf4cd9a65e9e7ee1fe6ff6976a5 -size 202223 +oid sha256:8b892d4fdc8f0105a4152a52120a42a033e803081582f5a8e553d678a05e4325 +size 202395 diff --git a/fastlane/metadata/android/de-DE/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/de-DE/images/phoneScreenshots/06 - weight.png index 45676e780..382f8e960 100644 --- a/fastlane/metadata/android/de-DE/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/de-DE/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:403c79fdae3268c5fe9bd70ad7ba5b693257efc2c850ef69d335c9b942cd861a -size 201907 +oid sha256:33ef6320d892a23b14497fe25cc722a8bdc752774c7d9d21b636cc424f77f306 +size 212124 diff --git a/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/01 - dashboard.png index 78484d313..ff218b169 100644 --- a/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7eff693ef2d086161695bfca267b6010c1c4c08d84e3aa941342bc9222f094cf -size 71350 +oid sha256:e3b9c2ca4a2243db7f07b360f578837bf8dcf91454cacb8be8a82d06d500c1e1 +size 79954 diff --git a/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/02 - workout detail.png index 0160410b4..dbc0a6e56 100644 --- a/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:086ce8042116b77805016a200b10aa175a27d051d4dbc2f0302777e752aa6fd0 -size 46276 +oid sha256:958768b3e2616e7deece8225987e707ae913b04f22db131505695b58dca7cb5d +size 51334 diff --git a/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/03 - gym mode.png index 65b704c8d..6bbcc99dd 100644 --- a/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0d836c9c1a822a2f771e3c25ae06b3686da966a2ff45801c3fd159c71fc085f1 -size 32126 +oid sha256:33116279e18888d5e65144be89cea87f34053705b3925b6eae1b0081c0ab53f9 +size 42256 diff --git a/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/04 - measurements.png index eafd2fde4..1e77091e3 100644 --- a/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:95e0a951e38fd08bd83b5f854ddf432eb2e8d02c615426dcc39ca1d6eabdacbb -size 22355 +oid sha256:ba17a6fd71e28b8fe7c5a6a09529c7d844f898fec9c061eb594de4b4e1b0e5b8 +size 37526 diff --git a/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/05 - nutritional plan.png index 8db07e932..a2ef530e1 100644 --- a/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7857ab7c05c5eb036b4bc58f66892fd96f822758f75d1afd785d853daef990a9 -size 41486 +oid sha256:c41e737f908785fe1cf3be4da085adc9e84a46fc85be0b9b59f1d9eef61fdb80 +size 63913 diff --git a/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/06 - weight.png index c62585d13..7fb2fbd4c 100644 --- a/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/de-DE/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4ce82e5b81bbafaad78cf2455b723f93f336a5df80618bdab39666b61a1d9bac -size 38576 +oid sha256:c37c06998578e2815b1a22a896aa5dabdefc955b240c9043e2d84d86a1687fb1 +size 56609 diff --git a/fastlane/metadata/android/de-DE/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/de-DE/images/tenInchScreenshots/01 - dashboard.png index f70cf320e..b43f50f76 100644 --- a/fastlane/metadata/android/de-DE/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/de-DE/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5707b6d78440caf51457a2c61742a54a18f43f7d748049929efa1b53ec3fe8be -size 205366 +oid sha256:79b22bf70c5f49340c9a6ec5125c5259b07e14db993e1e9f5a23f29dc51225ed +size 246633 diff --git a/fastlane/metadata/android/de-DE/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/de-DE/images/tenInchScreenshots/02 - workout detail.png index d6fc014f8..43f44971c 100644 --- a/fastlane/metadata/android/de-DE/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/de-DE/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1e1216b1ff9a3c73c750321725a02def31ce9fc284b1e04a110a5bafab556da7 -size 120954 +oid sha256:0d555450b7d097679cf18abab0bd90e99af6dde70b117f927a5fe00f014feae2 +size 129164 diff --git a/fastlane/metadata/android/de-DE/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/de-DE/images/tenInchScreenshots/03 - gym mode.png index 4a2df199b..880205ffb 100644 --- a/fastlane/metadata/android/de-DE/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/de-DE/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f642a5785c16174a66084a783e912e9c5f35f753200923e0ee6bf268238a68f3 -size 95089 +oid sha256:af526feff80ae3cf86688259a1be21c5dcc738e371e3aa03f18e950f35a41e9e +size 98501 diff --git a/fastlane/metadata/android/de-DE/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/de-DE/images/tenInchScreenshots/04 - measurements.png index 3010c03f4..1327d6551 100644 --- a/fastlane/metadata/android/de-DE/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/de-DE/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:70dbc8ec96ef170fc54fabdb25a45eabfd04d78049c2d0f2092da75c805d62ef -size 60227 +oid sha256:88a36d36faccd2871f58a92017c7b4dceb75474a09e9375dd755a47148d12853 +size 95867 diff --git a/fastlane/metadata/android/de-DE/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/de-DE/images/tenInchScreenshots/05 - nutritional plan.png index d1e5a2855..858880760 100644 --- a/fastlane/metadata/android/de-DE/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/de-DE/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b8737f41c890bae4ff035fe0f2aa49656257449bfaee4f414098668db0acdeca -size 119313 +oid sha256:fca58ae91702eadce52838f11991c1b9bf6162a93b4778886cba9bfbfcaf636c +size 193317 diff --git a/fastlane/metadata/android/de-DE/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/de-DE/images/tenInchScreenshots/06 - weight.png index 65fdaf12a..c8608dfd8 100644 --- a/fastlane/metadata/android/de-DE/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/de-DE/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bed68b70299c6ece0133e0e455da0e91b08f1ea10d0eab2e23ec60ec5f608b4e -size 114003 +oid sha256:24a7c21b8344e6229033425f358e2595d5c8a6fb4c80e551f83581fd89e0e39c +size 139277 diff --git a/fastlane/metadata/android/el-GR/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/el-GR/images/phoneScreenshots/01 - dashboard.png index 095f3b20a..8cdd01104 100644 --- a/fastlane/metadata/android/el-GR/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/el-GR/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:518e4ef2cc5e6ae3b0481e8fa9219705f0c6e55ceb106dbd609a3667491e7cd3 -size 195718 +oid sha256:c935cb75bd4ae48df0a1b9999063b0c2b3d641b7fe4fdfecd245b0f83a868fff +size 298718 diff --git a/fastlane/metadata/android/el-GR/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/el-GR/images/phoneScreenshots/02 - workout detail.png index 81a0eb870..24a10be6f 100644 --- a/fastlane/metadata/android/el-GR/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/el-GR/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2a7b7ca9e487d847b878f0540407ca74424ef6a624c193dbb9ce58b677247dfa -size 215786 +oid sha256:7e4d7db1ae8329b67d4518236c2d633a933926d4a2d847063452a71f4c753731 +size 238377 diff --git a/fastlane/metadata/android/el-GR/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/el-GR/images/phoneScreenshots/03 - gym mode.png index d921e51f4..49deb372f 100644 --- a/fastlane/metadata/android/el-GR/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/el-GR/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8350fa0921f28bedf73524adc858dca33c0b8de816403080db2290aedb59c151 -size 159734 +oid sha256:56686c9f1cc0b4822e3f2af79e401a3ba51b61d696a1e199b838a057116d24ce +size 159762 diff --git a/fastlane/metadata/android/el-GR/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/el-GR/images/phoneScreenshots/04 - measurements.png index b3b66e289..148d2b1b8 100644 --- a/fastlane/metadata/android/el-GR/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/el-GR/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e653d2a0e01fc906970e041b105fb1474141845c32af797f2c00b57cea1de31f -size 93089 +oid sha256:fecef02ab9f8224b04625d281b14bf0d69e24aadcf0275fc0b58fb5d2ce08bbc +size 147432 diff --git a/fastlane/metadata/android/el-GR/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/el-GR/images/phoneScreenshots/05 - nutritional plan.png index d94539a02..b5a7192ab 100644 --- a/fastlane/metadata/android/el-GR/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/el-GR/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:af466500bd08370af6959e224bde912e030fd4e04d935ea9c562d072de907be3 -size 206682 +oid sha256:8e5dc8859c9557e3b8287acb759fccbdf7430b146f7f36dd47f3eec12e7655b7 +size 205315 diff --git a/fastlane/metadata/android/el-GR/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/el-GR/images/phoneScreenshots/06 - weight.png index 89e015199..2fd746066 100644 --- a/fastlane/metadata/android/el-GR/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/el-GR/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bf2a773e08f009f5c0b8da8c9bd77e5f7309d8e2e3ae9ce8fc6d9c396b5bbb03 -size 192082 +oid sha256:65d392b394532c092b60b3e0995d3e129839c4d7fffc019d5a0aeaa4838b5aec +size 202098 diff --git a/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/01 - dashboard.png index 2a07bbf09..7ca39c465 100644 --- a/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7c4ce2d3257199d0a5ea70cc98c3accb784e4f5ba71a80c0f187b62adf08cafe -size 71778 +oid sha256:861471cfc51fb84c0eb1ae28ab5ef0f534ce51b32962b22671e242fc8d11c508 +size 81414 diff --git a/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/02 - workout detail.png index 809bd7f12..ca72a99e7 100644 --- a/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c514cdfe72d54669bd06b3da8fa8e0f74e4c54fa8b9c777cbb20e65c788fd606 -size 49630 +oid sha256:123f607e9616b53ec4f9d46192cbe4d2a6f558f5086a8dbe42307c550cd36fe9 +size 53880 diff --git a/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/03 - gym mode.png index 756a238b1..08bdbc882 100644 --- a/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:69ed544ea32acef6b6dbd386387843eefacc84c1a1406004ea375218e3a60968 -size 31468 +oid sha256:380e1c5d9fb10048a134e62b5367c4b89043ceb2ef6cad3e88a2505142560516 +size 39107 diff --git a/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/04 - measurements.png index 5660c25a9..4855dcc56 100644 --- a/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ecf4aaa320d3dac68bc22666bc4353d666a128dc50a23f7871e91959be4a66e4 -size 22732 +oid sha256:d64194db141584414eee2e37cbdb8c496b22df18b74e345eae49b594faf7452a +size 37306 diff --git a/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/05 - nutritional plan.png index 59b9a8808..8a15fbd4e 100644 --- a/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2e15e858609732f64d9e7e6ae60263c3e01dd10c72a6f59c7fcd4853a0df4ec9 -size 42019 +oid sha256:8abec91530b21ffb12e8ec41c626a6a240a0fd04f330539fef34722736c2f7dd +size 64410 diff --git a/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/06 - weight.png index 87600380b..6d61292e0 100644 --- a/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/el-GR/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e4cb1e87f3f7455d4f3953ad7227f4d56d5e54e90c127c869b3a0da0078c3be5 -size 35390 +oid sha256:8b6196781cebbffd4562ed58dd52d4c99dd537fccc5ca74a9fb437db207375e6 +size 54659 diff --git a/fastlane/metadata/android/el-GR/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/el-GR/images/tenInchScreenshots/01 - dashboard.png index 334aa7edb..76e1ed250 100644 --- a/fastlane/metadata/android/el-GR/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/el-GR/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:37b5e1fdb89145735f814422aa9c030ed2810d5cd200c14be2e77b76c599aaaf -size 207658 +oid sha256:ec6b4b33d48cb037ec53ea597ca9202c7df3e3d5ce414791a3fbbc193475890e +size 249736 diff --git a/fastlane/metadata/android/el-GR/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/el-GR/images/tenInchScreenshots/02 - workout detail.png index afde1632b..fe083e9d0 100644 --- a/fastlane/metadata/android/el-GR/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/el-GR/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:14f4237d613b2c640b2081c29d10aa71d566e0ef9f74d0b67b21d3f61ae48b75 -size 126806 +oid sha256:65a0ff896cbe0aa351f6946a4ee9ce4727982e179d072486456130b0376758a4 +size 135086 diff --git a/fastlane/metadata/android/el-GR/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/el-GR/images/tenInchScreenshots/03 - gym mode.png index 900761de1..b9dbc2b07 100644 --- a/fastlane/metadata/android/el-GR/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/el-GR/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:886b922b365189267d378cbd1d636a32eab18828c89e19fb8393c1b0e7186d27 -size 93317 +oid sha256:785baaeb3e359bc9345b71278181e73c20b92a0c8c68f85a2a5a7be52f357dfd +size 93378 diff --git a/fastlane/metadata/android/el-GR/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/el-GR/images/tenInchScreenshots/04 - measurements.png index f36928b0e..f7bcdd307 100644 --- a/fastlane/metadata/android/el-GR/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/el-GR/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9136e041e1143666e9f802c22b4e4629796968be1210eba61459b34d2e79b7d8 -size 60512 +oid sha256:dafe4eb535ec1faf8b367b32aff089a89908bc62a0b38c41aef3aca085cb9c34 +size 95107 diff --git a/fastlane/metadata/android/el-GR/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/el-GR/images/tenInchScreenshots/05 - nutritional plan.png index cdd4b45af..bb866c6de 100644 --- a/fastlane/metadata/android/el-GR/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/el-GR/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d3bd65033e609798ef51ff97a24b3107dd4ef2ab7fed8fc69202996a95e5f927 -size 119133 +oid sha256:8324383666ed2494119b3f394890e2e380a689249a91a687de5b33ec149d2ec4 +size 187436 diff --git a/fastlane/metadata/android/el-GR/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/el-GR/images/tenInchScreenshots/06 - weight.png index 403cdd324..430bbf1ab 100644 --- a/fastlane/metadata/android/el-GR/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/el-GR/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f9ac152027c081782c281578b8504b141939e8f0d6a04dd8f0a18967d77f1ccc -size 111054 +oid sha256:c2b347cc9942b5be3e8c546bf04e819f862c37b57240b92873174d4c0dd7525f +size 137479 diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/01 - dashboard.png index bc9c147d9..5559512d1 100644 --- a/fastlane/metadata/android/en-US/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/en-US/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:617ca449dc65e1085262c5f619bc5a65d4f9a2aa3f66d85a4f39ded99d876c7c -size 195999 +oid sha256:df665f55aa6705e48ea6dd448ec1caea77892d21c1b2fce0dec4780bf2c764ca +size 300503 diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/02 - workout detail.png index 43d755b57..af8eaf8fe 100644 --- a/fastlane/metadata/android/en-US/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/en-US/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:91447326693f83cd31d3b07d0241ca90ca583cd0ce599c23c0cb63b673d291be -size 205734 +oid sha256:6b73a22d3d12608e39846a5b5f392f47a2d9fe6ef15a37e2669656ad36cd8f9b +size 228966 diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/03 - gym mode.png index 15c479160..2ab1bad59 100644 --- a/fastlane/metadata/android/en-US/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/en-US/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6fb84cfd86e7baba3c8078a77a9bb9a8c3540edebc5512b3b6f05517f361b458 -size 160886 +oid sha256:4a3ba96e99ddd738976d20c3ad467ff9c9be265ad103d2dfd5695b8b0034ab28 +size 160970 diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/04 - measurements.png index 46a842ba0..a21a0ae2b 100644 --- a/fastlane/metadata/android/en-US/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/en-US/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:458caacbfb0c6920ad286d2bbe1b9421b9c946424150ac285da488dc149e88ec -size 91844 +oid sha256:45048efd63bb477627a7ac634b643b66a1b15de665378c44f99169d793a363cc +size 146882 diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/05 - nutritional plan.png index a3e102420..058097d67 100644 --- a/fastlane/metadata/android/en-US/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/en-US/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:30f2f18b80b1f66767b2c9a224cb6c85b3d0d9db5f5209f86dc2f03be035a244 -size 207497 +oid sha256:4ee280379526e80d0688cc541dd7cd7a28a9e2948b09541357dfa95f1e48e3f7 +size 204581 diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/06 - weight.png index 66cb69d1a..81ecb2ad5 100644 --- a/fastlane/metadata/android/en-US/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/en-US/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:46c893fd0734e89ffbcaa2af700303b223be5a6e4650adba08609eadfede3f9e -size 188124 +oid sha256:732746887cbf2e19e8172b42a3501f0acd7e16fa40537a7a0d5380d1cecc7b9e +size 198695 diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/01 - dashboard.png index bc2c9b20b..d5a791741 100644 --- a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dbc9fd4645be8f889daeeb6a420dbc301ddeb15611e5f44a7eb2770aa932a820 -size 71291 +oid sha256:d5896539773620a1511faca9879c3e5d7fc8d0c37425bfbca8a75c1070037449 +size 81484 diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/02 - workout detail.png index 22efc4107..264f8ad45 100644 --- a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f584895437dff22f17bef0a99aae7e226b1efd429fe91e727b264119ea5eed7b -size 46569 +oid sha256:a5f2acd078e32264d2fa4b5e20a05e734709a57f688a25a27e0eb23cb31b7582 +size 51565 diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/03 - gym mode.png index eb5b3f6e7..5904852e9 100644 --- a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9319000aa2a1c65357bcb5b0b2b70015033bc29a27bd6cdff74317f2b78445ca -size 31253 +oid sha256:f3096ae23eea7fe4e72d1d4ac24469d151fa19e5dfaac76e24a0d038547ec2bf +size 38580 diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/04 - measurements.png index e6dffb7ae..6a3abce6a 100644 --- a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:435bf4093ea2b1116c7770cbee36b4715e362bc3f859dc22caee8dafc0f95f77 -size 22504 +oid sha256:c8f7be37d8534df662a21d87fe1fe8cd0f562168cfccb6edcbfbc9d78760cf62 +size 37554 diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/05 - nutritional plan.png index 43b62e876..f32c372d4 100644 --- a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:823253fa060c9df49f8a0e5baed2799beccc46fcfe3e1912d91eca013c3f9be0 -size 42609 +oid sha256:1fb60a440bd7bc7b5302a1514b38060fa293a4a8d2aa2cdde96914c263eb21c2 +size 64891 diff --git a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/06 - weight.png index 1441e7f1f..0070ef9a5 100644 --- a/fastlane/metadata/android/en-US/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/en-US/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d500e1a67609446e509cea484e21427bc7772a42294d69a8c9ee30a0f7fe3891 -size 35222 +oid sha256:cd13903252d81ddd70aedebbe110b81f0bb6a79f000ad52a5522ab517fff498e +size 54007 diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/01 - dashboard.png index f8ef53566..169a4d2a3 100644 --- a/fastlane/metadata/android/en-US/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/en-US/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a4b6a280de85640516441521db5844b1a5f599aed59e19cb425c2715286ac93e -size 204986 +oid sha256:e8d020638ded16e92e4f67db574d57015dfc5ef95afcb56647cdf9076e83b64d +size 248229 diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/02 - workout detail.png index 3dcab885b..1806b7d7b 100644 --- a/fastlane/metadata/android/en-US/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/en-US/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9d5bccbe801f7e3b3f753d5449c867132b92462b6f4f66c64883aad4ebac55f -size 120956 +oid sha256:2a69818bcee8559a636d75b0a2529bd65f31f23caa0d82b5ed2fe8857c6300e5 +size 129236 diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/03 - gym mode.png index 7e734e7e8..eb46d8bfc 100644 --- a/fastlane/metadata/android/en-US/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/en-US/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cb50cc661b8118bc3a3fcb4236db176c0d0f16110215cb8c626678a4051ccaf9 -size 91860 +oid sha256:6d41e7164a4b2f9b806c4d9cfdb013aa54ed8ac310dc6a80360d10c0c0d818a8 +size 92173 diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/04 - measurements.png index 7109717e0..d8b01d998 100644 --- a/fastlane/metadata/android/en-US/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/en-US/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e366a8e8eac946cff9077ae1ed8da8cabeab7251b5f7866ed26098848b1b8e02 -size 60269 +oid sha256:d09502c1c8f56e739f2a8c69df85662cb429d4b06628782c31d7d3e429bdf0fd +size 95490 diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/05 - nutritional plan.png index 6f30413e0..3fbc46327 100644 --- a/fastlane/metadata/android/en-US/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/en-US/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bb0790029b820ab0c10b7681f2ec1ccc9f84cb306c2471c8ed76cc44fc24f45d -size 120509 +oid sha256:e324bff37e70bbd75f7ba6245da1105402cc5e57f6d6690c649e02923b0862d4 +size 187996 diff --git a/fastlane/metadata/android/en-US/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/en-US/images/tenInchScreenshots/06 - weight.png index ee4fbed7b..3318384f1 100644 --- a/fastlane/metadata/android/en-US/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/en-US/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:59f8c805686d243d9593d63c427876e70158cf9f37cfe9180f06fe8332b1d1d8 -size 109815 +oid sha256:75a9cb986f5f8cc101ab8e6acbf44294c352417fb30627983cc2a122d3384596 +size 136336 diff --git a/fastlane/metadata/android/es-ES/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/es-ES/images/phoneScreenshots/01 - dashboard.png index d8bbc4978..5f17841df 100644 --- a/fastlane/metadata/android/es-ES/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/es-ES/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0c59ae4008acd90cdbc56441a0af5e6a3640ed3bb46d0f7c794b27e1abc1b3e1 -size 201097 +oid sha256:fa549e03574788cbf0b1b0bdde04f4e98b06589a4a329f5a30b20ee99d4f2766 +size 304461 diff --git a/fastlane/metadata/android/es-ES/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/es-ES/images/phoneScreenshots/02 - workout detail.png index 43d755b57..af8eaf8fe 100644 --- a/fastlane/metadata/android/es-ES/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/es-ES/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:91447326693f83cd31d3b07d0241ca90ca583cd0ce599c23c0cb63b673d291be -size 205734 +oid sha256:6b73a22d3d12608e39846a5b5f392f47a2d9fe6ef15a37e2669656ad36cd8f9b +size 228966 diff --git a/fastlane/metadata/android/es-ES/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/es-ES/images/phoneScreenshots/03 - gym mode.png index 7c20aa941..d30bc3e08 100644 --- a/fastlane/metadata/android/es-ES/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/es-ES/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5d2d467f285c21cd1059b3064fdfeba57a60d94cef8ca3e6234d3a08ecdd7b75 -size 165169 +oid sha256:a0dfc92d463e48ef8471d5c8450c2630e8f6e61bde41829afc6c63707b099fe4 +size 171287 diff --git a/fastlane/metadata/android/es-ES/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/es-ES/images/phoneScreenshots/04 - measurements.png index 3dd7ba1e7..975a11b3d 100644 --- a/fastlane/metadata/android/es-ES/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/es-ES/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b106f04cca2b7c46ebc244af5977956260059c378567bebe530599cab7469688 -size 92872 +oid sha256:694dd09bd97fe983264f96525588a34aed4812d895f156c4f25c0f587fe5f2fe +size 148594 diff --git a/fastlane/metadata/android/es-ES/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/es-ES/images/phoneScreenshots/05 - nutritional plan.png index 3c74701a3..739909116 100644 --- a/fastlane/metadata/android/es-ES/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/es-ES/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6155dcea4159cbce9a4d2c17bede846856e0fbba28663e1d7de344bfbef3ca8c -size 203698 +oid sha256:09d19b0cb947fa88bdf7c0c22e4dec88a047cfb38d16b8b527fbb4fdb81df2e9 +size 203969 diff --git a/fastlane/metadata/android/es-ES/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/es-ES/images/phoneScreenshots/06 - weight.png index d84ce58b2..df5900ae7 100644 --- a/fastlane/metadata/android/es-ES/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/es-ES/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c1d9bfd6bc2b14c4076f99bfd40e60a767503b97e4e23adcb79ddf8e9034d116 -size 185755 +oid sha256:55adc8d1c327149107ec5b379fa3e4e0ab39228ee63303fb8b04727ee5a2ee8b +size 196169 diff --git a/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/01 - dashboard.png index a4564cfb6..2eac36bf2 100644 --- a/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0f474ae0f3b65fd9695834627af5fc37ff4ed7a72c93ac3c752cf00ab4c9cf6b -size 70224 +oid sha256:fb8ee3562279613e6cebef7aef5cb51dbc909d6a3b0108279f7be64f587dc8ce +size 80043 diff --git a/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/02 - workout detail.png index 22efc4107..264f8ad45 100644 --- a/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f584895437dff22f17bef0a99aae7e226b1efd429fe91e727b264119ea5eed7b -size 46569 +oid sha256:a5f2acd078e32264d2fa4b5e20a05e734709a57f688a25a27e0eb23cb31b7582 +size 51565 diff --git a/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/03 - gym mode.png index cf6dc3466..6985a2915 100644 --- a/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:128f98a0825e5facf9c44c7abac0058e37da8c2ea1e918965445278d060f1f4e -size 31640 +oid sha256:4cbbc1442da9c94820a5033a8d08b9b76c28d04755f9d344dd960ef1ec9ca914 +size 42747 diff --git a/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/04 - measurements.png index 127edf6fa..667a70d07 100644 --- a/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7c8ae6694d3ac7c6dbebee7c79f86d0903e49d5f67be2f58d8db6ae67a7feb63 -size 22093 +oid sha256:21e40a3ecd379dbae36dd2914eaf405bf5af56baa438403566fa2eee061a8595 +size 36895 diff --git a/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/05 - nutritional plan.png index 7948dd3b6..481c28dcf 100644 --- a/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9ef38b899a75c9003b571093effc6844c27668a6a90262c4bc4d75b52bae98be -size 41672 +oid sha256:772fddcda7de68d7d202176e0fc5de90767597ec7d3329d0d7661e9213fb773a +size 65921 diff --git a/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/06 - weight.png index 5c270e395..c6f46ec86 100644 --- a/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/es-ES/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:095cab60fcb0e10c1ca3512ca5ceaee773e0248f1647532887771a6c3523707f -size 35247 +oid sha256:38fc8eacbbfd795003e46150ce9cc4c4438cfc8314a78b47dc77d8f9dc9dd990 +size 54716 diff --git a/fastlane/metadata/android/es-ES/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/es-ES/images/tenInchScreenshots/01 - dashboard.png index ae162306f..ba8c1c487 100644 --- a/fastlane/metadata/android/es-ES/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/es-ES/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6f41d0436d468296b1b8c9eae419a1724f3ffe2bd57616532f5d3aaabff28d77 -size 205806 +oid sha256:d39376e6a3b358470066cbf8b89eda8ccfc468ae87bfe9bec68ec3e481f77bcd +size 248136 diff --git a/fastlane/metadata/android/es-ES/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/es-ES/images/tenInchScreenshots/02 - workout detail.png index 3dcab885b..1806b7d7b 100644 --- a/fastlane/metadata/android/es-ES/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/es-ES/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9d5bccbe801f7e3b3f753d5449c867132b92462b6f4f66c64883aad4ebac55f -size 120956 +oid sha256:2a69818bcee8559a636d75b0a2529bd65f31f23caa0d82b5ed2fe8857c6300e5 +size 129236 diff --git a/fastlane/metadata/android/es-ES/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/es-ES/images/tenInchScreenshots/03 - gym mode.png index 08bf74926..af00ea294 100644 --- a/fastlane/metadata/android/es-ES/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/es-ES/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4030a30bf10e1d5820beb2853af8c1513a47432ccd477d20d57b885edf8c5900 -size 94267 +oid sha256:4a2ed4139e7504ad9cdcc0070a166b311ae562eab1b086379bc9382f8067d801 +size 98976 diff --git a/fastlane/metadata/android/es-ES/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/es-ES/images/tenInchScreenshots/04 - measurements.png index 10bc36448..e483d192c 100644 --- a/fastlane/metadata/android/es-ES/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/es-ES/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:67ff26bf22832b86c898041534fa3276681c11670f71976c3f371b55cc8c97e9 -size 59598 +oid sha256:75216d8030d0dcbb6107b624afab5f05e304f4c14845d995e1dc1e204b09723f +size 95489 diff --git a/fastlane/metadata/android/es-ES/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/es-ES/images/tenInchScreenshots/05 - nutritional plan.png index bb34cae86..9caca1afa 100644 --- a/fastlane/metadata/android/es-ES/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/es-ES/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:54cd99a698696b820b4bf9d0e8955e8f0d504e224e32cd3545fbd6e534defc8f -size 121155 +oid sha256:60441d9c0eaa04de030503c23b9cc96ac8b94798bc2b21dac9b92297a72bec00 +size 198417 diff --git a/fastlane/metadata/android/es-ES/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/es-ES/images/tenInchScreenshots/06 - weight.png index 1bd42aae4..a3150d170 100644 --- a/fastlane/metadata/android/es-ES/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/es-ES/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a87fe12ba06f855d539efa3d0a255d5a7139b9354e6a0f7ee05b027887c188ab -size 108947 +oid sha256:07319b4326954cdcc509acd0fd9ea384d8b9f984da780b15215acd86f323bbae +size 136169 diff --git a/fastlane/metadata/android/fa-IR/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/fa-IR/images/phoneScreenshots/01 - dashboard.png index d717b65d8..2a649a713 100644 --- a/fastlane/metadata/android/fa-IR/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/fa-IR/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d0b27ab74a55746fbbf922e05e71fbfc18b8f88572a6fccf8bc1b0bd24414b5d -size 190320 +oid sha256:b314e3df7107135b68ccd26c384faeb4b39aaefc7183f041f4798a27b7747c89 +size 293973 diff --git a/fastlane/metadata/android/fa-IR/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/fa-IR/images/phoneScreenshots/02 - workout detail.png index 29b37f6ef..2c6909870 100644 --- a/fastlane/metadata/android/fa-IR/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/fa-IR/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:938a0afc358c213445ff3a468dd95646da41d39dd0a0ac108fdeea72edccea3a -size 201871 +oid sha256:968ccf515eaa7e5853ced8de98b1f58d8cee4ae3e3ee09c40ce94055807d2d26 +size 225508 diff --git a/fastlane/metadata/android/fa-IR/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/fa-IR/images/phoneScreenshots/03 - gym mode.png index abebb2b19..fa9b80bc5 100644 --- a/fastlane/metadata/android/fa-IR/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/fa-IR/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:36077cee7807fc7ef45d056eca4219a6400abe17a41df198bf7884414cb1ca85 -size 161885 +oid sha256:9d7c43ffc81962a1f1a0dd5b8fa4b5cbbfea5a2a4137fcc187a451d5b82b5ae9 +size 162017 diff --git a/fastlane/metadata/android/fa-IR/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/fa-IR/images/phoneScreenshots/04 - measurements.png index e971ec7c8..7d37dec6b 100644 --- a/fastlane/metadata/android/fa-IR/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/fa-IR/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cb7992868cc6c99f7ae24fe91da8f1f099da4d638f446be995cb093b23bea050 -size 90511 +oid sha256:212d25334879f8b8802998ed7aaf91bcbfef7f018ec317afec1cd07769c42acc +size 146188 diff --git a/fastlane/metadata/android/fa-IR/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/fa-IR/images/phoneScreenshots/05 - nutritional plan.png index 658c4d192..29650a784 100644 --- a/fastlane/metadata/android/fa-IR/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/fa-IR/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:331e2e36cb1137a104e7052aa4f54422600a2ca642ede1a68a02461c7b089e31 -size 196174 +oid sha256:f54c2edb6cf8c56205bd7a447a244623a40b1b24b61489ccce1964b8b25a6532 +size 196015 diff --git a/fastlane/metadata/android/fa-IR/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/fa-IR/images/phoneScreenshots/06 - weight.png index 986002710..8f9fa7803 100644 --- a/fastlane/metadata/android/fa-IR/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/fa-IR/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f5bb31787ef8ec907114f8709ba47f2ca6614fa752538506072598867319bb37 -size 179208 +oid sha256:939922ece89f4bdb7f38607a57fe96df2eb04f1f376194011325105cf0c0d1a5 +size 192448 diff --git a/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/01 - dashboard.png index 361f59f5c..76fa6554e 100644 --- a/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8f4eb5f12b5e89761d5873f3439e09176a553b6748247f3df306e511224fab82 -size 66401 +oid sha256:7a6dd7c279cb7ec7058c0a2db9932e490c154e7a9ffca26ae8cf7fd4e5e6401b +size 77297 diff --git a/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/02 - workout detail.png index 161757d71..a2a2825b9 100644 --- a/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2d5aff5c0b946c5c23cc92eacccda91faca508bfd80089b9ff20c936189b1550 -size 46900 +oid sha256:3fba8a37603a3b22889e1be763fbb07efa64c746c0c1469b3623baec8c92a60c +size 51624 diff --git a/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/03 - gym mode.png index 5d754e9e2..560331e9c 100644 --- a/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:54b6d7d8317cd23058a0ce2ed184d29d0fbfb64a513cb0262e3edc3733d64012 -size 30485 +oid sha256:5b7a281c135028144bc813dcdf630bdd607a209d992593d51f300945e32d62d9 +size 38343 diff --git a/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/04 - measurements.png index 32b2e9d3c..2232b9e54 100644 --- a/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a5918fb78ecbfdcd489d5c4a169d28436856fc1db54292a3f917f3bc568adfa6 -size 21461 +oid sha256:63bde0d2d145142048a4f6c29b2b84f151ea1b9ee60e773155f7f1aedd51a9e0 +size 35827 diff --git a/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/05 - nutritional plan.png index 1489cd66a..60bee5772 100644 --- a/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e9d7f2f6b7c7e5a82c266dc37180665e2e88c23254cce8096db81fea193a6da0 -size 38689 +oid sha256:5b35969cfacedb14c98d1762bebc7f62c7e8d0cb4492a20138e3d976b756eabb +size 61602 diff --git a/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/06 - weight.png index b778dcd05..76cb4fe9e 100644 --- a/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/fa-IR/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:657414d70a23aa0c4afc0694f5d689de97ff72673068c3e8f2cb61f6eea77007 -size 30993 +oid sha256:dd35146a3c2b93fd0c56be052d439b2ac7caefc2c686f63011fbffa48a242d21 +size 46967 diff --git a/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/01 - dashboard.png index 6915c2a38..ce30078fc 100644 --- a/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:05762248092aeec4a79c97c34aff79fafc8ee497000fc724081c6ec52ec3abfc -size 201522 +oid sha256:700fd1c7ba16b3a106eca57f249edb188e5a9a0ec2415b33beada77f873c50b9 +size 244851 diff --git a/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/02 - workout detail.png index d6b85b5f2..8c277ad45 100644 --- a/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:76cfe1f18c212d4f2bc146ce42226fa4246d6daa5b2d1e664417cc0cd038d7b3 -size 121848 +oid sha256:58d81b32de7f9bd74809a2cd4c83b8b64ba39a651fc434d74a92c043ac17aa95 +size 130006 diff --git a/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/03 - gym mode.png index a56868573..b3a8c0961 100644 --- a/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7904ee090a2145f6d9a3de12e0324db86df9b08366e09d460d4e9251883b98bb -size 91499 +oid sha256:32b78a00c9ac4cc14240ae0d8cd28cc716f8e4d8e7e4259fd18940d5a606bb25 +size 91780 diff --git a/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/04 - measurements.png index 973e2bbac..e99442a30 100644 --- a/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b61cb01abcbf172aa2aec4723ade6226789c65d7198437309c1fb586f61dcd2e -size 58983 +oid sha256:7d975a01df151416dba486319c56b0329eb490584da02d0c988078e9ccd42ccb +size 92139 diff --git a/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/05 - nutritional plan.png index 98aacf1f0..3fa114d2c 100644 --- a/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:908ad3f5ad8a2270609ce781e0b5dc36732f0a6012b6ca1207141ac638b2983d -size 113138 +oid sha256:2a83baef0893acf15b4db6354b6c600328d5489d05b0685257473711572ef438 +size 181731 diff --git a/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/06 - weight.png index 664735479..fdd150ccc 100644 --- a/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/fa-IR/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fe1a99c39fb8607eaed384205254df6cd9778aa2ab4cab3dfc514e2bcf13ecc9 -size 100713 +oid sha256:22f3e642cf788f2231103e62477c41dd6bf405eebe300024ee48042b0c7a79fc +size 122395 diff --git a/fastlane/metadata/android/fr-FR/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/fr-FR/images/phoneScreenshots/01 - dashboard.png index 68627468c..1671573de 100644 --- a/fastlane/metadata/android/fr-FR/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/fr-FR/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8e97c955cd41a235c8055df39dfa73a8a036415637dddc0594c3650bb2554952 -size 197726 +oid sha256:d0227165e6888547b0b12697a68b533c49c9c7f58c561712e61ee9b3763446aa +size 302218 diff --git a/fastlane/metadata/android/fr-FR/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/fr-FR/images/phoneScreenshots/02 - workout detail.png index c6a826eba..b21d1985d 100644 --- a/fastlane/metadata/android/fr-FR/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/fr-FR/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:42c97520326bda0c38be3c54542e9535db5169f2f3ff46184fff47c0f87731d1 -size 210600 +oid sha256:6072a2f76d1b4435acd7d6170dbfd6b1d1b0861012c8608188602e871cf878a4 +size 233694 diff --git a/fastlane/metadata/android/fr-FR/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/fr-FR/images/phoneScreenshots/03 - gym mode.png index 077471715..1bd59615f 100644 --- a/fastlane/metadata/android/fr-FR/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/fr-FR/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bc039ecce068a81747c8378bc77cdeb1bbb5e1932562cebe586143f0301d3d31 -size 161767 +oid sha256:2e1c4b2b9326cf056c6bc7fa493d7e549e493f200b63801f7ef21be87e7bc05d +size 158665 diff --git a/fastlane/metadata/android/fr-FR/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/fr-FR/images/phoneScreenshots/04 - measurements.png index 35ee2bbb5..3b1170f65 100644 --- a/fastlane/metadata/android/fr-FR/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/fr-FR/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cb64e664f349a94519b28c621ec675e482cadf0e6c22faf5dbcc73403416b8c4 -size 95233 +oid sha256:c0fcac8086681d4121de9187a18250ce3566fa68f091a5ef589a47680588924b +size 154163 diff --git a/fastlane/metadata/android/fr-FR/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/fr-FR/images/phoneScreenshots/05 - nutritional plan.png index abc139497..30bff9873 100644 --- a/fastlane/metadata/android/fr-FR/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/fr-FR/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ce935349ed8f16e6e1d86187ce0056385fe06f0de302582a88de5734fd2958a9 -size 204239 +oid sha256:6918604248ce741270c132cc275a559a1f6cf45467c2e587b04bf83e882ce2c2 +size 204761 diff --git a/fastlane/metadata/android/fr-FR/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/fr-FR/images/phoneScreenshots/06 - weight.png index e9c42b821..7d875da95 100644 --- a/fastlane/metadata/android/fr-FR/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/fr-FR/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:27fed316b3c732c452d4b8cef5cabdf49e8144b7cf517867d26ee3ef2a88a0aa -size 194486 +oid sha256:5dceb519c8cc2b20c8b3400ce6ad32f730acf9c01bfc93435cb1da744c391e15 +size 205417 diff --git a/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/01 - dashboard.png index 035994eda..7fe6df970 100644 --- a/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:abf2ff1465e34ce15ee72e590dfbc753c17e85212f845943cb86c33715749e0f -size 73070 +oid sha256:98c762a2d6923e84ee403a403017e87a9ec9a874acc4a8732de10b2c4a814b14 +size 81664 diff --git a/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/02 - workout detail.png index c08e5d6c4..ce90e10b5 100644 --- a/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:67bd98fd9ae63dd43d88a6fe8b0798e7d33adb884c05911a884b3e65c6e215c4 -size 47539 +oid sha256:ef13448197112b0ec49109bd047fad94ab776c726143202a2bba83fff53d0649 +size 52230 diff --git a/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/03 - gym mode.png index f32fb38fd..e47219d05 100644 --- a/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3f88f35cd0a6f856f45f1aa693a0f1bdcc678f2b9af6ba887fe04fc236c1540e -size 31786 +oid sha256:26de86576083c6de8cf964bf60c8930befc55868c2c26da60f402317b8bff192 +size 39466 diff --git a/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/04 - measurements.png index d87ea991f..edc89950e 100644 --- a/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f0b883ab432a3460d506aded16154fc40c25e50979198823dda2ad71f5b41a84 -size 21986 +oid sha256:3ebf3ce7e04e4fe1a51c40d18868064f6f2f0f13d746eae5d766c91bf3916836 +size 38095 diff --git a/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/05 - nutritional plan.png index 3aa7d201e..d306fe21d 100644 --- a/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c8d3f491cdc8ec5df20ce190c50f1ccfdc16ecf3acc481c6be135c31283afce4 -size 43317 +oid sha256:a5ceca2cbe199624ecb5b52edcfd06baff64f7cae3f4745681c77723315e937c +size 66174 diff --git a/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/06 - weight.png index a98934391..8b59d32e8 100644 --- a/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/fr-FR/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e420575226bedb5a31ce231877c6783608847bc40dceb6efe9ff1cdd9bf8cc67 -size 37878 +oid sha256:5c2e571d2423a3da1498dfb7e636c290e8f0e0670e87ff9f6440ecc57b45df3f +size 57573 diff --git a/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/01 - dashboard.png index f38a64cd9..b7dbd9980 100644 --- a/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a3278e29965c2815cec8cdd5a4393793ddae450184ef5d1ae01b3c322dfc9755 -size 214105 +oid sha256:65086d2853b9f2ba4ab104b6d02282ba7ddb3ab4fd049e5cfd454cd8dcc4f6c8 +size 253830 diff --git a/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/02 - workout detail.png index 0c550b539..d5ac69daf 100644 --- a/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4caa30f73aa089a2bcdca3ad3a100d3f40008258f1152b6da4468dd388367864 -size 123717 +oid sha256:8b23e428349531ce0afda9c3d8198baab41a101fdf69049b79088ea5837c203c +size 131931 diff --git a/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/03 - gym mode.png index afcd09320..e4c482a3b 100644 --- a/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:06e86d42bae8ee600eaf031d22da0316995435f58ae982e23a1473aaa4e7f239 -size 93819 +oid sha256:384f95df0cd0bc36395e21f25f68716e2c408906facdd3acf882e1d9e4d163ca +size 92885 diff --git a/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/04 - measurements.png index 8b3088d0e..b596614ca 100644 --- a/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ad2b64fdb2671e3104247cc91d7185891ffc6ff3cfc775d52f9b89d1a994235d -size 61658 +oid sha256:871edd4610a2a7f85556a07272b0b431e68e87beb1e8ab180c242c58ac355546 +size 100008 diff --git a/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/05 - nutritional plan.png index c6faad757..75ea88a86 100644 --- a/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6380fc86fc8cc1ad558b7e2adc84c7690d9d6be2bd994e7535457cac28544541 -size 123708 +oid sha256:39a761cb2b7266aad0c7650aee47835fc61f087d09ba0fa65370c822f4479f0d +size 196479 diff --git a/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/06 - weight.png index 3e10c5f11..e9e35e2d3 100644 --- a/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/fr-FR/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e572e346e29447f5cf821886c3d7036d2a9becc4d59e4dc66dcc000225f79d7c -size 110823 +oid sha256:bd3616235bcb1301403c113c65ec768c50b1fba3a1784e4940ca44ba6471414c +size 138310 diff --git a/fastlane/metadata/android/hi-IN/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/hi-IN/images/phoneScreenshots/01 - dashboard.png index ba02806da..3cf38ca86 100644 --- a/fastlane/metadata/android/hi-IN/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/hi-IN/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5d1d03a2713e92ce1ee06630fd4f739ce181f73f71836022c9a18ab7bfa34c13 -size 195290 +oid sha256:ad52305072ec2abf27d8a0cc26858055096fc8219335839a61a743f68f8cd1b4 +size 298283 diff --git a/fastlane/metadata/android/hi-IN/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/hi-IN/images/phoneScreenshots/02 - workout detail.png index 43d755b57..af8eaf8fe 100644 --- a/fastlane/metadata/android/hi-IN/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/hi-IN/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:91447326693f83cd31d3b07d0241ca90ca583cd0ce599c23c0cb63b673d291be -size 205734 +oid sha256:6b73a22d3d12608e39846a5b5f392f47a2d9fe6ef15a37e2669656ad36cd8f9b +size 228966 diff --git a/fastlane/metadata/android/hi-IN/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/hi-IN/images/phoneScreenshots/03 - gym mode.png index fac706a66..ecb2c0852 100644 --- a/fastlane/metadata/android/hi-IN/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/hi-IN/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d83d9bf8c45815fe4655c9c3b2b56fce8e4a7627e7fb96f89e85726cd43ee10d -size 162092 +oid sha256:ff35444449fb3cba34a0f7d48c26073078f9afd4b0f7da15bdb47b0adeb5da9c +size 162383 diff --git a/fastlane/metadata/android/hi-IN/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/hi-IN/images/phoneScreenshots/04 - measurements.png index 895f3c048..c95f05d9e 100644 --- a/fastlane/metadata/android/hi-IN/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/hi-IN/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:21a066ca995387806cf4a70faf7ce64bd5d5338056ce9ab7ef69a7670e7739f1 -size 83795 +oid sha256:0827e221d94f8f915cf2868b77fec26dcae241ee633dd6a6fea775d790b6979e +size 138473 diff --git a/fastlane/metadata/android/hi-IN/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/hi-IN/images/phoneScreenshots/05 - nutritional plan.png index bf488ece3..14b1c124c 100644 --- a/fastlane/metadata/android/hi-IN/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/hi-IN/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b2e9d6223dd000e36998b9fe2c7327c2ac654e801ed7e9fdedffdd0a80f60862 -size 209120 +oid sha256:e95fbb6cf3dfe58821494f767ff1e127061fa8b48edf84aa415ed8b6678cc27c +size 209250 diff --git a/fastlane/metadata/android/hi-IN/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/hi-IN/images/phoneScreenshots/06 - weight.png index 433f1c521..4f07fd4ee 100644 --- a/fastlane/metadata/android/hi-IN/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/hi-IN/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:71c117de9210e80e47f52379f37ef6c888857741c9980cc9c41f965f38ba7dfe -size 174529 +oid sha256:8500f2163ecc473850342a93c6b401b35d0a0816c099ade18ae490a280bc5d18 +size 183899 diff --git a/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/01 - dashboard.png index 1885f59c4..2dae1a599 100644 --- a/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d2cf1754f9ce558a5766709069e0f8066b536726c1c7da31f8cecb5c0a7cbf4d -size 66549 +oid sha256:55a9d4dc1457e1a57741a7c8c5def56eacbab52593d1b135e0de2ea22dd2f190 +size 77794 diff --git a/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/02 - workout detail.png index 22efc4107..264f8ad45 100644 --- a/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f584895437dff22f17bef0a99aae7e226b1efd429fe91e727b264119ea5eed7b -size 46569 +oid sha256:a5f2acd078e32264d2fa4b5e20a05e734709a57f688a25a27e0eb23cb31b7582 +size 51565 diff --git a/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/03 - gym mode.png index 1a7b576ae..9da5d34c0 100644 --- a/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b7bd23bc2eb7a0e0c29fb9a618b26be5bd2e1bdc809acf18277322b8a8d7e40e -size 32096 +oid sha256:fe53c6daf3b8edeb0e685f89cbdaf65d6f6196c6ae8288b44f8ceabd8783722e +size 39505 diff --git a/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/04 - measurements.png index 411526979..2674adc45 100644 --- a/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e0ef85290f261cfa27dfa02a42d65fa1d69d5d8b6b73e98ea677fd15b14c58e7 -size 19858 +oid sha256:57dfc8f2b87f5fe5c02c3e09042a731ad44af7668e465d0c46ef57b9619c3cad +size 34150 diff --git a/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/05 - nutritional plan.png index a2f58d12f..20248b8d6 100644 --- a/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:349de28d8dfd798e995f5673af01f285e2a4feb9927988b5bb0f977ba5d719c2 -size 44763 +oid sha256:3f938ff5b497a0b8bd524abb31efa9ac1968b8e0ded927f9e748fdeffe6b72d4 +size 66405 diff --git a/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/06 - weight.png index 1ba69105b..754319c93 100644 --- a/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/hi-IN/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4c98b3cb64598700cbe45346628e0635b0dd2329a15d7bd64d5ed8c2887c77e6 -size 32774 +oid sha256:eb99c62dc5e03075f5efc1be2b43907fad84c74a66a2ddba74b473b9fdd85561 +size 51141 diff --git a/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/01 - dashboard.png index fbd4563a0..1b7051762 100644 --- a/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fd784cfa51bb65c3b87436a710a6cf14d68c37a5f1a6f7003b274d71cfb3858f -size 195733 +oid sha256:d1ed1e410df4087b1436f17b1488292b7703cdb6d896ce47d985072eb78d845a +size 238170 diff --git a/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/02 - workout detail.png index 3dcab885b..1806b7d7b 100644 --- a/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9d5bccbe801f7e3b3f753d5449c867132b92462b6f4f66c64883aad4ebac55f -size 120956 +oid sha256:2a69818bcee8559a636d75b0a2529bd65f31f23caa0d82b5ed2fe8857c6300e5 +size 129236 diff --git a/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/03 - gym mode.png index 56e924cfb..94e44409f 100644 --- a/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d4476311153733e5b79c6e18864b0795d9995f20686a0ebc464bcd6d9ef6e92c -size 92572 +oid sha256:27bf26edb1b7c58d8869c8c00b6165f52409f2da009818513ebdb33d9ca405b7 +size 92902 diff --git a/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/04 - measurements.png index 664961bc7..51858bcc2 100644 --- a/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:aee39ebadd5be4fe1e2ceaeafe6856e5c47315496e1bca7771129a38b33324ec -size 54691 +oid sha256:a86879829f18d6683c5f42c5a6cccc964bd4f9771df07ff4a0484e015ee8ebee +size 88841 diff --git a/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/05 - nutritional plan.png index d311c3333..763465ec5 100644 --- a/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c710998a52d0fc8a8f2b2bbb2b91fe481edade77edcb9c7a892ce5d4f263ccac -size 126352 +oid sha256:60c772fb869597b9e60bd0d1ae5d4fa05fb63929f711569bcfaafe75dbbcaece +size 197297 diff --git a/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/06 - weight.png index 3cac060d4..969072bc3 100644 --- a/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/hi-IN/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:293ca298abe728cbd048804be3b2c95c1d0c6a9ad079b9afbb290725400cb4f0 -size 100884 +oid sha256:007bfebad3aa5b527257c45f575f129b2b15a21274dea2d91023dca5aacabbe7 +size 128540 diff --git a/fastlane/metadata/android/hr/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/hr/images/phoneScreenshots/01 - dashboard.png index f4308a011..63b19b4c2 100644 --- a/fastlane/metadata/android/hr/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/hr/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b5ca8319926db036fb29ef05a4cee53db907ce1d01c275f036afcac66385dbea -size 205920 +oid sha256:3f6aa403255c92d070856ca5bb45b31d0f4532f0085afc3c84c1609cb61f16ae +size 306879 diff --git a/fastlane/metadata/android/hr/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/hr/images/phoneScreenshots/02 - workout detail.png index 43d755b57..af8eaf8fe 100644 --- a/fastlane/metadata/android/hr/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/hr/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:91447326693f83cd31d3b07d0241ca90ca583cd0ce599c23c0cb63b673d291be -size 205734 +oid sha256:6b73a22d3d12608e39846a5b5f392f47a2d9fe6ef15a37e2669656ad36cd8f9b +size 228966 diff --git a/fastlane/metadata/android/hr/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/hr/images/phoneScreenshots/03 - gym mode.png index e3ade3e8a..a36cc6a21 100644 --- a/fastlane/metadata/android/hr/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/hr/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f7b94a844c4da05df2ee28d22977ebcfc15bc2a057b46aee626a15cb4ee65173 -size 163991 +oid sha256:e58085fc58245d46a220e7f44e7d7fcfa0e24a1b1ea4321a21537fe7f93cac4e +size 168786 diff --git a/fastlane/metadata/android/hr/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/hr/images/phoneScreenshots/04 - measurements.png index b51883d96..11819c250 100644 --- a/fastlane/metadata/android/hr/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/hr/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8095eb683076d037c60b6655dfd5d23fa1ad4da3c7308a29a7d2308dc0ac95a1 -size 91885 +oid sha256:fa62cc0508a057c0368658716b04a47d6d40c5f74caf3261d18aac4ba6366611 +size 152350 diff --git a/fastlane/metadata/android/hr/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/hr/images/phoneScreenshots/05 - nutritional plan.png index 6e46d8382..92fb66dbb 100644 --- a/fastlane/metadata/android/hr/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/hr/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ff2bc322734db93c1a4a889506f1398cd046cc8b284d9af6100479027f960d56 -size 203016 +oid sha256:12291f2815b8250e1b1473e153828e3d1f416884c9b3719b6170d1ee25fd12d0 +size 200874 diff --git a/fastlane/metadata/android/hr/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/hr/images/phoneScreenshots/06 - weight.png index 8388ce24c..ab3cc1c92 100644 --- a/fastlane/metadata/android/hr/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/hr/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bcb255a254c4f3a3e4f167c891878d278feaabfe27f480c2a78e1168659e055e -size 196536 +oid sha256:16526b4bf3c2f254cea3e9021a6745a657d64f6e3f89bdbcd3d539b16c25d43b +size 206941 diff --git a/fastlane/metadata/android/hr/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/hr/images/sevenInchScreenshots/01 - dashboard.png index 66b2416db..fcd3a0761 100644 --- a/fastlane/metadata/android/hr/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/hr/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:becd5a30fd2806392ca763b096e213a13d7c1e647408a0a5085996068980cd0a -size 74619 +oid sha256:a5f106851f1fb2331b7a51c1aefe3b1a0bc7a9f6d6104a2b101074dd57ccb8f6 +size 79703 diff --git a/fastlane/metadata/android/hr/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/hr/images/sevenInchScreenshots/02 - workout detail.png index 22efc4107..264f8ad45 100644 --- a/fastlane/metadata/android/hr/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/hr/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f584895437dff22f17bef0a99aae7e226b1efd429fe91e727b264119ea5eed7b -size 46569 +oid sha256:a5f2acd078e32264d2fa4b5e20a05e734709a57f688a25a27e0eb23cb31b7582 +size 51565 diff --git a/fastlane/metadata/android/hr/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/hr/images/sevenInchScreenshots/03 - gym mode.png index 20cab7e1a..01f4bd8c1 100644 --- a/fastlane/metadata/android/hr/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/hr/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e805c6a7163d0e6cb4b9211e7b5691e7c1dd70d4bb8e61b2e002c7f0650c2032 -size 32481 +oid sha256:618dc674ce4a404a5c18b249333e3159a0c77e8f2f4e5b05ba4209d6d1b4a06f +size 41631 diff --git a/fastlane/metadata/android/hr/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/hr/images/sevenInchScreenshots/04 - measurements.png index a79f50066..783035d91 100644 --- a/fastlane/metadata/android/hr/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/hr/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:29b5f4ec98d8b92ea5b451d080e70603f9f5bdfb4c58e0dc5bd261d5ccf31f9b -size 22347 +oid sha256:ba76a2990e0ad13aac88586c211016d06e37a0676ed0ecd0628fd518bb47a707 +size 38564 diff --git a/fastlane/metadata/android/hr/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/hr/images/sevenInchScreenshots/05 - nutritional plan.png index 84659f94a..df201a12f 100644 --- a/fastlane/metadata/android/hr/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/hr/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ea5d045535adb4b4f08c5d28688ac6032fd153d2e2f24ecbb4f6ea3e57c5946d -size 41987 +oid sha256:74a9fc83631ea22844344032681b8a45cd827eb54eac406272e6d0b7964f0a16 +size 64242 diff --git a/fastlane/metadata/android/hr/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/hr/images/sevenInchScreenshots/06 - weight.png index f60d71b76..dc277a863 100644 --- a/fastlane/metadata/android/hr/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/hr/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:260f1099286c2b9643e7e0b26f47dd1da6a6f5ab327f0fdf0f196eab5a0f0f9b -size 36936 +oid sha256:f1c2af25a8136cb30e7e3d94835191a4bb55c37448a5c8717c3f5e6c640771db +size 55580 diff --git a/fastlane/metadata/android/hr/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/hr/images/tenInchScreenshots/01 - dashboard.png index aef27b8d5..02baa8f48 100644 --- a/fastlane/metadata/android/hr/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/hr/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:009d0560e3ebacbfc889420d63f21bf5ba80ca87196b770e11a61b85cb9a6d8b -size 212658 +oid sha256:9592c7993120cecc21e0a8bcd9124b9cd60046d650dabfddc5ea8af8f17c8326 +size 253562 diff --git a/fastlane/metadata/android/hr/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/hr/images/tenInchScreenshots/02 - workout detail.png index 3dcab885b..1806b7d7b 100644 --- a/fastlane/metadata/android/hr/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/hr/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9d5bccbe801f7e3b3f753d5449c867132b92462b6f4f66c64883aad4ebac55f -size 120956 +oid sha256:2a69818bcee8559a636d75b0a2529bd65f31f23caa0d82b5ed2fe8857c6300e5 +size 129236 diff --git a/fastlane/metadata/android/hr/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/hr/images/tenInchScreenshots/03 - gym mode.png index 6845be2a8..f76ce2708 100644 --- a/fastlane/metadata/android/hr/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/hr/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a84dcbb3e37d47e687ece9dcdd56365f486dfe8b45a69772a26a538ea4264985 -size 95101 +oid sha256:83dc8750abcc8e8e13b31ef61ead56638aa4dcea5e252e9daa2430b3b7697d38 +size 95728 diff --git a/fastlane/metadata/android/hr/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/hr/images/tenInchScreenshots/04 - measurements.png index e4584aa5c..3f9e3e179 100644 --- a/fastlane/metadata/android/hr/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/hr/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:08d99a125949c633fac62dad3e8a65c4380c7366eb860ca1378156ce618c62c6 -size 60756 +oid sha256:d2710c5487303a981b69a4841dfd45d78de2874f6915af2074490e11db950eeb +size 98043 diff --git a/fastlane/metadata/android/hr/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/hr/images/tenInchScreenshots/05 - nutritional plan.png index f4ad155b8..4ad2d9008 100644 --- a/fastlane/metadata/android/hr/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/hr/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f4190476f811378bbfd8cd896962f95a3723e6c8236f4b060fb1c9b2bf7cafe5 -size 120900 +oid sha256:de2cfbe37a81ac51c06d2afdcb1cc07d4fa46f562125d0b2d633663345515511 +size 192173 diff --git a/fastlane/metadata/android/hr/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/hr/images/tenInchScreenshots/06 - weight.png index 79e584974..6c5505ea2 100644 --- a/fastlane/metadata/android/hr/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/hr/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3ece1eb07679864e7a2e88549c2ca390ff0f3908792c6deb08edac688a20411d -size 112540 +oid sha256:28673131892f33bd6bc77717fcfc9570c565119ec1d3891af328f59dc8aa4f7a +size 137441 diff --git a/fastlane/metadata/android/it-IT/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/it-IT/images/phoneScreenshots/01 - dashboard.png index 9e0d28b83..50be1ee91 100644 --- a/fastlane/metadata/android/it-IT/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/it-IT/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:11e23240a051bd9349a9da2a70438119a2ce6922d08bc1fedb3feb94b266de09 -size 203520 +oid sha256:01dbd1023bcb0d5516d22343fe0282766e8bf62a1ad611d7000eb6c7833d7af1 +size 306177 diff --git a/fastlane/metadata/android/it-IT/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/it-IT/images/phoneScreenshots/02 - workout detail.png index cedb79616..995864c1f 100644 --- a/fastlane/metadata/android/it-IT/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/it-IT/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e04a7e38c6c8b7781f7cdecf4f721dd5cfb8f4431ce935926fc518190d0a5de9 -size 219025 +oid sha256:ad4397560a523bb0465a96d203f10961b62fd5d55dbf1a5c4fc28321fbd6e575 +size 241035 diff --git a/fastlane/metadata/android/it-IT/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/it-IT/images/phoneScreenshots/03 - gym mode.png index d2a6a056d..ef96ff572 100644 --- a/fastlane/metadata/android/it-IT/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/it-IT/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c3074f6d5e8cbd4a5ae303a1670fb87b2e867abafe27eb81413acf0ab8d5f5f0 -size 163101 +oid sha256:aa1594ebb81d6cb870669946f793e97000fc392ac3f36978f8f44ccb4e2fe5bf +size 169845 diff --git a/fastlane/metadata/android/it-IT/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/it-IT/images/phoneScreenshots/04 - measurements.png index 303c3d6c2..1c447a563 100644 --- a/fastlane/metadata/android/it-IT/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/it-IT/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:aff30cc1af4953717f30096b52b185375fee65c5c18aaeaf80337d182d0b30f9 -size 93327 +oid sha256:b97188343c06b64acb613a0fcf563a88138d9529ce11a4dde943a1b610c26aad +size 155914 diff --git a/fastlane/metadata/android/it-IT/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/it-IT/images/phoneScreenshots/05 - nutritional plan.png index 7d5db587f..cada19941 100644 --- a/fastlane/metadata/android/it-IT/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/it-IT/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ee147fc252d97a6005c588edf9d506a10a914fe777b26440ed5b2be781384b6b -size 202610 +oid sha256:e026feda468a074e8274ba68325f244a9201169580f053f9492009df616dc2e0 +size 202966 diff --git a/fastlane/metadata/android/it-IT/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/it-IT/images/phoneScreenshots/06 - weight.png index 2bb6effbf..15e6d50ac 100644 --- a/fastlane/metadata/android/it-IT/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/it-IT/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f992670eec0140d8d282caf4603218b1965d1869f3e4bb23afa12052fa554ab8 -size 191693 +oid sha256:9ae5a1368acb815d2106db84c5d69f9ca5c117ed7febb21e98e81caa5c7ae278 +size 209109 diff --git a/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/01 - dashboard.png index 16efb9cbb..b2e220f33 100644 --- a/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4c4ad3cd04e06243095652d860051b4a92897498cd13d04d7008fad7d2f29211 -size 74303 +oid sha256:32197a8aad458f25c9e3942d280cba9befe1377951fcda1cfc2b4bde8007cd2c +size 83160 diff --git a/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/02 - workout detail.png index 45dc61aa9..4d7d2a242 100644 --- a/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:10262752e86494a98e603fac693806f9836e2c7a74a74684050f51ff500911a1 -size 49131 +oid sha256:e21f87ae51f63d0b1ea5f3e1ed66a1645a2666b6e774ae85be974cd2e966c87d +size 53529 diff --git a/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/03 - gym mode.png index e0df2959b..76a9a6dc7 100644 --- a/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2d03c1844371fe72e7b93c2e32678c84b8bf487042bf384df97a92e20a0ad1a7 -size 31300 +oid sha256:834c82c874116786b97321b199f75bf189363889165addbd044ec0b5b4ecc05f +size 41593 diff --git a/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/04 - measurements.png index 565635144..96627b1d9 100644 --- a/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b1cb3e3626abdc3dd572b19c8d2ce87f14e8d96e1f4f0e51e3bc1b1ea4ceea3c -size 22427 +oid sha256:c49364537f83a2cfc813f4dcf3ef24e0a223988a072397c3301a38e72f6473e0 +size 39688 diff --git a/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/05 - nutritional plan.png index a8e7c672a..52439f6a8 100644 --- a/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0e6ecadc873f13a55b11c76ed8b94bf300a0d689f9ea943ffa8e67ea7a3ec06d -size 41353 +oid sha256:db6d1d7c1b59b3189eba558bfe95d3849f9d2cec3d9464070eff422df0491b02 +size 63820 diff --git a/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/06 - weight.png index 12c637ddc..a70a29c66 100644 --- a/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/it-IT/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fd5208085440d13e39176aeb22dea6ceb037fce436aaee9558b35d76fd012108 -size 36331 +oid sha256:074df039dca8f707d08c87151d01b75b3640b70921c3a81c89bf058f99e0d3ce +size 57600 diff --git a/fastlane/metadata/android/it-IT/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/it-IT/images/tenInchScreenshots/01 - dashboard.png index 877342f88..31149783b 100644 --- a/fastlane/metadata/android/it-IT/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/it-IT/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:49f096a73bb4e9a2dd4811819525d98bfde559e9e98e7228f6f23c6199b2f11c -size 219335 +oid sha256:d90fe3e8261d556f3d75c89498fd639cfe0c787aba7046d77f4cc7fad68df9e2 +size 268636 diff --git a/fastlane/metadata/android/it-IT/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/it-IT/images/tenInchScreenshots/02 - workout detail.png index a3015077c..9684b33bd 100644 --- a/fastlane/metadata/android/it-IT/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/it-IT/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bec1ccab0081cb74547e13f9478473f2d48b2d6e8cff5456a4f7fea66249674e -size 125098 +oid sha256:5622c2ad9d9d147f5d3b9c357f7f349444d3a63bcbfb02e46ebd53e39f076286 +size 133497 diff --git a/fastlane/metadata/android/it-IT/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/it-IT/images/tenInchScreenshots/03 - gym mode.png index 338e9e562..245b77763 100644 --- a/fastlane/metadata/android/it-IT/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/it-IT/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9add8af6a583309db29d5b51e5d4eafbc5cfa51663ef2f54c0b5ea94a51870aa -size 94996 +oid sha256:8c71bd3fdf8cd59bb8e78e9ec02bb9e1d5606278b635e0a1f0d4998b065ca919 +size 95681 diff --git a/fastlane/metadata/android/it-IT/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/it-IT/images/tenInchScreenshots/04 - measurements.png index 49c18ee18..e119c44d2 100644 --- a/fastlane/metadata/android/it-IT/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/it-IT/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5b099b5dc08eda83dff349e8a54050dd85fe927989beeab62fde1a6821125092 -size 58639 +oid sha256:95dfd19dec2efed9d24f1525b69b3a42d7a83a33c6be3a3dfbef1ea3f1dcd3e9 +size 97725 diff --git a/fastlane/metadata/android/it-IT/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/it-IT/images/tenInchScreenshots/05 - nutritional plan.png index 4bb429f76..62cde79bd 100644 --- a/fastlane/metadata/android/it-IT/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/it-IT/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3b4c775be7a59c282f13a2188078e60ad3c374db60dede5ef713e40d48e10866 -size 117909 +oid sha256:fb969ff3b3768eec34058d8375b40836d47d2c5c2b8039d0dc96ead865e7745e +size 185816 diff --git a/fastlane/metadata/android/it-IT/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/it-IT/images/tenInchScreenshots/06 - weight.png index 46117e43f..b9b5b6442 100644 --- a/fastlane/metadata/android/it-IT/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/it-IT/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3c59a730809c2ae7de173efdafa8af70040f2013f2c70756f506f9c2cffe366d -size 110926 +oid sha256:d7543583444b3862d1b5939109fcd7f62622e2b03b44593aa16945c827c09c4a +size 141404 diff --git a/fastlane/metadata/android/iw-IL/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/iw-IL/images/phoneScreenshots/01 - dashboard.png index b9ffc360b..77750dbd2 100644 --- a/fastlane/metadata/android/iw-IL/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/iw-IL/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a6ebb85fd047a0a6ca01488fd14d34644bbf8f4eb96e181d80e56befe02e1820 -size 176535 +oid sha256:23732b4235fc66038928d643c9dd99f75b206bff5fac7049e437a208b63e9fc1 +size 275921 diff --git a/fastlane/metadata/android/iw-IL/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/iw-IL/images/phoneScreenshots/02 - workout detail.png index 29b37f6ef..2c6909870 100644 --- a/fastlane/metadata/android/iw-IL/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/iw-IL/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:938a0afc358c213445ff3a468dd95646da41d39dd0a0ac108fdeea72edccea3a -size 201871 +oid sha256:968ccf515eaa7e5853ced8de98b1f58d8cee4ae3e3ee09c40ce94055807d2d26 +size 225508 diff --git a/fastlane/metadata/android/iw-IL/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/iw-IL/images/phoneScreenshots/03 - gym mode.png index 4f5259c68..dd82f47f1 100644 --- a/fastlane/metadata/android/iw-IL/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/iw-IL/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d761b5f91948cc6b2b88890bc49c5554497a1e0e5a3156f6977e5afb34067f91 -size 159158 +oid sha256:e59e618a4b0d7ffb25ba0d22c79b0b5e0256e2f69ee8cbe1f6cb11e5609128c0 +size 159395 diff --git a/fastlane/metadata/android/iw-IL/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/iw-IL/images/phoneScreenshots/04 - measurements.png index f0cd7ff83..8739c2ca1 100644 --- a/fastlane/metadata/android/iw-IL/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/iw-IL/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dec28012ee800c3a3efc31b742c7f591895713521ef89a5aec5946674759ffc7 -size 74672 +oid sha256:9440cc5f37af3088e63349e951a8db46cb1eb0fc117d841c0537888cfcdba5ec +size 121981 diff --git a/fastlane/metadata/android/iw-IL/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/iw-IL/images/phoneScreenshots/05 - nutritional plan.png index fdb443efd..0363ba94e 100644 --- a/fastlane/metadata/android/iw-IL/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/iw-IL/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a7f3c79e98bb6d3b98cdf1b2deef7b1f11fb45a8c8674f873da9ed4f56831695 -size 184966 +oid sha256:42053e7d77eef39879c945999873c505fa974b694dfa8c9ccc84ed06f0fa9d67 +size 186110 diff --git a/fastlane/metadata/android/iw-IL/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/iw-IL/images/phoneScreenshots/06 - weight.png index a85b60ea6..bbc7eb878 100644 --- a/fastlane/metadata/android/iw-IL/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/iw-IL/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a6847cdaeb2c8634b4f963f7965e97b4c09d5ef46392838b615bfdd7054376fc -size 171067 +oid sha256:334035b5bac04243dbea2e6beebf9f886832b08cd835dbd54f93c16c47f7bee7 +size 180721 diff --git a/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/01 - dashboard.png index 6f448e747..dbc584e4d 100644 --- a/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2ddb367584523aa644dea398f93d7dc44ad5ba423544e115eb2c224cabdb5021 -size 59927 +oid sha256:54d4ed6dd703229181daeeb547bbfc75a4ecf605b59aa1e39c57f8d6db84afaa +size 71926 diff --git a/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/02 - workout detail.png index 161757d71..a2a2825b9 100644 --- a/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2d5aff5c0b946c5c23cc92eacccda91faca508bfd80089b9ff20c936189b1550 -size 46900 +oid sha256:3fba8a37603a3b22889e1be763fbb07efa64c746c0c1469b3623baec8c92a60c +size 51624 diff --git a/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/03 - gym mode.png index b93107924..4fc0153a8 100644 --- a/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9c177b3d09a7dd1ffec1ac5f1d6f29aa24fe4cc7d4c21f99f836ae71e4c39e82 -size 32560 +oid sha256:e234f446b93ca21da0cf5c6b4dad04a1735f2eb1480e9e8a2dfb8fe12aaf3a19 +size 39329 diff --git a/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/04 - measurements.png index 171237571..6e618af90 100644 --- a/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b869cd9e6909056a392be63b8a88ab5ec78849771d2d16c37cd7bbbbbdbb4aaa -size 18173 +oid sha256:043634e5b243b2fa220fd9231958ab64208b3a3f071f3180f4a970620745346e +size 31110 diff --git a/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/05 - nutritional plan.png index ace496be9..cf2380a8c 100644 --- a/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6cc27f63c9c335c6b7b1a3ea0433a92d17345cbdd2b62a705ee5d442c6a7d668 -size 38293 +oid sha256:db74786b01d2cfe5dd729b6073beac2af5c37247de7b6d14057b92b3dbb87400 +size 59100 diff --git a/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/06 - weight.png index be7f70019..4fddae4bb 100644 --- a/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/iw-IL/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6887efe0ca4ddf886361b56cda5c59ec2a88c7aefd1de53252f42d42ad425077 -size 33942 +oid sha256:51d1807ccdb0aa9178363a9e8d497534b036e5a02e9aee3b75ee845614809fbe +size 51723 diff --git a/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/01 - dashboard.png index b5a264c65..698269b8c 100644 --- a/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1b6837f2abb4cfe4c66c8aa9f4b73ecb9c5fb8d4a2e72378dc8f9ffc14e75b3b -size 175217 +oid sha256:797c08d23208af6a41a5c2c267c5e0cfc51d4d3c4a8f754b9fc0cdb6cb42366a +size 216548 diff --git a/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/02 - workout detail.png index d6b85b5f2..8c277ad45 100644 --- a/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:76cfe1f18c212d4f2bc146ce42226fa4246d6daa5b2d1e664417cc0cd038d7b3 -size 121848 +oid sha256:58d81b32de7f9bd74809a2cd4c83b8b64ba39a651fc434d74a92c043ac17aa95 +size 130006 diff --git a/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/03 - gym mode.png index 58324b239..884a0ece5 100644 --- a/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c63135d940addfc7a1fd162ebf8cb64931231f2a8d0b599765b2c81f6bf58bbd -size 90919 +oid sha256:012b2867973c7fac8d1c7efbdeb3b17dc8b0323e370853cc8daab44d4be07722 +size 91366 diff --git a/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/04 - measurements.png index 3d738e093..6eb232985 100644 --- a/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5ce79483bd7ea5ea35e3e187149f1357f18d2c6e665343d2511e23b2c21c1bdd -size 50119 +oid sha256:a40fde86d7fa10262b012c92f9814f65b99431fae66437c0a6e536d9f0a4b9f9 +size 79590 diff --git a/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/05 - nutritional plan.png index deb5f63d7..e9b8c3887 100644 --- a/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c0c33c3c1ddb5566e21e859d43c4845d0840785ba2ab7847ded7169528f6d2a1 -size 114755 +oid sha256:b7b2701ae5806d324889f0e1dc11f37d59e579ddd1b7dd9f2bd1702d092188a3 +size 172409 diff --git a/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/06 - weight.png index fb17dcff9..62ac04474 100644 --- a/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/iw-IL/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2147ed14baa735dc712e51db5b7d48fdac2b0d5fd1f8a9132a0529be41603ea9 -size 101093 +oid sha256:ea0068a97e45ad06854930f07888d821fb7ca0d62f72a53247fbd75588acd8c0 +size 127237 diff --git a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/01 - dashboard.png index 5d4e6a15a..f291b859a 100644 --- a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:228e7216a86bdccbc4de5ba5a80d876dec573548ab025c37d87c07a604c25585 -size 180246 +oid sha256:55ee8126b39cec9a6a71aa1ccc109cadaba4b11b4b4c8bf07fe5c9876ce51717 +size 284871 diff --git a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/02 - workout detail.png index 43d755b57..af8eaf8fe 100644 --- a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:91447326693f83cd31d3b07d0241ca90ca583cd0ce599c23c0cb63b673d291be -size 205734 +oid sha256:6b73a22d3d12608e39846a5b5f392f47a2d9fe6ef15a37e2669656ad36cd8f9b +size 228966 diff --git a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/03 - gym mode.png index adb039746..8368561e9 100644 --- a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:56f8b5507017b540386a565b64df853682253ecf1a2911450fc0670e0df1d2ab -size 153968 +oid sha256:7a585402a9199672bf4540005131c60018ff31dd4e8971a5b374ebaacf5c5c06 +size 154142 diff --git a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/04 - measurements.png index 09e9c038e..0ac00623c 100644 --- a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2f261eca5e9188d226db1e5d9dea2fcd48f8f7bf7e3cf65dc2a02c3a1e93568a -size 81380 +oid sha256:e252331aa7207896bb01f9378654ff6d530a9a5ec30ce1ff9fe9d14621c84c14 +size 133147 diff --git a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/05 - nutritional plan.png index 63087ca60..cc5b3c0f6 100644 --- a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1cc62b0146b6b2216f340a961ff038b69e0e7909576f5c013b5b0b60af92966c -size 190761 +oid sha256:06573df5ed6a960b319befb22d266988412a679fff9de412048537c19680545c +size 188621 diff --git a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/06 - weight.png index 290040a0d..804b9f243 100644 --- a/fastlane/metadata/android/ko-KR/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/ko-KR/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f03a4ba16f22f059c2ba2d3d0862cf4be5a62ef6e073555017fecdf7d459cb31 -size 177103 +oid sha256:8e3d6f099e66721824b478b31631b236fb741aa35e377e844b6c50fc2d34f773 +size 186997 diff --git a/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/01 - dashboard.png index 0d2016833..682bbc05d 100644 --- a/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:41f5c4909fe7973f178c9e6846408d2ddf5186dfed7bdf8e58a2df8229ccbbc4 -size 66487 +oid sha256:d2c65ca91ef5d0cd73f94968223fb1faf9830c15bfd387638bf3e18e87533539 +size 76014 diff --git a/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/02 - workout detail.png index 22efc4107..264f8ad45 100644 --- a/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f584895437dff22f17bef0a99aae7e226b1efd429fe91e727b264119ea5eed7b -size 46569 +oid sha256:a5f2acd078e32264d2fa4b5e20a05e734709a57f688a25a27e0eb23cb31b7582 +size 51565 diff --git a/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/03 - gym mode.png index a3eea87db..367aa03d5 100644 --- a/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5ff6850370846aa80ef66b461a9cf72033a059211a94e7e7120f718d19798f4d -size 31637 +oid sha256:5b224c79d4f632b16c2b03bde3d2391e1fe511d744a2a32071274fbd1c9af6c0 +size 38475 diff --git a/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/04 - measurements.png index bdb3ff407..73768ca81 100644 --- a/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1e2a64921eac22a06f04c38d4cffa85baa993b949d2f0f9addb6e9ad949c2bf4 -size 21257 +oid sha256:4018c45d79afdd9bdc15e424049af19ab69035009053839e8c827350c31d49a2 +size 36133 diff --git a/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/05 - nutritional plan.png index d8d0746d2..f13886a9d 100644 --- a/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2b88baf3def7c8f939b8e750196b3b8f1ef2075fa114e50cacb091f5fc44d818 -size 41847 +oid sha256:57e802dba84d76cba368bce501976677aa4cd7282f2470c93be5f700e25a6bc1 +size 62299 diff --git a/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/06 - weight.png index 9605e9635..174f55553 100644 --- a/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/ko-KR/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8bc32eda253c4c2f814f94ae06c1f1c592ebefff3d31e19c26ecb59a097e209a -size 34096 +oid sha256:c4dffe5ec1a0b11cec1f6ff3d97a3cd809a7ac3518de5016b1acd9fb270024dd +size 51707 diff --git a/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/01 - dashboard.png index a8093dafb..0665c2154 100644 --- a/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:43b0d160868365d520814b1b0c096e1fc533df3eeafb5021f999f00dedd20bf4 -size 183855 +oid sha256:e180d4b8b15deb577a4ce88d9a122612e199df7f061ecd87523967a818eea592 +size 228458 diff --git a/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/02 - workout detail.png index 3dcab885b..1806b7d7b 100644 --- a/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9d5bccbe801f7e3b3f753d5449c867132b92462b6f4f66c64883aad4ebac55f -size 120956 +oid sha256:2a69818bcee8559a636d75b0a2529bd65f31f23caa0d82b5ed2fe8857c6300e5 +size 129236 diff --git a/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/03 - gym mode.png index 1bba3c26d..0b1270649 100644 --- a/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6c7f96e732139adb3313074e44d851a7a3049a532d1b38e9d79db8a804a1cc52 -size 89588 +oid sha256:e47f3618ed9ee5bd09ee08b6d3b3653b867aafbee3d80433e975ceb07afd2b6e +size 89862 diff --git a/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/04 - measurements.png index b002da2e7..9bd28a880 100644 --- a/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:09fcc5ac92372e5dbd47000dd08d266878c56f6dd947abe79c3e724fed4c1f9e -size 54949 +oid sha256:6b093ca048a5b51e317c38e5ea1a6af97e275ce7610eb8980ac0066b5c0c98cc +size 87438 diff --git a/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/05 - nutritional plan.png index 24f278a95..846e86273 100644 --- a/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ea8065be429246efc6cf00b9ae016efba472ab173e2149c77d69c49c801030e5 -size 117475 +oid sha256:69d72791228664e3c1f06374c4b62627b1e0175201ca3b8a0946d563863fc3d0 +size 174517 diff --git a/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/06 - weight.png index 65f395f8d..d3a2fb410 100644 --- a/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/ko-KR/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b9467690f3656a9a7d2a5f6bf8a3d116d096c7b629c84a250ce57b80c099dd75 -size 100167 +oid sha256:b139b9f2a68598d6cc0a05f5b02e11494f69c57192e8e896ced086c3a95904ff +size 128244 diff --git a/fastlane/metadata/android/nb-NO/full_description.txt b/fastlane/metadata/android/nb-NO/full_description.txt index e5160aa75..c9fe2a85e 100644 --- a/fastlane/metadata/android/nb-NO/full_description.txt +++ b/fastlane/metadata/android/nb-NO/full_description.txt @@ -1,6 +1,38 @@ -wger (ˈvɛɡɐ) er gemenhetslig fri programvare som hjelper din helse. +Fra treningsentusiaster til treningsentusiaster – få helsen din organisert med WGER, din treningsmanager! -- Planlegg treningsøkter og ernæring -- Lagre øvelser og kommenter dem -- Helsestudio-modus -- Dagbok og utviklingssporing +Har du allerede funnet din favoritt treningsapp og elsker du å lage dine egne treningsrutiner? Uansett hvilken type treningsgal du er – vi har alle noe til felles: Vi elsker å holde oversikt over helsedata <3 + +Så vi dømmer deg ikke for at du fortsatt styrer treningsreisen din med den lille treningsdagboken din, men velkommen til 2025! + +Vi har utviklet en 100% gratis digital helse- og treningssporer-app for deg, trimmet ned til de mest relevante funksjonene for å gjøre livet ditt enklere. Kom i gang, fortsett å trene og feir fremgangen din! + +wger er et Open Source-prosjekt og handler om: +* Kroppen din +* Treningene dine +* Fremgangen din +* Dataene dine + +Kroppen din: Ikke noe behov for å google ingrediensene i favorittmatene dine – velg dine daglige måltider fra mer enn 78 000 produkter og se næringsverdiene. Legg til måltider i ernæringsplanen og hold oversikt over kostholdet ditt i kalenderen. + +Treningene dine: +Du vet hva som er best for kroppen din. Lag dine egne treningsøkter fra et voksende utvalg på 200 forskjellige øvelser. Bruk deretter Gym-modus for å guide deg gjennom treningen mens du logger vektene dine med ett trykk. + +Fremgangen din: +Mist aldri målet av syne. Spor vekten din og hold statistikken din. + +Dataene dine: +Wger er din personlige treningsdagbok – men du eier dataene dine. Bruk REST API-et for å få tilgang til dem og gjøre fantastiske ting med dem. + +Vær oppmerksom på: Denne gratis appen er ikke basert på ekstern finansiering, og vi ber deg ikke om å donere penger. Den er et fellesskapsprosjekt som vokser konstant. Så vær forberedt på nye funksjoner når som helst! + +#OpenSource – hva betyr det? + +Open Source betyr at hele kildekoden for denne appen og serveren den kommuniserer med er gratis og tilgjengelig for alle: +* Vil du kjøre wger på din egen server for deg selv eller det lokale treningssenteret ditt? Bare gjør det! +* Savner du en funksjon og vil implementere den? Start nå! +* Vil du sjekke at ingenting sendes noe sted? Det kan du! + +Bli med i fellesskapet vårt og bli en del av treningsentusiaster og IT-nerder fra hele verden. Vi jobber kontinuerlig med å tilpasse og optimalisere appen etter våre behov. Vi elsker dine innspill, så hopp gjerne inn når som helst og bidra med ønsker og ideer! + +-> finn kildekoden på https://github.com/wger-project +-> still spørsmål eller si hei på vår Discord-server https://discord.gg/rPWFv6W diff --git a/fastlane/metadata/android/nb-NO/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/nb-NO/images/phoneScreenshots/01 - dashboard.png index 1d77d02a7..93a0d3b86 100644 --- a/fastlane/metadata/android/nb-NO/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/nb-NO/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:22faebe4787281ceb0efb17bc7cc32c943666c6acd4861464b38f9a977798b23 -size 187041 +oid sha256:78d73104e8c793c9ac653a307bb36df60895e20f51c1772551982f87298da4d5 +size 290645 diff --git a/fastlane/metadata/android/nb-NO/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/nb-NO/images/phoneScreenshots/02 - workout detail.png index 43d755b57..af8eaf8fe 100644 --- a/fastlane/metadata/android/nb-NO/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/nb-NO/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:91447326693f83cd31d3b07d0241ca90ca583cd0ce599c23c0cb63b673d291be -size 205734 +oid sha256:6b73a22d3d12608e39846a5b5f392f47a2d9fe6ef15a37e2669656ad36cd8f9b +size 228966 diff --git a/fastlane/metadata/android/nb-NO/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/nb-NO/images/phoneScreenshots/03 - gym mode.png index 15c479160..7f67e0e12 100644 --- a/fastlane/metadata/android/nb-NO/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/nb-NO/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6fb84cfd86e7baba3c8078a77a9bb9a8c3540edebc5512b3b6f05517f361b458 -size 160886 +oid sha256:4f3b9095f22f93c9c9692e410b6684317015e1f2d37b4717fb3766a06679c8e2 +size 158481 diff --git a/fastlane/metadata/android/nb-NO/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/nb-NO/images/phoneScreenshots/04 - measurements.png index 70ca1cf82..3c7f3c69e 100644 --- a/fastlane/metadata/android/nb-NO/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/nb-NO/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3cfe9cf354081ecc29ccefddc127d1c3346e0a925d6a7fe69ba5b2d9d121cc47 -size 92106 +oid sha256:38ff6c1ddccfeb07aacc168c50316b53fdbec826f214026b7f5336b3c60536f3 +size 146348 diff --git a/fastlane/metadata/android/nb-NO/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/nb-NO/images/phoneScreenshots/05 - nutritional plan.png index 0a0456be8..e2fddba85 100644 --- a/fastlane/metadata/android/nb-NO/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/nb-NO/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ba36a0e6c4900ae9d2ac528b1dbe0fac83d8a3afd26e392b34302e5af4d01950 -size 197686 +oid sha256:b0b5657ff5af4456ccf70ed85f31a023e4b178d3ac0c1f5b0e2159969d570de2 +size 197199 diff --git a/fastlane/metadata/android/nb-NO/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/nb-NO/images/phoneScreenshots/06 - weight.png index da5c6f6e7..713338149 100644 --- a/fastlane/metadata/android/nb-NO/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/nb-NO/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e43d99fa68fd04af5c33575350bcea05b0c28a881ea1c23642fec46f6973f584 -size 181025 +oid sha256:63f010e1a4ff997e38422ccfc7a6b5df98b6d353cb58272d57cbd5577dfc0c68 +size 191461 diff --git a/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/01 - dashboard.png index eab797b6e..66285f73b 100644 --- a/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c26d64fef4665e24f8deee8bb7e5322f44289cd50bb693f26e5ec6a402196bce -size 68591 +oid sha256:d0f78fae7fe68e3a1551a3b1aa76fc4deaa77bf766558a01198cb30f136234ca +size 78410 diff --git a/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/02 - workout detail.png index 22efc4107..264f8ad45 100644 --- a/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f584895437dff22f17bef0a99aae7e226b1efd429fe91e727b264119ea5eed7b -size 46569 +oid sha256:a5f2acd078e32264d2fa4b5e20a05e734709a57f688a25a27e0eb23cb31b7582 +size 51565 diff --git a/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/03 - gym mode.png index eb5b3f6e7..ab8fa4c7e 100644 --- a/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9319000aa2a1c65357bcb5b0b2b70015033bc29a27bd6cdff74317f2b78445ca -size 31253 +oid sha256:0e4573ce5af103779e523d33da54ee3f08a18b884ff2addbad4a105df9c05853 +size 38211 diff --git a/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/04 - measurements.png index b6c530ef7..2e6060edb 100644 --- a/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2b5678ad6938bc41cb6de9aea3446748427b534dad0acfce8ba6af616bd4b6e3 -size 22443 +oid sha256:488bb6a7b5597f493417655c101dbe9412cd06ddad05834b7921014d3fd615a5 +size 36790 diff --git a/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/05 - nutritional plan.png index 58acafed7..26191f8eb 100644 --- a/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9c939ae40bacfbdce86d63c11d464e9be55b00fa37ebef6c934dea77d0e6af8f -size 40556 +oid sha256:c7ecf053df03f381441c13f1f774be6f20c0c6f0cb243cccd9bf3ecb336beee8 +size 62353 diff --git a/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/06 - weight.png index 219f5b959..765226576 100644 --- a/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/nb-NO/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:374fe9ec8ab9f502ef1332b01c2b0ae8f8b9d30a8d217c2522ea03370889639c -size 33400 +oid sha256:efea3ebd6981291931570c8aeea225ef0cd552458951c1a3cb1b2538a4a29eeb +size 51657 diff --git a/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/01 - dashboard.png index 191db8db7..fa6fb137d 100644 --- a/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:15903492191c43893ddea64c6853aaa17778939854bd58ca1731d57243ec9361 -size 199208 +oid sha256:7c322c6ee831718b85c1fd22345d6c3aa7e0ad39ee07d85ef23cc07a2c295209 +size 243293 diff --git a/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/02 - workout detail.png index 3dcab885b..1806b7d7b 100644 --- a/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9d5bccbe801f7e3b3f753d5449c867132b92462b6f4f66c64883aad4ebac55f -size 120956 +oid sha256:2a69818bcee8559a636d75b0a2529bd65f31f23caa0d82b5ed2fe8857c6300e5 +size 129236 diff --git a/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/03 - gym mode.png index 7e734e7e8..5212eb79b 100644 --- a/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cb50cc661b8118bc3a3fcb4236db176c0d0f16110215cb8c626678a4051ccaf9 -size 91860 +oid sha256:83a22a5e92ce3fc51de03b7a7dac10404e1a7e9113352d452a007eef9ebdcc44 +size 91852 diff --git a/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/04 - measurements.png index d792677eb..adccc979b 100644 --- a/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:858615114f0b59568776b21a7d3c155f80c795e8f7a7233d1e26fc473a9fb0cc -size 59785 +oid sha256:c9d18abd65b735b96834a801c63f234da662b47ddeeceed3da4d92ac890fdcf8 +size 93610 diff --git a/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/05 - nutritional plan.png index 9de1717ff..62baf8bb5 100644 --- a/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:835f86f5493fa59fc9e71e5eb84bb4a0e4b2ffe05e783efbf5487974158ca020 -size 114645 +oid sha256:4896d8612610d1bc29b5907c00eab0f844514117fb654f95415604be3302287d +size 179725 diff --git a/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/06 - weight.png index 81bff779c..08ab19b61 100644 --- a/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/nb-NO/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6df3b930c1c251d0bc87488008f7efe995e58f5adf1416fd686327a8518d254e -size 103541 +oid sha256:576b6086fa2e9abad4cb6fcbbf683f52d7b48643d16630a365397f06d9f6b94c +size 129191 diff --git a/fastlane/metadata/android/pl-PL/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/pl-PL/images/phoneScreenshots/01 - dashboard.png index 022bedc7c..031f2edbc 100644 --- a/fastlane/metadata/android/pl-PL/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/pl-PL/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:48fff23196343be1d7688a17f2cc987917bd81f7bb3bc6196393e18b213e7ff6 -size 197693 +oid sha256:3a8ed3daa85964c660f451ab702ad2ee053f301f18b62b141a507374f86d8ddc +size 301772 diff --git a/fastlane/metadata/android/pl-PL/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/pl-PL/images/phoneScreenshots/02 - workout detail.png index 43d755b57..af8eaf8fe 100644 --- a/fastlane/metadata/android/pl-PL/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/pl-PL/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:91447326693f83cd31d3b07d0241ca90ca583cd0ce599c23c0cb63b673d291be -size 205734 +oid sha256:6b73a22d3d12608e39846a5b5f392f47a2d9fe6ef15a37e2669656ad36cd8f9b +size 228966 diff --git a/fastlane/metadata/android/pl-PL/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/pl-PL/images/phoneScreenshots/03 - gym mode.png index b822351ce..748d80748 100644 --- a/fastlane/metadata/android/pl-PL/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/pl-PL/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:24cf56de651008f90fdc8ef74fd15084de670393a3ffd93f6290db5ef36ae0d3 -size 165803 +oid sha256:b241bdbf83fa1f9aa293c4134ba218fa02cde2b9426618593a155a4635c1b78f +size 174607 diff --git a/fastlane/metadata/android/pl-PL/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/pl-PL/images/phoneScreenshots/04 - measurements.png index 7bfec18d4..88f422b7c 100644 --- a/fastlane/metadata/android/pl-PL/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/pl-PL/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b2638d32849ceeb69bd57ae5c4c5bd37d8937eb6d3d4ee0dd5a84298182c61de -size 90290 +oid sha256:57fb4547b8933ab888c36a0fd99130b2c5c2af7539e17c8ab51aa0dbbbd30074 +size 149067 diff --git a/fastlane/metadata/android/pl-PL/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/pl-PL/images/phoneScreenshots/05 - nutritional plan.png index ee1df4c1f..04c8d5f16 100644 --- a/fastlane/metadata/android/pl-PL/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/pl-PL/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c78341285acd9186b7a8d63d7be817cc566abcb95df0d1afdbdc1b7196a429b9 -size 208977 +oid sha256:3d9777363710bdd4efca444e8590c5823f91099b6628a9c8408323df74a8a379 +size 209180 diff --git a/fastlane/metadata/android/pl-PL/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/pl-PL/images/phoneScreenshots/06 - weight.png index 3545836ae..7f96de914 100644 --- a/fastlane/metadata/android/pl-PL/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/pl-PL/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b5fae3bc39ee148f37c7924f20bf7f058f441d3c519137a8297be275d7d6ecab -size 191790 +oid sha256:4a2ba1b91f1e4440a07ad6c8051f00ddaf5037cce82503f693e92f7442510380 +size 202585 diff --git a/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/01 - dashboard.png index c5d3b670e..6a98abf5a 100644 --- a/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:73d3f82894cabb3a1c77fb7dc2ad23cd52d795e973a4986b8d84f34dc04b491a -size 71818 +oid sha256:54c5d94a158a86d88de393ed0e3178fb664ee7ffe4b7a240897eccbf83dda609 +size 81429 diff --git a/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/02 - workout detail.png index 22efc4107..264f8ad45 100644 --- a/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f584895437dff22f17bef0a99aae7e226b1efd429fe91e727b264119ea5eed7b -size 46569 +oid sha256:a5f2acd078e32264d2fa4b5e20a05e734709a57f688a25a27e0eb23cb31b7582 +size 51565 diff --git a/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/03 - gym mode.png index 22e19a17e..e98802fca 100644 --- a/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:da2ad1b4c9f15e56ea0065aba5aef095c9d2f4e86e3fc08ddaba6b6eb1742881 -size 33435 +oid sha256:a7b5ce970b561411ed84ae03393ee08ab71c28f753e2f5a2e22d2614e29949a2 +size 44055 diff --git a/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/04 - measurements.png index ce4fea6a8..f490ac1c0 100644 --- a/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:582ccfc643e40b8e799d3e8c3bbdab68a1acd09892b60a24d6b46cd35235197d -size 22539 +oid sha256:1ccb76df0c534a2224e8fe5dcff56405b8aa0b335ddb6ca48599ba8d7e1a00b4 +size 38611 diff --git a/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/05 - nutritional plan.png index d3f92e182..82d8ffcdc 100644 --- a/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f8d9e78466b0ed385fa85125e292492212e17d8ecac75a7a407fd3e7f7ba9627 -size 41195 +oid sha256:29d8162c7ac3c4b8f92d952141a6c41931b6537ce6b0e3bb89ae1af1b96d9b33 +size 63172 diff --git a/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/06 - weight.png index 65c5a799f..61527662c 100644 --- a/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/pl-PL/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9ff86c4761583a77d82022af182f199f862560223fcde9855eeb3211a4be7c2c -size 36704 +oid sha256:8fbd68f6dad717ad213f0ba013aac5398918283a3785c76eba8b0c1bf60f48c6 +size 55232 diff --git a/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/01 - dashboard.png index f958769c8..2ed128cf6 100644 --- a/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5a620724f121367804f2d562681ebe77c5e6b753c8c9ca7ac2079ba7bee0520a -size 210560 +oid sha256:658e38e2f2f9f27948fd5df9964b8ed35503cdafe43a0234de8c31b82a863407 +size 255633 diff --git a/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/02 - workout detail.png index 3dcab885b..1806b7d7b 100644 --- a/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9d5bccbe801f7e3b3f753d5449c867132b92462b6f4f66c64883aad4ebac55f -size 120956 +oid sha256:2a69818bcee8559a636d75b0a2529bd65f31f23caa0d82b5ed2fe8857c6300e5 +size 129236 diff --git a/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/03 - gym mode.png index c019fd10e..4531c7d71 100644 --- a/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:12cd605c1c8f4520f4006975f4df613d0f903d59945b64c4bf3a72c28980a291 -size 95643 +oid sha256:dcdd3159987e86814f87a12c086070decbfb5022d42da92d15e5a7a82c87dfd0 +size 101708 diff --git a/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/04 - measurements.png index a9e4c7973..80bf0a7ae 100644 --- a/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:77f1ecde7cbde6db2a1131b987bc05625a2fb8afbba5c3a606797611cdf80427 -size 59407 +oid sha256:9e6a7324f9d7298a6740d08029a3f4041bc105c9f2a089d7cec873060c56d3fb +size 97328 diff --git a/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/05 - nutritional plan.png index 6666aa138..d76acfdb9 100644 --- a/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:104955cd8124c0b21330a20f64d0dd7319d11ac08de9cbe18a3cc3dcf7152fd5 -size 119797 +oid sha256:2987e20eb773a0aeb4d3ef7847d10d7802099fbf20ba6e2a4956778ba1b986a8 +size 190096 diff --git a/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/06 - weight.png index 43c211c69..e4e51c9dc 100644 --- a/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/pl-PL/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8f42546337089cd06e376c505af1cb3ae0029be77b7185604ba38ae76d937a09 -size 113799 +oid sha256:77f8970bb4b719a3e3b9191778f8592953480d4512dcc10c9f30539da008af42 +size 139018 diff --git a/fastlane/metadata/android/pt-BR/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/pt-BR/images/phoneScreenshots/01 - dashboard.png index 0465288fc..27682caab 100644 --- a/fastlane/metadata/android/pt-BR/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/pt-BR/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:75629a12ef448d8e5bb28152b37780f664b78046ab26d777e9921208f0ce3c98 -size 198449 +oid sha256:692ef55d14fb1cc167086d067a910dd4db7e3aa81a1b25cb506b12d192d442b0 +size 300004 diff --git a/fastlane/metadata/android/pt-BR/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/pt-BR/images/phoneScreenshots/02 - workout detail.png index 545d5d80f..ee58488cf 100644 --- a/fastlane/metadata/android/pt-BR/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/pt-BR/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3b3bd956688a4463d6913374d18b0895b602f63218c8ffe9a75fec917d6b4af4 -size 213555 +oid sha256:2b8497c08622de80f0dafa9f4f06d7e3d62d25a0f785372f53d222d35b5f14a1 +size 236456 diff --git a/fastlane/metadata/android/pt-BR/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/pt-BR/images/phoneScreenshots/03 - gym mode.png index 731573e1a..a5193fb0b 100644 --- a/fastlane/metadata/android/pt-BR/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/pt-BR/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dc2ba18d2cb54c9ad5c5e407bb3e683de28851ceaec77e2ad7ffacbe49f89ecb -size 164853 +oid sha256:f1ee7dcfb88c5604f74dd88e13c7c5df957eda00de76dd902e8c0f11aef7070b +size 165536 diff --git a/fastlane/metadata/android/pt-BR/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/pt-BR/images/phoneScreenshots/04 - measurements.png index 36a80f3ee..a87660168 100644 --- a/fastlane/metadata/android/pt-BR/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/pt-BR/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:357c1f1e2cb403a9627fbc89c5b9c68285e07ed0b540964fcb7d3becb5ff07f9 -size 92446 +oid sha256:1de13563085e64f49aa3a3bac32fbe35beb63f9c6eb520d9ba208abbdaf6f974 +size 151135 diff --git a/fastlane/metadata/android/pt-BR/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/pt-BR/images/phoneScreenshots/05 - nutritional plan.png index b0bbc44c3..a65eb6b46 100644 --- a/fastlane/metadata/android/pt-BR/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/pt-BR/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b3ef89bc8925bd78dcb7677fce2344b689046fff6422c8a4b9d25edccf0f5f86 -size 208388 +oid sha256:7ce10d5333d099c9df2bd30b418b52d703b9660d79e54b949aae2e7812524dfc +size 205049 diff --git a/fastlane/metadata/android/pt-BR/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/pt-BR/images/phoneScreenshots/06 - weight.png index f0a746854..52e1cdc3a 100644 --- a/fastlane/metadata/android/pt-BR/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/pt-BR/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1edd6e6ec252226a80807bf31ba0f423edc361aab283eac226aff078a5eb170e -size 182818 +oid sha256:44fbdb5fd69f26d85faff297cf3fba61ad1371cc9fe0f70ac1f7a37c28b747e3 +size 199136 diff --git a/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/01 - dashboard.png index 9a5b8ee7d..fbda51083 100644 --- a/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6098a280aabf0e29494d8261e7f779e3bc57e6636b7ca4c42ec6c1d447e28766 -size 71463 +oid sha256:3835537a43877013b43c04cf24b6e26051fa9091fcc848317ba8de2117ec6c03 +size 82367 diff --git a/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/02 - workout detail.png index 8af1a22c6..9db0e8ae9 100644 --- a/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fdad1b1c3cda1e3953b1cc4b21c08979b03a6d268a6ad12aa7ab2a6bedf56c80 -size 48095 +oid sha256:d57960e329029e9a3eedaff9e659f6ef83cc660b1060dd38d23914deb40a4acc +size 52637 diff --git a/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/03 - gym mode.png index 767740b38..605d2e6d8 100644 --- a/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:30b040c1838b7e46144c438bbfd40d09fda58b2bcfaff4488c9a77950684d07d -size 31720 +oid sha256:48b5b6fee97a3fd54add048930dce7fd30bfb17f17cd57300df605406b7ffbbd +size 40820 diff --git a/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/04 - measurements.png index 74a668794..556b4a9c0 100644 --- a/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2ebb734fca505caeb0c1b0565cb8735ed6c0a7a579b2a8fe00d28a73008fe48d -size 22382 +oid sha256:65b099f8ba051b00137a56bd8cadd4654ee84e742694d9959d59d704ddb43a3e +size 38757 diff --git a/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/05 - nutritional plan.png index 53f3efaeb..fc6ef9583 100644 --- a/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2be136eea3c80a299028ee549d0af345774819c18da4ea747c2002a5a1420c71 -size 42868 +oid sha256:5853d5875b772bb7038c53c4123910df15c6995d4d1c5473f30c0cde8ba1ef4c +size 64776 diff --git a/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/06 - weight.png index 30c0fbbef..f0097aae7 100644 --- a/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/pt-BR/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d0348ab2f6280517c03d2b22904ed0b33e489930db710d49f0540d8dd234d6e2 -size 34449 +oid sha256:e6d19d7aa0e671240458958b1a3b8c7400e577d55edd30db73f6acc421ab2287 +size 55652 diff --git a/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/01 - dashboard.png index 0598f156b..5181753f0 100644 --- a/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1195ca63a6e04e9574b572b4d6aa47bae21d5e2028d64d4b8de1bec770e30033 -size 208246 +oid sha256:32fa5d16b310f325777e586151d463d21f7b9497d8a5dfe950c2bf9497ddf081 +size 251720 diff --git a/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/02 - workout detail.png index fb20e94fe..2d68b7531 100644 --- a/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8355004805645c9eaf16aa674f2d784622288e35675c5547d7fdbece8ee7b4f0 -size 125011 +oid sha256:1cff97ed2c33eeecee17505ae04caa64f494bf3e22f1f3898b44859f35764454 +size 133323 diff --git a/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/03 - gym mode.png index 1dc7b08a7..a637a9a7f 100644 --- a/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dfaadeaa1677b966bf7be740916b4dec276461273e7fc22bb71d3d301a574a01 -size 94213 +oid sha256:2355b9b87839282b54d78cf38266317e9ace2360fecb82e2e2e40e196770b05a +size 94208 diff --git a/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/04 - measurements.png index 3b7aca6b5..8c3a59594 100644 --- a/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1a8377af979d24daa25e70acd6b54c72efd6889908c916a9d57a1766be520b0c -size 59290 +oid sha256:2d5bc63b2292afd71bceb02556cec74295124009885691e477ee13663d45ed10 +size 97083 diff --git a/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/05 - nutritional plan.png index 562c46831..5d0c814f6 100644 --- a/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:44ebb297e5aab599bd26061d756089919ffe0efd78daf77d5bedaffacc4d3600 -size 120437 +oid sha256:b198670a44c3d509ee4d61af06d430e4a71a7b5d3d9f6dc0e698771d7edc6d9f +size 193723 diff --git a/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/06 - weight.png index a44e78425..0250fb702 100644 --- a/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/pt-BR/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c44c208ad1d0881ef3189a72b534601f133f6cd287650b442c563287c99910c0 -size 105291 +oid sha256:3a52d9daba33236e496501d9afe1dc2e5e535ba92fc0dcbedbd31ae2a86b2007 +size 135142 diff --git a/fastlane/metadata/android/pt-PT/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/pt-PT/images/phoneScreenshots/01 - dashboard.png index 30b5cea8b..879027e7f 100644 --- a/fastlane/metadata/android/pt-PT/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/pt-PT/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:400fe94ae37ef2eeab965bd2c891fc625e184b517d7b83639fb3bcbdb127cf5e -size 201069 +oid sha256:755d72d83a3d69910427fc63a6e024fb0486ff0b4aaf05f458a36edecc3bd66d +size 302363 diff --git a/fastlane/metadata/android/pt-PT/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/pt-PT/images/phoneScreenshots/02 - workout detail.png index 545d5d80f..ee58488cf 100644 --- a/fastlane/metadata/android/pt-PT/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/pt-PT/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3b3bd956688a4463d6913374d18b0895b602f63218c8ffe9a75fec917d6b4af4 -size 213555 +oid sha256:2b8497c08622de80f0dafa9f4f06d7e3d62d25a0f785372f53d222d35b5f14a1 +size 236456 diff --git a/fastlane/metadata/android/pt-PT/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/pt-PT/images/phoneScreenshots/03 - gym mode.png index 731573e1a..80989e5e6 100644 --- a/fastlane/metadata/android/pt-PT/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/pt-PT/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dc2ba18d2cb54c9ad5c5e407bb3e683de28851ceaec77e2ad7ffacbe49f89ecb -size 164853 +oid sha256:82c1ab267972e496e1dba62fe2db0f37d3e25a6f45ad06b3babc56d913a486c5 +size 193946 diff --git a/fastlane/metadata/android/pt-PT/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/pt-PT/images/phoneScreenshots/04 - measurements.png index 9cd362cd7..5514ccf67 100644 --- a/fastlane/metadata/android/pt-PT/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/pt-PT/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cfd7737397eaa4733e8e72675c8008df8b7b7868ba3038102f87828a60d032de -size 94918 +oid sha256:dbc6886dcdf7b400faa63989f6bbbb4db0dab3b769c3b0e8944d76b306afe7ed +size 154609 diff --git a/fastlane/metadata/android/pt-PT/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/pt-PT/images/phoneScreenshots/05 - nutritional plan.png index fea28ed33..ca10c6e2a 100644 --- a/fastlane/metadata/android/pt-PT/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/pt-PT/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a8a14fd6d9c1b9860f8a4e4a98ab6ad3d4e17ea689e0649f489c831e50a02271 -size 210309 +oid sha256:0a5985514857feffdd80d9834e75a2fbf10e4912df6de0361bfe89ff5a1fb48a +size 211233 diff --git a/fastlane/metadata/android/pt-PT/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/pt-PT/images/phoneScreenshots/06 - weight.png index df26f4d21..8e3b60325 100644 --- a/fastlane/metadata/android/pt-PT/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/pt-PT/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:45002b619da2c60105b5e403c4b55cabe0e93cc256602914a0bc39f4ee8fa406 -size 186009 +oid sha256:cb368d185f586a3f86bebaa1b647df54ebd2f6f3fc3bcc1892bee44b2c39f618 +size 202663 diff --git a/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/01 - dashboard.png index 368e3c95c..5bfd23ad0 100644 --- a/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9ecfd6c925fd12e4437225870a0c0fff7616d6de619842145649bed819b27d47 -size 72590 +oid sha256:997bde0f68d6375247641ea98481d23003b5ad3010235a4e2de59810f637c246 +size 83421 diff --git a/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/02 - workout detail.png index 8af1a22c6..9db0e8ae9 100644 --- a/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fdad1b1c3cda1e3953b1cc4b21c08979b03a6d268a6ad12aa7ab2a6bedf56c80 -size 48095 +oid sha256:d57960e329029e9a3eedaff9e659f6ef83cc660b1060dd38d23914deb40a4acc +size 52637 diff --git a/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/03 - gym mode.png index 767740b38..12dfe820c 100644 --- a/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:30b040c1838b7e46144c438bbfd40d09fda58b2bcfaff4488c9a77950684d07d -size 31720 +oid sha256:9bcf52eee63e4ce19b847eb2b5fc120aea61b26ddc1144bc9975136f1d6df4fd +size 46161 diff --git a/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/04 - measurements.png index 1c270125b..cbb02d4e5 100644 --- a/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:78bac50da1b445c9c9682c0004de38328f4e3aa47d1f4b325694e7e42f7cff4c -size 23262 +oid sha256:5e6ea884eee6ac61c1e8b8b7b9a44128d85a0ee7b3fd77c768ca4af38c54997c +size 39714 diff --git a/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/05 - nutritional plan.png index 369cd0951..af33dbd86 100644 --- a/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dcd2f6231d46ea94cec62af7f385734b9e084c1db76a6655fc4418db03868470 -size 43587 +oid sha256:2c35d6f998cf18ca1ba0b3d5949ff8f01b75150877dc866fbf98ec01636a8246 +size 66436 diff --git a/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/06 - weight.png index f7da49419..8e3367150 100644 --- a/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/pt-PT/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2790516f8d07da1faf38851aa1ec86bcce87b4c108bf440e5cd254d03d11c494 -size 34270 +oid sha256:79d89e672adb437fea8b40c4dd7721ea5a685bbfa99987e74a063352b9618adb +size 55603 diff --git a/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/01 - dashboard.png index a6faac068..60eb09dfe 100644 --- a/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b693c0cd108c93fd86a36c1d136f7bd5095a45a19914608fa38a088c5d0fb2d0 -size 211128 +oid sha256:c49d552d0c48eb473eb374c05177f26e4b92dbffcedfccd1e36bda1de8dc25fe +size 254948 diff --git a/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/02 - workout detail.png index fb20e94fe..2d68b7531 100644 --- a/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8355004805645c9eaf16aa674f2d784622288e35675c5547d7fdbece8ee7b4f0 -size 125011 +oid sha256:1cff97ed2c33eeecee17505ae04caa64f494bf3e22f1f3898b44859f35764454 +size 133323 diff --git a/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/03 - gym mode.png index 1dc7b08a7..237c91838 100644 --- a/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dfaadeaa1677b966bf7be740916b4dec276461273e7fc22bb71d3d301a574a01 -size 94213 +oid sha256:be7e2208ec3db041bd66fdbae80e42430c37e2c5605e246e1abaa60834e8ea4c +size 108475 diff --git a/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/04 - measurements.png index 860145be7..dbdbfadc9 100644 --- a/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:91b9037607df1b29c491ad11face018790b83e3679c99aded5d49b18b81a677e -size 60808 +oid sha256:422dd31cae557018f13d09794428bd9a9db9505f11b51b32a309c59e0d7b7c04 +size 98147 diff --git a/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/05 - nutritional plan.png index 14206c51c..d177e85f6 100644 --- a/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bdbedc85e27960004b84ecb47c5d63e55bcf43b1fc8c698850e149c2580cce8a -size 125510 +oid sha256:efbb7ee49fe3bbec08e986b8fcb74b308ea22d3b0e66cddc064ad4cdd4373e4b +size 200118 diff --git a/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/06 - weight.png index 3c10f756c..668f3c6a8 100644 --- a/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/pt-PT/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:52b70bd0a8977389a28f4f41442e5a001a479cfaa70f894a5a1ffe4a6977ea61 -size 106863 +oid sha256:e1f0b96c0069d47977443b4b8f194a7349be17737e15444f75add17a86e74069 +size 136727 diff --git a/fastlane/metadata/android/ru-RU/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/ru-RU/images/phoneScreenshots/01 - dashboard.png index 8267a7bd7..4480f11fa 100644 --- a/fastlane/metadata/android/ru-RU/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/ru-RU/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e4839526330720d0f39e3fe650dc369605d4e64a41919de0a7f418ff69b59c7a -size 195031 +oid sha256:032e52ac0ac46e54fded51aefe3b410373c477682a0095ab8d182bf569ba0304 +size 299401 diff --git a/fastlane/metadata/android/ru-RU/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/ru-RU/images/phoneScreenshots/02 - workout detail.png index 43d755b57..af8eaf8fe 100644 --- a/fastlane/metadata/android/ru-RU/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/ru-RU/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:91447326693f83cd31d3b07d0241ca90ca583cd0ce599c23c0cb63b673d291be -size 205734 +oid sha256:6b73a22d3d12608e39846a5b5f392f47a2d9fe6ef15a37e2669656ad36cd8f9b +size 228966 diff --git a/fastlane/metadata/android/ru-RU/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/ru-RU/images/phoneScreenshots/03 - gym mode.png index cf753b33b..1b02d7f10 100644 --- a/fastlane/metadata/android/ru-RU/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/ru-RU/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:97e162c84717846d06594e1b0315f02bdfd1528df76bad0abc65af7332775b20 -size 155074 +oid sha256:f9b99da28a39008fe4b01bccadedaa8a751465fdc42d9aecaf29122e7f714577 +size 159904 diff --git a/fastlane/metadata/android/ru-RU/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/ru-RU/images/phoneScreenshots/04 - measurements.png index 58f2b1d4d..bbca6d27f 100644 --- a/fastlane/metadata/android/ru-RU/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/ru-RU/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c5af80a5dd458c62a48a712e4b3936e7719f490a683f0af02147dd213414ca04 -size 92046 +oid sha256:373c81129f08e5f33e1f83aa36bc8d78bb229535566ca459ed6c8cf61d67224d +size 150959 diff --git a/fastlane/metadata/android/ru-RU/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/ru-RU/images/phoneScreenshots/05 - nutritional plan.png index 4133b06bd..0d3275860 100644 --- a/fastlane/metadata/android/ru-RU/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/ru-RU/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1a00c6012cc0284bf4862a9310da9817caff2a42609773d93c6004e43d31f25a -size 192926 +oid sha256:d957d9cfd8235d4a65bc51e8b2b8fe5fac6deaa2562d151e5a66ffdfc2f04809 +size 193622 diff --git a/fastlane/metadata/android/ru-RU/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/ru-RU/images/phoneScreenshots/06 - weight.png index 5e8bfcb44..5277b3763 100644 --- a/fastlane/metadata/android/ru-RU/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/ru-RU/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1e8afdc6cd0a8964d07d0f6462a5b17cf771496918a39f76bafcc0eb9025ff5e -size 177065 +oid sha256:02050cdbb2de2156e978921b48c583bdd72296e84ccc318b0082c8e5c65d8882 +size 187487 diff --git a/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/01 - dashboard.png index be3ea3348..ac5745eb8 100644 --- a/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e643e622d30b089608f4cc3adc3b096d2a9db81d6c79b8874247a032410422bf -size 77101 +oid sha256:4582e359a505cb5b7991e09d53f4c88e6007a552741e6dd9d968639dec092ad5 +size 81554 diff --git a/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/02 - workout detail.png index 22efc4107..264f8ad45 100644 --- a/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f584895437dff22f17bef0a99aae7e226b1efd429fe91e727b264119ea5eed7b -size 46569 +oid sha256:a5f2acd078e32264d2fa4b5e20a05e734709a57f688a25a27e0eb23cb31b7582 +size 51565 diff --git a/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/03 - gym mode.png index f9c520f31..b81172209 100644 --- a/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a2adf073aef87f2323df33f3a4f6045be62cecab8c8f4942b7ceb72f74090e78 -size 30005 +oid sha256:f6d233a2def9e86b8b20a4a3b6f7f525f78501edad1507c78a4c4aca240ba362 +size 40803 diff --git a/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/04 - measurements.png index 0a7bac0a3..3497dc6e8 100644 --- a/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c08ec60ad8db0d92d173235ba760c14c9a700ac0171fdaf94effab4430bc4e33 -size 22994 +oid sha256:2db3f86162dd9f09ba0b06cdae8f15e6239b266f7940e77d31e898f6fd96d8b4 +size 39075 diff --git a/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/05 - nutritional plan.png index 0b0eac642..1b36a9c75 100644 --- a/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:92baeaa98ea9be397bf6d97b90bebd37ac7a17e13904723eec08064a458839af -size 40556 +oid sha256:28b8e4991030bc57bf5f2490ce519d978c45c4e09c5290896f87464e19bdc8ac +size 60871 diff --git a/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/06 - weight.png index 946f89792..2082e8b7e 100644 --- a/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/ru-RU/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e5aa078c98f88745b1b7426cb2adecd527fb270779ffab52923804e8551d0b63 -size 34398 +oid sha256:db81702555f7ae16d06154b6573e9032d6be19267c32c6bdb68035c1d44e4691 +size 52690 diff --git a/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/01 - dashboard.png index d83b16fc6..68d8a234c 100644 --- a/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5bf912dc3c2c734fb311172834ca834a2db8e36a200dffe48fd34ba29455aba3 -size 217690 +oid sha256:77ee87b2697c25cd126e9b8571fc59e760f8e14469dbc76be1595b88defd64c7 +size 259652 diff --git a/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/02 - workout detail.png index 3dcab885b..1806b7d7b 100644 --- a/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9d5bccbe801f7e3b3f753d5449c867132b92462b6f4f66c64883aad4ebac55f -size 120956 +oid sha256:2a69818bcee8559a636d75b0a2529bd65f31f23caa0d82b5ed2fe8857c6300e5 +size 129236 diff --git a/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/03 - gym mode.png index 83555c6b4..91a785f06 100644 --- a/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:eecbedacf28a016f62c65f6b87b92ad466cd849b35ee348d8367074c6eb64c50 -size 90163 +oid sha256:9e41ae662f79fcf63cc91d28f2ab89aa85d0062d6c2750d07c675b8163358ae1 +size 93746 diff --git a/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/04 - measurements.png index 0165da232..9381a9c5a 100644 --- a/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:082fed5168599ca089a751081971706dd07837dfbc53481ab78ce557f1312cbd -size 60465 +oid sha256:0bd51ae6578c9cc0b08c5e93b6bb527e7462041cb914a3ddb523d16bd8e1975a +size 97313 diff --git a/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/05 - nutritional plan.png index 34226a559..fca26105e 100644 --- a/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:68ad23303e0b43b5882b17b471c4625396ddc0133a118421df2dc12d89ba4733 -size 116948 +oid sha256:330bb157ddd74bc0da4b8bbe4d2980475cc934ebe22d0b75d866e349a7e7a9d5 +size 178002 diff --git a/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/06 - weight.png index de5121a2c..acce92602 100644 --- a/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/ru-RU/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2ebdccf3701af3457a8516b57c3c2d4e187e356d5fd5f9f9a0fbbac88207bf79 -size 106233 +oid sha256:1279e1b001c7abfbba4d1ba35ed977a0c639f8641443c95f7bcd4e5bc170a097 +size 130823 diff --git a/fastlane/metadata/android/sr/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/sr/images/phoneScreenshots/01 - dashboard.png index 2e5e24ac0..cb4af6203 100644 --- a/fastlane/metadata/android/sr/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/sr/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3a138ee50083d694a7bca4f330c4d505ce68911f2b1b6a63b57410e69ad67894 -size 198456 +oid sha256:c8246cc328d12250f320be1fded9a80ba14b3540104c8716e467c7a717418561 +size 298172 diff --git a/fastlane/metadata/android/sr/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/sr/images/phoneScreenshots/02 - workout detail.png index 43d755b57..af8eaf8fe 100644 --- a/fastlane/metadata/android/sr/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/sr/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:91447326693f83cd31d3b07d0241ca90ca583cd0ce599c23c0cb63b673d291be -size 205734 +oid sha256:6b73a22d3d12608e39846a5b5f392f47a2d9fe6ef15a37e2669656ad36cd8f9b +size 228966 diff --git a/fastlane/metadata/android/sr/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/sr/images/phoneScreenshots/03 - gym mode.png index 15c479160..2ab1bad59 100644 --- a/fastlane/metadata/android/sr/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/sr/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6fb84cfd86e7baba3c8078a77a9bb9a8c3540edebc5512b3b6f05517f361b458 -size 160886 +oid sha256:4a3ba96e99ddd738976d20c3ad467ff9c9be265ad103d2dfd5695b8b0034ab28 +size 160970 diff --git a/fastlane/metadata/android/sr/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/sr/images/phoneScreenshots/04 - measurements.png index 46a842ba0..a21a0ae2b 100644 --- a/fastlane/metadata/android/sr/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/sr/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:458caacbfb0c6920ad286d2bbe1b9421b9c946424150ac285da488dc149e88ec -size 91844 +oid sha256:45048efd63bb477627a7ac634b643b66a1b15de665378c44f99169d793a363cc +size 146882 diff --git a/fastlane/metadata/android/sr/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/sr/images/phoneScreenshots/05 - nutritional plan.png index f0efb57e3..c8c2e8a2e 100644 --- a/fastlane/metadata/android/sr/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/sr/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a7e6af1df9c6ad069e496209d996c149cd8d4b86cc8679ddaf6f71510d296bb5 -size 207515 +oid sha256:d70b3784d8f3604dc92d13135620fcb614a386cc78ffab9e7af27d71e57a40f9 +size 203931 diff --git a/fastlane/metadata/android/sr/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/sr/images/phoneScreenshots/06 - weight.png index 66cb69d1a..81ecb2ad5 100644 --- a/fastlane/metadata/android/sr/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/sr/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:46c893fd0734e89ffbcaa2af700303b223be5a6e4650adba08609eadfede3f9e -size 188124 +oid sha256:732746887cbf2e19e8172b42a3501f0acd7e16fa40537a7a0d5380d1cecc7b9e +size 198695 diff --git a/fastlane/metadata/android/sr/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/sr/images/sevenInchScreenshots/01 - dashboard.png index 3a236f0c8..31a7e946a 100644 --- a/fastlane/metadata/android/sr/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/sr/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0e4a5e4c7829a7a81ad74d1000aa05f6522dd92fa548929900786294c3b68744 -size 71186 +oid sha256:12c5b53d1de2013adc27bf5484a5b15a15c24e8c98e19e683a7861d7ed316d52 +size 81308 diff --git a/fastlane/metadata/android/sr/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/sr/images/sevenInchScreenshots/02 - workout detail.png index 22efc4107..264f8ad45 100644 --- a/fastlane/metadata/android/sr/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/sr/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f584895437dff22f17bef0a99aae7e226b1efd429fe91e727b264119ea5eed7b -size 46569 +oid sha256:a5f2acd078e32264d2fa4b5e20a05e734709a57f688a25a27e0eb23cb31b7582 +size 51565 diff --git a/fastlane/metadata/android/sr/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/sr/images/sevenInchScreenshots/03 - gym mode.png index eb5b3f6e7..5904852e9 100644 --- a/fastlane/metadata/android/sr/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/sr/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9319000aa2a1c65357bcb5b0b2b70015033bc29a27bd6cdff74317f2b78445ca -size 31253 +oid sha256:f3096ae23eea7fe4e72d1d4ac24469d151fa19e5dfaac76e24a0d038547ec2bf +size 38580 diff --git a/fastlane/metadata/android/sr/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/sr/images/sevenInchScreenshots/04 - measurements.png index e6dffb7ae..6a3abce6a 100644 --- a/fastlane/metadata/android/sr/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/sr/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:435bf4093ea2b1116c7770cbee36b4715e362bc3f859dc22caee8dafc0f95f77 -size 22504 +oid sha256:c8f7be37d8534df662a21d87fe1fe8cd0f562168cfccb6edcbfbc9d78760cf62 +size 37554 diff --git a/fastlane/metadata/android/sr/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/sr/images/sevenInchScreenshots/05 - nutritional plan.png index dcb2bcbff..a2706a277 100644 --- a/fastlane/metadata/android/sr/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/sr/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bbb9252b449ae22df61556a41131172af4d19bfb45848a50f807f49a9c583609 -size 42672 +oid sha256:26aecd612ebba904579a01cd5b3fce5aa58f880aead791f2f762979e07e8ada0 +size 65006 diff --git a/fastlane/metadata/android/sr/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/sr/images/sevenInchScreenshots/06 - weight.png index 1441e7f1f..0070ef9a5 100644 --- a/fastlane/metadata/android/sr/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/sr/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d500e1a67609446e509cea484e21427bc7772a42294d69a8c9ee30a0f7fe3891 -size 35222 +oid sha256:cd13903252d81ddd70aedebbe110b81f0bb6a79f000ad52a5522ab517fff498e +size 54007 diff --git a/fastlane/metadata/android/sr/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/sr/images/tenInchScreenshots/01 - dashboard.png index f8ef53566..a70f6bbe0 100644 --- a/fastlane/metadata/android/sr/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/sr/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a4b6a280de85640516441521db5844b1a5f599aed59e19cb425c2715286ac93e -size 204986 +oid sha256:f725c1c8f911cb832a6b9980494964aa8c1f3b30cb7721bd3ade5bbffc34a29a +size 248182 diff --git a/fastlane/metadata/android/sr/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/sr/images/tenInchScreenshots/02 - workout detail.png index 3dcab885b..1806b7d7b 100644 --- a/fastlane/metadata/android/sr/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/sr/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9d5bccbe801f7e3b3f753d5449c867132b92462b6f4f66c64883aad4ebac55f -size 120956 +oid sha256:2a69818bcee8559a636d75b0a2529bd65f31f23caa0d82b5ed2fe8857c6300e5 +size 129236 diff --git a/fastlane/metadata/android/sr/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/sr/images/tenInchScreenshots/03 - gym mode.png index 7e734e7e8..eb46d8bfc 100644 --- a/fastlane/metadata/android/sr/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/sr/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cb50cc661b8118bc3a3fcb4236db176c0d0f16110215cb8c626678a4051ccaf9 -size 91860 +oid sha256:6d41e7164a4b2f9b806c4d9cfdb013aa54ed8ac310dc6a80360d10c0c0d818a8 +size 92173 diff --git a/fastlane/metadata/android/sr/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/sr/images/tenInchScreenshots/04 - measurements.png index 7109717e0..d8b01d998 100644 --- a/fastlane/metadata/android/sr/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/sr/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e366a8e8eac946cff9077ae1ed8da8cabeab7251b5f7866ed26098848b1b8e02 -size 60269 +oid sha256:d09502c1c8f56e739f2a8c69df85662cb429d4b06628782c31d7d3e429bdf0fd +size 95490 diff --git a/fastlane/metadata/android/sr/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/sr/images/tenInchScreenshots/05 - nutritional plan.png index f1efa6d49..262829591 100644 --- a/fastlane/metadata/android/sr/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/sr/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e33c6f910f6f5980307071e51211adbe6ce7db0d927afaaefc4741bfc3630aab -size 120104 +oid sha256:f67496ef53c5de55e003ee24335e167d01d915d1d31064597a4efd415af8b88a +size 187896 diff --git a/fastlane/metadata/android/sr/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/sr/images/tenInchScreenshots/06 - weight.png index ee4fbed7b..3318384f1 100644 --- a/fastlane/metadata/android/sr/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/sr/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:59f8c805686d243d9593d63c427876e70158cf9f37cfe9180f06fe8332b1d1d8 -size 109815 +oid sha256:75a9cb986f5f8cc101ab8e6acbf44294c352417fb30627983cc2a122d3384596 +size 136336 diff --git a/fastlane/metadata/android/ta-IN/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/ta-IN/images/phoneScreenshots/01 - dashboard.png index 2b40076f6..1ed0f4a09 100644 --- a/fastlane/metadata/android/ta-IN/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/ta-IN/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8468c9d5e380d9e8fc687f145c765ea749f0ec4e0f22e0cffa445317d253e3b0 -size 255869 +oid sha256:a0295a5741d6203f55881a5fdc021b898f7f1e30305ab31c433e9010f410c639 +size 352989 diff --git a/fastlane/metadata/android/ta-IN/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/ta-IN/images/phoneScreenshots/02 - workout detail.png index 43d755b57..af8eaf8fe 100644 --- a/fastlane/metadata/android/ta-IN/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/ta-IN/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:91447326693f83cd31d3b07d0241ca90ca583cd0ce599c23c0cb63b673d291be -size 205734 +oid sha256:6b73a22d3d12608e39846a5b5f392f47a2d9fe6ef15a37e2669656ad36cd8f9b +size 228966 diff --git a/fastlane/metadata/android/ta-IN/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/ta-IN/images/phoneScreenshots/03 - gym mode.png index 274a31df8..d188ece1c 100644 --- a/fastlane/metadata/android/ta-IN/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/ta-IN/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9ca7246b6f4fa3e8683c66e2f43ff39fc829945a2e4601467635439cf322fe86 -size 195261 +oid sha256:4bd39b09bbe73aa85d26d06ae1f1340a62aaa907ce2a1e2b0d9d88748d3d6256 +size 195434 diff --git a/fastlane/metadata/android/ta-IN/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/ta-IN/images/phoneScreenshots/04 - measurements.png index 9d9bc632a..e43303c85 100644 --- a/fastlane/metadata/android/ta-IN/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/ta-IN/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dee36b945a906259d28da6a57419d65831404e4fa5302a4d681095fbc40f861e -size 116996 +oid sha256:d8481007c31edc5d9f479f65b9f7e852def64241a81ecf27ed8c3f703d9c4cd8 +size 190910 diff --git a/fastlane/metadata/android/ta-IN/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/ta-IN/images/phoneScreenshots/05 - nutritional plan.png index 667e1f5de..c6be87837 100644 --- a/fastlane/metadata/android/ta-IN/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/ta-IN/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:804235e9f1d290e2072c3d48ce4708dd1494e02ff5f1b2dd78e23d0de9b73427 -size 256143 +oid sha256:858b90c8bd3bedd056dac03b2f53996bbca68757adb43d65ee15e6be8662d141 +size 250226 diff --git a/fastlane/metadata/android/ta-IN/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/ta-IN/images/phoneScreenshots/06 - weight.png index 61fe0e370..d83e7509d 100644 --- a/fastlane/metadata/android/ta-IN/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/ta-IN/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f26e37b6889fd9c6321669563d074f213aef270f6d931d5fd1503a24ec7a5edf -size 273100 +oid sha256:6ae2271670790b3e1f1d13301ce00ab2da19d1b09106fb0925d3d68a96be62f7 +size 281776 diff --git a/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/01 - dashboard.png index 0af4c79fd..3e22424b0 100644 --- a/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:417cf0ef4abc86f21e115c634ac3f00ff8637fa93ebae6a496bea8ce90a08b7e -size 94480 +oid sha256:2e0855d7bdd13d6edc35e0847705be6d3e27dd354aa68ef4c7aff865df6546c8 +size 101673 diff --git a/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/02 - workout detail.png index 22efc4107..264f8ad45 100644 --- a/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f584895437dff22f17bef0a99aae7e226b1efd429fe91e727b264119ea5eed7b -size 46569 +oid sha256:a5f2acd078e32264d2fa4b5e20a05e734709a57f688a25a27e0eb23cb31b7582 +size 51565 diff --git a/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/03 - gym mode.png index 23200c47b..65fb6b5a9 100644 --- a/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a02648524952838b008cb18745b273d5861e649e7f9455e427a95645ab5ddc9c -size 40454 +oid sha256:6fc6b76f8b30d1a4438271b3682713e89b6521aec32a7d6325e5fdb0fff3837c +size 49273 diff --git a/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/04 - measurements.png index bc9645299..4f1cdf29c 100644 --- a/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:77825f3dd0dd39859c7ea4b67c80e00ec78c67f432ef8ab739e9b49d71033418 -size 29236 +oid sha256:e4f1c8b3c9b1095ca847bc7e80037a23e652a75b14c9a004e6dc01aca0aaa026 +size 48958 diff --git a/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/05 - nutritional plan.png index 381a150a3..680fc321c 100644 --- a/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fb1a65dc61ac51a70f7e6f9fbc8d2901173be63d43dcf65e0d4f7aed438c0b27 -size 50924 +oid sha256:56bdbdc28ef2e8dc95c66c03a84733f621d4dc3d4398c4c397cb6586049f1e9d +size 83493 diff --git a/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/06 - weight.png index 079ca97db..fa5288598 100644 --- a/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/ta-IN/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cbd674138fd35e4990008ce136d5c526639216417b1c4f593491116e9e512225 -size 52413 +oid sha256:40f04bf5a65ca6236a271ee56af77c33b3df28c16f4c079a11a2b1eb17ed75e0 +size 77457 diff --git a/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/01 - dashboard.png index 9d4083080..5fa2839a5 100644 --- a/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ecc5ad90dc290dd563de605155e305330e0550144445617ffdfe6208abb307e7 -size 266887 +oid sha256:86f57c097f3dc985bbf014bd9920801c4b5fab74dcf7f566440cae7cacc835f4 +size 313248 diff --git a/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/02 - workout detail.png index 3dcab885b..1806b7d7b 100644 --- a/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9d5bccbe801f7e3b3f753d5449c867132b92462b6f4f66c64883aad4ebac55f -size 120956 +oid sha256:2a69818bcee8559a636d75b0a2529bd65f31f23caa0d82b5ed2fe8857c6300e5 +size 129236 diff --git a/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/03 - gym mode.png index 02c56478e..8d2dd8856 100644 --- a/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2451ee911ddd31ea7db7d4f85bb3d5fa6a83fe0fd6a2394165a1ec67bd091688 -size 116968 +oid sha256:e75b2f84be8d3fc45b52cc3e4db470df13c9e73e0c6606496204f0e730164436 +size 116322 diff --git a/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/04 - measurements.png index acdf893d0..2a77d6d56 100644 --- a/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e96dff06e4e334c9ee498805f760d70377d72fc5c19c3c364e4283b8946bbee1 -size 76120 +oid sha256:de7c14edc71bc12caaf548853819fea4e9f1db19505201bbe7ce884b3ae1c965 +size 121689 diff --git a/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/05 - nutritional plan.png index 53c7c11f2..76350ce6d 100644 --- a/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a610cd359965f1dda1948eb9d2e50fd44129eb7e71d8a19f6341ddad6f0e60c5 -size 155982 +oid sha256:e654edc0ae178312df140a7204164c6d6603f9015a300c60fc57fb6e0c4c750b +size 259148 diff --git a/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/06 - weight.png index 7f3a74f68..0f591b972 100644 --- a/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/ta-IN/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8e9a41a9cf99ca046c7bc05d5139042600aeddb6f8aeb1f6ce781f3c9d8ac00b -size 156726 +oid sha256:d15374edc8c5ef1bf4095b56797db8b5cee1e8c1fff1a4914a63bb8c0cda6a64 +size 188011 diff --git a/fastlane/metadata/android/tr-TR/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/tr-TR/images/phoneScreenshots/01 - dashboard.png index 61e3c5855..4e8fd9fc6 100644 --- a/fastlane/metadata/android/tr-TR/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/tr-TR/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f3c6f56d3998f9ffae5f8553b7447486058cf1e9ecdfd4d0f1785defd39af451 -size 203561 +oid sha256:bb8115a146cf6e7cac2a22be29d8b8c0cdc914397304b849b0392eec5e1d5e36 +size 305700 diff --git a/fastlane/metadata/android/tr-TR/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/tr-TR/images/phoneScreenshots/02 - workout detail.png index 1da37f937..1fab1c841 100644 --- a/fastlane/metadata/android/tr-TR/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/tr-TR/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3fd4fd0702e2938232483fcc55a7dcaf222722b95cd380a3d7602e33520b2de9 -size 205849 +oid sha256:56223f592da71696a339bb144052723eff0e5a51daef0ace97f9f05c6b1ed3b7 +size 229063 diff --git a/fastlane/metadata/android/tr-TR/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/tr-TR/images/phoneScreenshots/03 - gym mode.png index e8b7c4807..f7550dbc4 100644 --- a/fastlane/metadata/android/tr-TR/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/tr-TR/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:991445d90745048a3d48a3d464ef9aa085359ed2cfeffd2f739701e1e90da8a0 -size 164926 +oid sha256:5bcd87fb0a4e57e0659855bfaf73524f8081c51a054317eda5a69d2790128bc8 +size 164958 diff --git a/fastlane/metadata/android/tr-TR/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/tr-TR/images/phoneScreenshots/04 - measurements.png index 189562b2d..1fc5d602f 100644 --- a/fastlane/metadata/android/tr-TR/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/tr-TR/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6c6d824c0f92a343a469e33b48de187aaf9a71c8bae6231c7c9329c92c52a913 -size 90786 +oid sha256:1ffd3ec2ec7d42edf4453efc44791765aa6764e316c0180e5abb1787b1b3b653 +size 145934 diff --git a/fastlane/metadata/android/tr-TR/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/tr-TR/images/phoneScreenshots/05 - nutritional plan.png index b5bb24bd6..7dbef9061 100644 --- a/fastlane/metadata/android/tr-TR/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/tr-TR/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f0756e7fa7b8dae97a5830256a5c1b12f314f7f44b36985054456a4ca86d75ae -size 207985 +oid sha256:b78e204e09040b0dcf3305a996d222d63051b2adb007ce46f697998fe42f847c +size 206974 diff --git a/fastlane/metadata/android/tr-TR/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/tr-TR/images/phoneScreenshots/06 - weight.png index a44a26670..679eee4dc 100644 --- a/fastlane/metadata/android/tr-TR/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/tr-TR/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3095958eb33dfd4a7c17cb0d298f6409638435bcf7beea5c3232d7ee8d95fe5e -size 184759 +oid sha256:5d3b74558d969216df53cf188bedd6c1b0e26da3d5229ad82278ad386d474747 +size 194824 diff --git a/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/01 - dashboard.png index adb2fbec2..8e6f7f728 100644 --- a/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8fdcb2f00ff98e997a98e61e34fc8eed4329e8c6153a0a3d7da5d0ce838a3835 -size 74980 +oid sha256:9b41494737cab77efc4620bf97bcd7edd820e673741702c02edc033078f247af +size 81711 diff --git a/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/02 - workout detail.png index e212fe3cb..21dbf3191 100644 --- a/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f5a178c0defc4107ddc8f417244a12cbd11e5fde0c9e640bc7a42aabfd8797f0 -size 46584 +oid sha256:4063d800f55c3e486c2f6ffcc5b5879bcb2a557da080ce224830bb0e5904019d +size 51577 diff --git a/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/03 - gym mode.png index 562989177..68a253aba 100644 --- a/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5a0c746e1bb0f375a4dca85f5ad6cb73b6a4eb57da1d3876fa1ec631a4618dc3 -size 31813 +oid sha256:8677339eec28d22299f1580d7ca48fd590dea4e5485a8bcff158f7eaa91c7c69 +size 39458 diff --git a/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/04 - measurements.png index b71c05ee3..00d5cfde6 100644 --- a/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ed18f2c270076f9682fa24840298698f881693023b5553981f17a57f5724df1e -size 22249 +oid sha256:0ce3d7595e50dfe534b4d1851fde87df086368e051f26017d6048b52db595df7 +size 37084 diff --git a/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/05 - nutritional plan.png index 4c1b20473..bc9d5b78b 100644 --- a/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:38981a400bac26042f2951fb917dfa335e81a8ce0a0389463829e13ed9835cf5 -size 42514 +oid sha256:45b6e578120bb2ea26e75bd2767809dfba29193857347590af984623d051db59 +size 65162 diff --git a/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/06 - weight.png index 6b2601523..87f128080 100644 --- a/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/tr-TR/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7e7d4ccd23e59a1e91313eaf7517ddfa7984db4c85f4963b23dd0040f8b911e5 -size 35656 +oid sha256:884195c8f097f5014dbe84581a8709b38eb6341b709db22007f63338a141a8a9 +size 53870 diff --git a/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/01 - dashboard.png index 2fbe29fae..d2cbb8ee1 100644 --- a/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:19f3bbd4119be70014a14de97619b46d52aa851a2fe1fa50716d6999cb2945d3 -size 214710 +oid sha256:0689654f173970d66df17d4fe37a50357e368788f12b9eddd6753e128f420c5d +size 259018 diff --git a/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/02 - workout detail.png index f3934ca6e..12ef0875f 100644 --- a/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e59f1b67d861c4abf3268b09e1d590dde72ce670ca5d0f67a7baa83fa283275b -size 120967 +oid sha256:c0700a71840fae6f47c286a8495a3de82dbf78c365c3334a73e0600236d04b54 +size 129230 diff --git a/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/03 - gym mode.png index a662f80c9..2db144e2c 100644 --- a/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b60523143e09bf5871056c1c0d794be95422925556555a30d00e8331c9040178 -size 96116 +oid sha256:78a8c2e2d20ac9d96eb1a602de99a2a9755bb39b8daa0acf8a3c733345c465df +size 96715 diff --git a/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/04 - measurements.png index c1b70f179..8dd0c1b4d 100644 --- a/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dec1738ad617f360184495da59680f62686ab8eac6e3ebc76cf6bb9c1837b651 -size 59001 +oid sha256:cb3376363bf22140c9a37144e19e29db81dfbe0f426d10471a0e7857b79aadf7 +size 94275 diff --git a/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/05 - nutritional plan.png index 1229cdbee..5d26b9ca3 100644 --- a/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fc52382feadb452a4882bae3a87b4ae0682fbb3d03a31f44b638e72f5138c11f -size 121097 +oid sha256:0701f6898cb98437c31e707ee37c1e7f42436a4100ad3f767d42eef819cc9695 +size 190375 diff --git a/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/06 - weight.png index 84c2b2ea3..a0d69b8c0 100644 --- a/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/tr-TR/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5074b6db9cc6ce0e79a4d1a6ff40625b49f52f61f8fc8378b5aa672927f82411 -size 108726 +oid sha256:f16b9bcfd5381ac695e629c24ab0b55eeb2fb33281a34a7ac267719d535b7d11 +size 134354 diff --git a/fastlane/metadata/android/uk/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/uk/images/phoneScreenshots/01 - dashboard.png index 3c87fe60f..bc0f9a342 100644 --- a/fastlane/metadata/android/uk/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/uk/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2e20fb8b61927cc243dae22f3bc350b444d2ff889c6463bcecf16bbf5bc934a3 -size 196986 +oid sha256:6020f382f1aaeef649660dfa820359cf3c6c80920870ce290a0729f494f5b061 +size 303600 diff --git a/fastlane/metadata/android/uk/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/uk/images/phoneScreenshots/02 - workout detail.png index 43d755b57..af8eaf8fe 100644 --- a/fastlane/metadata/android/uk/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/uk/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:91447326693f83cd31d3b07d0241ca90ca583cd0ce599c23c0cb63b673d291be -size 205734 +oid sha256:6b73a22d3d12608e39846a5b5f392f47a2d9fe6ef15a37e2669656ad36cd8f9b +size 228966 diff --git a/fastlane/metadata/android/uk/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/uk/images/phoneScreenshots/03 - gym mode.png index 971149572..77556ae77 100644 --- a/fastlane/metadata/android/uk/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/uk/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ba73a8d72a8d51fa9ee6259e60b04d3dfd219f0ef15add8146bb2bd4c05aea5e -size 153787 +oid sha256:194538fe22226729100a29a0cc8a699d4e47738345d8333b848c781527400efe +size 157726 diff --git a/fastlane/metadata/android/uk/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/uk/images/phoneScreenshots/04 - measurements.png index a23cb675e..fff664c2d 100644 --- a/fastlane/metadata/android/uk/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/uk/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:83a9d6a37c49cddd707d0a9b69b5de527dacf824d516ffceaf855c994c452200 -size 93300 +oid sha256:c3fb5ce612455c150e2927e2c1ba02ca3e4cf1f3644589faba97b2c2aad420a8 +size 153190 diff --git a/fastlane/metadata/android/uk/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/uk/images/phoneScreenshots/05 - nutritional plan.png index 50ae98b78..5b01ea232 100644 --- a/fastlane/metadata/android/uk/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/uk/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d73ca36eb866294127cdfc3a1f6df48d0d1c5e2ecd5fe2d68a30a78ba4764126 -size 191231 +oid sha256:5d97ca0247abbc8186589cce26fb464dcd77030c758afaac81d3ddfe3c9d9574 +size 192406 diff --git a/fastlane/metadata/android/uk/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/uk/images/phoneScreenshots/06 - weight.png index 206934039..89aade1fc 100644 --- a/fastlane/metadata/android/uk/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/uk/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a50bc25553e3b44171f53da699c81642f010ec4f2448a4fb00d92217f9026a2d -size 175055 +oid sha256:fd14fbfbeb5081d06909a058c951a75d307410184b1172adbcf1112607bcdcbe +size 185403 diff --git a/fastlane/metadata/android/uk/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/uk/images/sevenInchScreenshots/01 - dashboard.png index 7cd1e6ab3..a68ecb74e 100644 --- a/fastlane/metadata/android/uk/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/uk/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d37f34070738e25c95f05e2ca4d5ddb50e06061ee5ded40aba1f621ec7902afd -size 76110 +oid sha256:722185d9189716129834349d88e3326cfa3b315dece6694d60a871db80753f26 +size 81768 diff --git a/fastlane/metadata/android/uk/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/uk/images/sevenInchScreenshots/02 - workout detail.png index 22efc4107..264f8ad45 100644 --- a/fastlane/metadata/android/uk/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/uk/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f584895437dff22f17bef0a99aae7e226b1efd429fe91e727b264119ea5eed7b -size 46569 +oid sha256:a5f2acd078e32264d2fa4b5e20a05e734709a57f688a25a27e0eb23cb31b7582 +size 51565 diff --git a/fastlane/metadata/android/uk/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/uk/images/sevenInchScreenshots/03 - gym mode.png index 6b523ae7d..4625e651a 100644 --- a/fastlane/metadata/android/uk/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/uk/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:81515d8899dd334496dc3c9aef910ca43bc9e2d87553114d67920088685a889d -size 30388 +oid sha256:5dd0beaa7811559435a45e2722c4b977e133f10500427ac128df6930fff3cf80 +size 40367 diff --git a/fastlane/metadata/android/uk/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/uk/images/sevenInchScreenshots/04 - measurements.png index 401068d2b..41b165e67 100644 --- a/fastlane/metadata/android/uk/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/uk/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7c7574afb35d3cfb39834f6aa287aafa7e34e1440b53fbc352750db2fd305106 -size 23096 +oid sha256:54c0b034d1c35ea5d39e83ebbf5cfc551617444de866589e2fe69dea4c547eed +size 38929 diff --git a/fastlane/metadata/android/uk/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/uk/images/sevenInchScreenshots/05 - nutritional plan.png index 4f67797f3..62534644a 100644 --- a/fastlane/metadata/android/uk/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/uk/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:67627017948703096216d8b3d181146763b3c3ff2b792c5525f5b093f203f845 -size 40123 +oid sha256:5cc2ac4fe6ebcd076af966c70b83dae3f10b42541caaee019d41bdbcc1535602 +size 59781 diff --git a/fastlane/metadata/android/uk/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/uk/images/sevenInchScreenshots/06 - weight.png index 1a11c0161..0d2f147bd 100644 --- a/fastlane/metadata/android/uk/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/uk/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9eaef6590bf0a184f423180795882312ef50d77e40c021ee20902f928bfb966b -size 33474 +oid sha256:b571a154e0157b31e44a4c84b7c3405dccf10d13ad82d25b829a70a966ec722d +size 51764 diff --git a/fastlane/metadata/android/uk/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/uk/images/tenInchScreenshots/01 - dashboard.png index 252d9dcc0..b8ac99e8d 100644 --- a/fastlane/metadata/android/uk/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/uk/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:975ee20b331a9da33bb47a375c744f0d0510d217a85216a436404531eb1c7145 -size 215115 +oid sha256:9008abab1d8345971388009069ceeb0e91bcd75fe4d328352d92e3a6440df53b +size 258619 diff --git a/fastlane/metadata/android/uk/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/uk/images/tenInchScreenshots/02 - workout detail.png index 3dcab885b..1806b7d7b 100644 --- a/fastlane/metadata/android/uk/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/uk/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9d5bccbe801f7e3b3f753d5449c867132b92462b6f4f66c64883aad4ebac55f -size 120956 +oid sha256:2a69818bcee8559a636d75b0a2529bd65f31f23caa0d82b5ed2fe8857c6300e5 +size 129236 diff --git a/fastlane/metadata/android/uk/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/uk/images/tenInchScreenshots/03 - gym mode.png index f9f6ae8ca..466e9369a 100644 --- a/fastlane/metadata/android/uk/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/uk/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f36f68dbe60404f729ba0317d9f83e16216a76c61830bebd75d934880a46ba0c -size 91308 +oid sha256:619a323f554acaf638ac048d9d643f4929ba4cc84876d80d16d3bcb7cf208779 +size 93779 diff --git a/fastlane/metadata/android/uk/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/uk/images/tenInchScreenshots/04 - measurements.png index d9a40ef35..11b2ea8ca 100644 --- a/fastlane/metadata/android/uk/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/uk/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c4a3151d08dee51b3abb65dc8788d117abd6c4ea90b254a7fb3a294bfd3f9440 -size 58562 +oid sha256:b7c42216642a6522bcb757d6be287718e7c8191419629f8c1593d0aa75e84014 +size 93979 diff --git a/fastlane/metadata/android/uk/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/uk/images/tenInchScreenshots/05 - nutritional plan.png index b2545cc44..80738c563 100644 --- a/fastlane/metadata/android/uk/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/uk/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9162427916b3b3184d835330d0eba763e711cad80138f52fcf86bd3e3c952639 -size 114305 +oid sha256:15e052d5860166ae64b8436fdba00f7e97ba717fdbf4fe9736d81596da2bb552 +size 171303 diff --git a/fastlane/metadata/android/uk/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/uk/images/tenInchScreenshots/06 - weight.png index 248f6de8f..4aded60f5 100644 --- a/fastlane/metadata/android/uk/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/uk/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:328ec45459af40e22bcd8616ee7a2d0de48f3e7d33fb9fe98f2f9aba012c28a8 -size 103407 +oid sha256:c41b90defd0c0ee92d027bb60cd9aacaace7843d7ab59f0ee640864f167c860f +size 128206 diff --git a/fastlane/metadata/android/zh-CN/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/zh-CN/images/phoneScreenshots/01 - dashboard.png index 10d5a41a6..86d76de7f 100644 --- a/fastlane/metadata/android/zh-CN/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/zh-CN/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9873f3698ae6e9d9e2cf05cd9bff6328199c4086b6caba97668a22dc609d55a2 -size 190962 +oid sha256:b77aac928036f81e1028d4ceea70cfb8ad834f2d4ef5cc7a79efb8b17510413f +size 296876 diff --git a/fastlane/metadata/android/zh-CN/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/zh-CN/images/phoneScreenshots/02 - workout detail.png index 7e031ba81..f133f1370 100644 --- a/fastlane/metadata/android/zh-CN/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/zh-CN/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5601f1d8957c1c42b631556dc99366a65e4b662507ffb58c8a17ce536eef5f63 -size 208248 +oid sha256:840a416229f50a947a0816c9b159ed425cd348aab19c3c42dd83917a1f6257a9 +size 231503 diff --git a/fastlane/metadata/android/zh-CN/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/zh-CN/images/phoneScreenshots/03 - gym mode.png index c266e5826..593bc22b3 100644 --- a/fastlane/metadata/android/zh-CN/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/zh-CN/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:902ae9b3f86f73d3c68a125805dc9c87621d847d3277e18169f4e6f7e2ec3e0c -size 165541 +oid sha256:2828926597aa46d00c4ebb3741405906142ef4f83de5883e8371f7ec85a83373 +size 165737 diff --git a/fastlane/metadata/android/zh-CN/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/zh-CN/images/phoneScreenshots/04 - measurements.png index 12d1a2019..e730af5f4 100644 --- a/fastlane/metadata/android/zh-CN/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/zh-CN/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d7f593d7d3ca96a16fb266efdddcf75e918926660509015c0b69580558f22225 -size 85209 +oid sha256:352d43925024cabf28e34e27dec8e2fbae8d5c7779a3f83544c4ecb314c03533 +size 139888 diff --git a/fastlane/metadata/android/zh-CN/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/zh-CN/images/phoneScreenshots/05 - nutritional plan.png index 036b6c22c..dbfa71927 100644 --- a/fastlane/metadata/android/zh-CN/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/zh-CN/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dde85a6361f149c142b1fd440af3bd84744878b1ffe8f34a0752aa20e45721d2 -size 205950 +oid sha256:44e922660be63b8c405aad619f508019625ad9d5353354173be7796480867db3 +size 204090 diff --git a/fastlane/metadata/android/zh-CN/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/zh-CN/images/phoneScreenshots/06 - weight.png index efd6d004a..096be74fc 100644 --- a/fastlane/metadata/android/zh-CN/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/zh-CN/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6f835389717ad5279c31a9045c1cd8e609da311a7494a38263a758063e2e3544 -size 198294 +oid sha256:7132e9605809a38f191e3e9e3307360079eaeb7695e4debd0acdc33daf84194b +size 208602 diff --git a/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/01 - dashboard.png index f8b8eb2d2..46fbddbc0 100644 --- a/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fd40054017b38f02b07d6575a0dadbab23c05df4b19993a7e0944923e4ce8f96 -size 69645 +oid sha256:8a3cc41ea5677c035eeeedaf6110d069fdb956a3b1b719c878a00ece63b6ac91 +size 80433 diff --git a/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/02 - workout detail.png index e8e969783..c42c3b0bc 100644 --- a/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c08c7571b4e745d91f05f69ae85e65a111c3f1a70eee2fd990376f664d21ca74 -size 47841 +oid sha256:eb4f9e244bb1206369872735f6e04b1df325c55c0f1a9b20c1e81d3ae4a75742 +size 52457 diff --git a/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/03 - gym mode.png index 1cc227a9c..2f0eb886b 100644 --- a/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e9244d627a14f8622fbff4d4a3ee5a5071507180a5a3426369af043197bd2bff -size 32732 +oid sha256:53c2e14873af82c007a5ad54eb49b0efe9b6868c6c09e12547f0d381924c9f49 +size 43379 diff --git a/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/04 - measurements.png index c1b26a6c0..aad54b7fd 100644 --- a/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e62cde3c6735533c7eee1d6927a3ed82e0db3c1e7f8feaf0a5cfb5f0e8125213 -size 21888 +oid sha256:eadcad197c0142608e7c6963b4bed8caf872098d2cfda7d37d4ceb5d750a9e76 +size 37059 diff --git a/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/05 - nutritional plan.png index 51b47ff65..9e58a9c5e 100644 --- a/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5708fe9e94311c3c250bff4ed48393f9a1a40fef7e0ffd08b49daacd50dfb7ec -size 43542 +oid sha256:7cdc304ba7deba9be0b1f663217ee3759bfff9a709453b6e020321ef7ed7509e +size 70531 diff --git a/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/06 - weight.png index 73ea6c2de..bce8b3503 100644 --- a/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/zh-CN/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2c64a9f93c9205f3d420c4fd19af4378d9cea0effac92a6b949d21142896e547 -size 42443 +oid sha256:576564780277d97e2b51923a26bce65027b0b78548318626d30b1b1f455c3455 +size 63477 diff --git a/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/01 - dashboard.png index 1a0259d48..9859b1d41 100644 --- a/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:03a8c7ac73d88b320beb14a253a6d9f045fbc824385c36959ee1ca8bb425118c -size 192291 +oid sha256:2626f7a09ab5df2ec15c1b984254aaa8b0b9fcec4dfa022bdeffc5a715e1430b +size 237664 diff --git a/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/02 - workout detail.png index 0b9097b48..687b0a904 100644 --- a/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4364cabe9afb72a2d0cfd6a923a0a5e8ff4298812d51a7645e0d7338a5f6d745 -size 122849 +oid sha256:0226981de62a56f1037c30fb7ba1db653c43e3232a26edab81a569f379becc15 +size 130899 diff --git a/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/03 - gym mode.png index c902bef87..31bd1bc6f 100644 --- a/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1a9ab27fed4e12e618930cf49e64582b535cd212c3efe24e0266c7188ea22ed1 -size 97464 +oid sha256:3f897f06e55bb2e5c6046e38f6d3451926817f404db4872fc6546fdc995c2e26 +size 97275 diff --git a/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/04 - measurements.png index 1cc13880a..c8f14b8d0 100644 --- a/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e76ab889c770b68d47fd8b757d9badebce2ba8e58f299ce5869cc4f6d103fcaf -size 57023 +oid sha256:5a3e0a4cbb2f9026d9f624627c9085d870c994b546117947e7b84c91e495491b +size 92296 diff --git a/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/05 - nutritional plan.png index 625dd47c9..d4b84cfd3 100644 --- a/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9f57f4d6a295dfc362e84e0c3841bc0fd5ca6647feebc43aa9914793545ad48 -size 121806 +oid sha256:ee445ae054c3100186572f1846a8d5e420571358041888962cabc1a53085f19e +size 197228 diff --git a/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/06 - weight.png index 620ba84ce..3ab3a6e66 100644 --- a/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/zh-CN/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2cfe252391551b0f12497b8e1c7bb0d5ff9d1a1ce03b9fc9b50e8431696a7ca4 -size 121815 +oid sha256:7284cb602de8128200cb04545d3a80f43a43bf7a170d22e24690e19ec2515f43 +size 148293 diff --git a/fastlane/metadata/android/zh-TW/images/phoneScreenshots/01 - dashboard.png b/fastlane/metadata/android/zh-TW/images/phoneScreenshots/01 - dashboard.png index f96f660ad..762968612 100644 --- a/fastlane/metadata/android/zh-TW/images/phoneScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/zh-TW/images/phoneScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7577d23791ed951fa8d9339c38369d02e43f56e80dc6848c4dbe20c49a0b91c1 -size 189823 +oid sha256:8ff304da2e2f38450b5407a2d291e2bcad2997512a2f2410837328ab2431f11a +size 296740 diff --git a/fastlane/metadata/android/zh-TW/images/phoneScreenshots/02 - workout detail.png b/fastlane/metadata/android/zh-TW/images/phoneScreenshots/02 - workout detail.png index 7e031ba81..f133f1370 100644 --- a/fastlane/metadata/android/zh-TW/images/phoneScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/zh-TW/images/phoneScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5601f1d8957c1c42b631556dc99366a65e4b662507ffb58c8a17ce536eef5f63 -size 208248 +oid sha256:840a416229f50a947a0816c9b159ed425cd348aab19c3c42dd83917a1f6257a9 +size 231503 diff --git a/fastlane/metadata/android/zh-TW/images/phoneScreenshots/03 - gym mode.png b/fastlane/metadata/android/zh-TW/images/phoneScreenshots/03 - gym mode.png index c266e5826..593bc22b3 100644 --- a/fastlane/metadata/android/zh-TW/images/phoneScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/zh-TW/images/phoneScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:902ae9b3f86f73d3c68a125805dc9c87621d847d3277e18169f4e6f7e2ec3e0c -size 165541 +oid sha256:2828926597aa46d00c4ebb3741405906142ef4f83de5883e8371f7ec85a83373 +size 165737 diff --git a/fastlane/metadata/android/zh-TW/images/phoneScreenshots/04 - measurements.png b/fastlane/metadata/android/zh-TW/images/phoneScreenshots/04 - measurements.png index 12d1a2019..e730af5f4 100644 --- a/fastlane/metadata/android/zh-TW/images/phoneScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/zh-TW/images/phoneScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d7f593d7d3ca96a16fb266efdddcf75e918926660509015c0b69580558f22225 -size 85209 +oid sha256:352d43925024cabf28e34e27dec8e2fbae8d5c7779a3f83544c4ecb314c03533 +size 139888 diff --git a/fastlane/metadata/android/zh-TW/images/phoneScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/zh-TW/images/phoneScreenshots/05 - nutritional plan.png index d6129460f..2bac53edf 100644 --- a/fastlane/metadata/android/zh-TW/images/phoneScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/zh-TW/images/phoneScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d343b0e99809723239476f4f99574c2020410367465fc89c440f68cc2e078cf4 -size 206418 +oid sha256:36d12ff6f01926a6ef321b25103887675376dd33d09e27162e5650bc444ee858 +size 202515 diff --git a/fastlane/metadata/android/zh-TW/images/phoneScreenshots/06 - weight.png b/fastlane/metadata/android/zh-TW/images/phoneScreenshots/06 - weight.png index efd6d004a..096be74fc 100644 --- a/fastlane/metadata/android/zh-TW/images/phoneScreenshots/06 - weight.png +++ b/fastlane/metadata/android/zh-TW/images/phoneScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6f835389717ad5279c31a9045c1cd8e609da311a7494a38263a758063e2e3544 -size 198294 +oid sha256:7132e9605809a38f191e3e9e3307360079eaeb7695e4debd0acdc33daf84194b +size 208602 diff --git a/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/01 - dashboard.png index da260acc5..1539bbd4d 100644 --- a/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:49612ad5b0d734568b32ba1bf1616568895e1e90fc8a59703e71bf123f7c55ec -size 70047 +oid sha256:6e1419e5e1c2f97cd7f69187a71342a56667bd221770d406e9bb412c83e3d61a +size 80556 diff --git a/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/02 - workout detail.png index e8e969783..c42c3b0bc 100644 --- a/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c08c7571b4e745d91f05f69ae85e65a111c3f1a70eee2fd990376f664d21ca74 -size 47841 +oid sha256:eb4f9e244bb1206369872735f6e04b1df325c55c0f1a9b20c1e81d3ae4a75742 +size 52457 diff --git a/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/03 - gym mode.png index 1cc227a9c..2f0eb886b 100644 --- a/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e9244d627a14f8622fbff4d4a3ee5a5071507180a5a3426369af043197bd2bff -size 32732 +oid sha256:53c2e14873af82c007a5ad54eb49b0efe9b6868c6c09e12547f0d381924c9f49 +size 43379 diff --git a/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/04 - measurements.png index c1b26a6c0..aad54b7fd 100644 --- a/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e62cde3c6735533c7eee1d6927a3ed82e0db3c1e7f8feaf0a5cfb5f0e8125213 -size 21888 +oid sha256:eadcad197c0142608e7c6963b4bed8caf872098d2cfda7d37d4ceb5d750a9e76 +size 37059 diff --git a/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/05 - nutritional plan.png index fd213332e..a5dc7c932 100644 --- a/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:954c07a21150020a56db6e81cbd8813cb7ba99e6c320faf6691587d99a376aa0 -size 43505 +oid sha256:1342f66fc7afbd9a7cbb6258d4329ae711aa6c6206c0558eae60eb3e4e571b43 +size 70083 diff --git a/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/06 - weight.png b/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/06 - weight.png index 73ea6c2de..bce8b3503 100644 --- a/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/zh-TW/images/sevenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2c64a9f93c9205f3d420c4fd19af4378d9cea0effac92a6b949d21142896e547 -size 42443 +oid sha256:576564780277d97e2b51923a26bce65027b0b78548318626d30b1b1f455c3455 +size 63477 diff --git a/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/01 - dashboard.png b/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/01 - dashboard.png index 9334ff1e7..4e6a7398a 100644 --- a/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/01 - dashboard.png +++ b/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3375fbcfac3c9b32f028f82026ba880bef739ad4be3475f94829abc1945c3a19 -size 192120 +oid sha256:8174ffd250bfd26c875f1dadeeec1899a36f901465e4c75cacd1364c782a9782 +size 239119 diff --git a/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/02 - workout detail.png b/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/02 - workout detail.png index 0b9097b48..687b0a904 100644 --- a/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/02 - workout detail.png +++ b/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4364cabe9afb72a2d0cfd6a923a0a5e8ff4298812d51a7645e0d7338a5f6d745 -size 122849 +oid sha256:0226981de62a56f1037c30fb7ba1db653c43e3232a26edab81a569f379becc15 +size 130899 diff --git a/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/03 - gym mode.png b/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/03 - gym mode.png index c902bef87..31bd1bc6f 100644 --- a/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/03 - gym mode.png +++ b/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1a9ab27fed4e12e618930cf49e64582b535cd212c3efe24e0266c7188ea22ed1 -size 97464 +oid sha256:3f897f06e55bb2e5c6046e38f6d3451926817f404db4872fc6546fdc995c2e26 +size 97275 diff --git a/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/04 - measurements.png b/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/04 - measurements.png index 1cc13880a..c8f14b8d0 100644 --- a/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/04 - measurements.png +++ b/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e76ab889c770b68d47fd8b757d9badebce2ba8e58f299ce5869cc4f6d103fcaf -size 57023 +oid sha256:5a3e0a4cbb2f9026d9f624627c9085d870c994b546117947e7b84c91e495491b +size 92296 diff --git a/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/05 - nutritional plan.png b/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/05 - nutritional plan.png index 8b3107185..8ab74d5ce 100644 --- a/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/05 - nutritional plan.png +++ b/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:70095687f7803b74f81f1321a9814fae4dd5b60916e0fc14dfcac80297bcf824 -size 122654 +oid sha256:85510682925485f4185f8adc007d0ed7e28ba0ae0f02c7363a4c6417c29eed6b +size 196247 diff --git a/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/06 - weight.png b/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/06 - weight.png index 620ba84ce..3ab3a6e66 100644 --- a/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/06 - weight.png +++ b/fastlane/metadata/android/zh-TW/images/tenInchScreenshots/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2cfe252391551b0f12497b8e1c7bb0d5ff9d1a1ce03b9fc9b50e8431696a7ca4 -size 121815 +oid sha256:7284cb602de8128200cb04545d3a80f43a43bf7a170d22e24690e19ec2515f43 +size 148293 diff --git a/fastlane/metadata/ios/ar/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/ar/images/iPhone 6.9/01 - dashboard.png index 89bf25691..21b33aa13 100644 --- a/fastlane/metadata/ios/ar/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/ar/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6e410ce8ab36b4ac6b6408c3658de535bbc27ee0083281f9cc67802570e89a38 -size 213462 +oid sha256:1832c731520c14d0a5130c0749d5316fb38d741330e2eea4d92ba896bc9fcce9 +size 482975 diff --git a/fastlane/metadata/ios/ar/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/ar/images/iPhone 6.9/02 - workout detail.png index 48c7a26e7..e232ca2ca 100644 --- a/fastlane/metadata/ios/ar/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/ar/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a228f0d419e009e0c9c17dad743a5751d1cc28659f75a4f0caa9efc26342eff4 -size 207178 +oid sha256:5e7928231d5795c277b61b77865e0da958c090d6cc3c462ad5073f4ae2e326e5 +size 373628 diff --git a/fastlane/metadata/ios/ar/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/ar/images/iPhone 6.9/03 - gym mode.png index e329fbcdb..a1018c8cc 100644 --- a/fastlane/metadata/ios/ar/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/ar/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3b97b51234925b34cb29c94c9608337a161aa89462e24d8081574a5b2c5f4387 -size 199388 +oid sha256:ac46d5a1b7a4eb41d8d3ec56e623369f791e012966ca714c48d5ad4d6f55da1d +size 369069 diff --git a/fastlane/metadata/ios/ar/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/ar/images/iPhone 6.9/04 - measurements.png index 9f9f7d042..025232278 100644 --- a/fastlane/metadata/ios/ar/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/ar/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:524e620d636a2ff00524c35fbf396c928c926247081673786fe9aed3c461605d -size 142919 +oid sha256:97e2338a335f67bba82013209f022cbcb785c5a47a8bfb4d94025220a2ec26de +size 407557 diff --git a/fastlane/metadata/ios/ar/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/ar/images/iPhone 6.9/05 - nutritional plan.png index 10e0c9868..80b6d3e83 100644 --- a/fastlane/metadata/ios/ar/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/ar/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f2f79a062a23b16f51afa6bf6586427b1fcfef065321a4ff2b45ec009fd5b8c1 -size 218016 +oid sha256:327b260dc3ae2903d44cc3d7ada4d92d12331f13ecc035d514a5317b8d5ac059 +size 372930 diff --git a/fastlane/metadata/ios/ar/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/ar/images/iPhone 6.9/06 - weight.png index de6660d72..1d898ded7 100644 --- a/fastlane/metadata/ios/ar/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/ar/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6ff222c08c42e325b1fb6e402f19ed66146d9ad124b9b5e72b6fa5149ae19a97 -size 219047 +oid sha256:13883d31dd1eed19aa936127e77a3321946f73b18aeec910ff7bc6e9474be2c3 +size 386603 diff --git a/fastlane/metadata/ios/ca/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/ca/images/iPhone 6.9/01 - dashboard.png index ab04ad725..60874d17d 100644 --- a/fastlane/metadata/ios/ca/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/ca/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a8aed2bca9992964d12b8e940eca1760bcb0c3203da24efd17b9a5749bb17557 -size 222486 +oid sha256:9792d62c9f3bae715fa46add7429cc247ffee88e40bf962f0683c22e8656ff7f +size 493202 diff --git a/fastlane/metadata/ios/ca/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/ca/images/iPhone 6.9/02 - workout detail.png index 7cb596906..df6437b97 100644 --- a/fastlane/metadata/ios/ca/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/ca/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:47f96d137ecb5d36131eb40c0848fce018ec722e5e797fd780930468dc97ac0f -size 207759 +oid sha256:d67e59a562a0082e11162a1b640840b4cffc1282272f98a495f7110ad2c562a2 +size 376183 diff --git a/fastlane/metadata/ios/ca/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/ca/images/iPhone 6.9/03 - gym mode.png index e41a9340b..f93e3ca1f 100644 --- a/fastlane/metadata/ios/ca/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/ca/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:869392c168c669e7656c9fc3cf596d7eb6eecc89681fb4a4ae381b65020fb5c2 -size 191725 +oid sha256:50f04db635de6f744fc052b1cfdc1dd8115a674c94879aff490baef6ebff1df4 +size 356639 diff --git a/fastlane/metadata/ios/ca/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/ca/images/iPhone 6.9/04 - measurements.png index 5a3e9f564..0ba3664bf 100644 --- a/fastlane/metadata/ios/ca/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/ca/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1244635be2a66bba0a3851ec6ed04defa8d827a2a42db7cae2058eac8157d9a5 -size 149463 +oid sha256:1af23accc2dc9c3f1d69a3d2e9dfaf2274f2928583f7b814f6ad53dc85809a1c +size 418705 diff --git a/fastlane/metadata/ios/ca/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/ca/images/iPhone 6.9/05 - nutritional plan.png index 695e4de0d..adccb8771 100644 --- a/fastlane/metadata/ios/ca/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/ca/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d56c8bff3b2e0f6340683e10e01b853f549740bce07ddd6861ba492c058968b6 -size 217268 +oid sha256:e1ca4fcafe50bacef16ea83b4034ac432e260aebd528dc2c8398c9d2288422da +size 379587 diff --git a/fastlane/metadata/ios/ca/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/ca/images/iPhone 6.9/06 - weight.png index db66ee509..a7368cf99 100644 --- a/fastlane/metadata/ios/ca/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/ca/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:733eb37ccbd5fd588f3291a00fe8b262f34ae9c9265bc4fb8dff77eac588e966 -size 227538 +oid sha256:f838857b27866da8f32e11ea3d0af1e3b5e55506c34f2370d5fd54e982a3a631 +size 382774 diff --git a/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/01 - dashboard.png index 2618c53cc..2c43b44e3 100644 --- a/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:947d1ac3fc7289570f9032910bdf14a2f2ca7de47358a7b3b9036e8a9f38e355 -size 225464 +oid sha256:b4f4729e017e3e16e28601e24b24273115dc39371029121d0d721891109c6a7c +size 485222 diff --git a/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/02 - workout detail.png index 7cb596906..df6437b97 100644 --- a/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:47f96d137ecb5d36131eb40c0848fce018ec722e5e797fd780930468dc97ac0f -size 207759 +oid sha256:d67e59a562a0082e11162a1b640840b4cffc1282272f98a495f7110ad2c562a2 +size 376183 diff --git a/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/03 - gym mode.png index 46300cb6f..255c276a9 100644 --- a/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6ef5c8fe31be93c11f76efd6b3cb795f5f5db6acc289ab3146b8ae060f7bc87b -size 193462 +oid sha256:75b5b3c66d32a4f8ce4cf75000aaf42478bddbe3aa8296915612b8c9894c2cfc +size 359493 diff --git a/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/04 - measurements.png index 4b361b6af..ab1fefbd0 100644 --- a/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3f7b8612952f106406c2022dd786e47e0a4dbd3a01602e64a3464f9affe3c8e6 -size 148583 +oid sha256:367c83afd33abae71af86570f3a4f369509e14f1ad84bc02ec1a5f1f34148519 +size 420891 diff --git a/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/05 - nutritional plan.png index 510758a31..094aa02a9 100644 --- a/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3767c67281716cfd0506529469d2c5015a282dcf521e68292567552c801e0303 -size 217143 +oid sha256:3de8a317c23fe36cfbe18211be93fb27ef1f058c70e390135b597e05ee778e26 +size 379186 diff --git a/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/06 - weight.png index 6d41b16e4..b200c985e 100644 --- a/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/cs-CZ/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3acb867c0a9b47982159d8a0a6e93145e6b8bf5d16925c5584d88a656b7c5aaf -size 227028 +oid sha256:f145013190730def0b6a56d0d0b63e6233b313384606ed5fdc407dc96acae0fa +size 381961 diff --git a/fastlane/metadata/ios/de-DE/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/de-DE/images/iPhone 6.9/01 - dashboard.png index c8fb09587..82bb9ed5a 100644 --- a/fastlane/metadata/ios/de-DE/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/de-DE/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d643b0a5f843d3ceb469641080bdb0049202cc7055663d8a17b9397f4d6380cf -size 223245 +oid sha256:b2d41bfe1c5882a4d32bafc29afbe4384f28fd49dee3655bef07ff012a21f726 +size 491554 diff --git a/fastlane/metadata/ios/de-DE/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/de-DE/images/iPhone 6.9/02 - workout detail.png index 53a1690e5..14788c8d9 100644 --- a/fastlane/metadata/ios/de-DE/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/de-DE/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6ffdc83ae1d22614b7235fa6446b797a80da3ae938c4fe79f94b337931693ae7 -size 206446 +oid sha256:940a1671d1b45c35cc18760426cf49627da034bd795981b0e2227b154baf3447 +size 374619 diff --git a/fastlane/metadata/ios/de-DE/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/de-DE/images/iPhone 6.9/03 - gym mode.png index 1eaac361e..766b36b49 100644 --- a/fastlane/metadata/ios/de-DE/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/de-DE/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:760869613be749b6866c6b676fc66366cb10ef4de638a71d5ec9f6b04d80bf04 -size 195023 +oid sha256:566af335ffda8c7ed79734e690426ab28ac661fc8ccb68a68d99dca2105e86c7 +size 365309 diff --git a/fastlane/metadata/ios/de-DE/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/de-DE/images/iPhone 6.9/04 - measurements.png index 8ad819cf4..5f048b485 100644 --- a/fastlane/metadata/ios/de-DE/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/de-DE/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e51c5f1e3b1489a13945b21ca33cde20219673476f5e33aa7566c16277be0f08 -size 148967 +oid sha256:da2271ee534af23c74526ab34c2b858eb9a76ab75c0195025b43a519e8e1ca26 +size 417321 diff --git a/fastlane/metadata/ios/de-DE/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/de-DE/images/iPhone 6.9/05 - nutritional plan.png index 2cff0e65a..0ddadfe44 100644 --- a/fastlane/metadata/ios/de-DE/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/de-DE/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c28f4fbf3741f2289bdfd5e7b74b39b87f32a7d8c9b48c24c46b2ba812cad7f6 -size 217237 +oid sha256:faca8e0dcb02cdcbc52df9cdb882606b37f88c04b53fe346873f32557b8a2b28 +size 378208 diff --git a/fastlane/metadata/ios/de-DE/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/de-DE/images/iPhone 6.9/06 - weight.png index 539a9c989..f1bace4b9 100644 --- a/fastlane/metadata/ios/de-DE/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/de-DE/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4063c9a108f5bda96f41aef775673fd7c26279485ac41f78d5fc22697d93cd9d -size 244462 +oid sha256:3e93c8111441800c91397426975c80c654114287b47df9a03425ce06a13a72aa +size 405431 diff --git a/fastlane/metadata/ios/el-GR/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/el-GR/images/iPhone 6.9/01 - dashboard.png index 44d5bae65..ef130bcae 100644 --- a/fastlane/metadata/ios/el-GR/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/el-GR/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9b6bc86ae94b512106df26e5c1b6647e510be3561f6f8780525e5f7424fc86ab -size 220190 +oid sha256:1e72ef13d0e39c118f45149c69b8ea706b9177b7e0b266f3c6e6c8ea6aa503cf +size 487697 diff --git a/fastlane/metadata/ios/el-GR/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/el-GR/images/iPhone 6.9/02 - workout detail.png index 7ec809016..afe9b0dfe 100644 --- a/fastlane/metadata/ios/el-GR/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/el-GR/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:45e728e29004d4a7f3df8572ef6e0b6d93a3fd1233da058217d2593a61e3ce9a -size 215178 +oid sha256:1c779a9c9e6f20e3aa790f310df57999c8f8a1ccc452042f344e64e6a37ad8dc +size 385387 diff --git a/fastlane/metadata/ios/el-GR/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/el-GR/images/iPhone 6.9/03 - gym mode.png index 4434e1914..7927f2860 100644 --- a/fastlane/metadata/ios/el-GR/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/el-GR/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:41ca9707d23f1c8af80dd9d8f182fc3c3fdd2c5768e1829077e3c844fddf8315 -size 194981 +oid sha256:78dc218f3d21058ba519a8fa42d18bca2430b72841c7a6546351f762c6ffae8f +size 359992 diff --git a/fastlane/metadata/ios/el-GR/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/el-GR/images/iPhone 6.9/04 - measurements.png index 6f27a5c95..87ad51e46 100644 --- a/fastlane/metadata/ios/el-GR/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/el-GR/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:542cf6f6a82a4e2dff1faa8fed1f67d30d4fa66f24e41bde2f973c74d32c69ea -size 149145 +oid sha256:e662ef82badd5fcd133b719f368f2cba1c73c938869a0475e0bc0b51796b9504 +size 417222 diff --git a/fastlane/metadata/ios/el-GR/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/el-GR/images/iPhone 6.9/05 - nutritional plan.png index 1418d0f83..a9baf1a23 100644 --- a/fastlane/metadata/ios/el-GR/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/el-GR/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e1aaaf8f9f8837b03c3b407eb8c5ffca6d08f526349cc919ca3830acef24b945 -size 217147 +oid sha256:3d17d87012a9decf33b374d8a6ffa063650252f575c45feecdf5dd4c7a83f547 +size 377292 diff --git a/fastlane/metadata/ios/el-GR/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/el-GR/images/iPhone 6.9/06 - weight.png index 1a63e4ce8..f3ef8f067 100644 --- a/fastlane/metadata/ios/el-GR/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/el-GR/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:191a9812ef8317be0c5cbad651ad99709a7df9efb392a712d2561cd69098e939 -size 234613 +oid sha256:7ed89195860ac2278cac3f5cca58f34eb8d8d5ba2fa7c3b9bc31ca3ca30d4dff +size 391737 diff --git a/fastlane/metadata/ios/en-US/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/en-US/images/iPhone 6.9/01 - dashboard.png index c94cb5666..6fb80b988 100644 --- a/fastlane/metadata/ios/en-US/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/en-US/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:74a6879303b00cccec7a13b178aef9d94f5e3a91d772aadd6931cae4e8f95224 -size 219657 +oid sha256:913d1ec9a64cf4cf8256aa87555fe8ae7dc7066563bcbcca4d8164da42a04ca0 +size 488509 diff --git a/fastlane/metadata/ios/en-US/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/en-US/images/iPhone 6.9/02 - workout detail.png index 7cb596906..df6437b97 100644 --- a/fastlane/metadata/ios/en-US/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/en-US/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:47f96d137ecb5d36131eb40c0848fce018ec722e5e797fd780930468dc97ac0f -size 207759 +oid sha256:d67e59a562a0082e11162a1b640840b4cffc1282272f98a495f7110ad2c562a2 +size 376183 diff --git a/fastlane/metadata/ios/en-US/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/en-US/images/iPhone 6.9/03 - gym mode.png index 4790c00e1..dd17a73a2 100644 --- a/fastlane/metadata/ios/en-US/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/en-US/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:15efd4cf50392c7838fb2025d9634aa514a24eeabd6f351377dccd33937ba37a -size 193932 +oid sha256:6bb26466b7772dffb905205818388db122d3af01ff14d88a6f9d83c1f4fcd079 +size 358688 diff --git a/fastlane/metadata/ios/en-US/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/en-US/images/iPhone 6.9/04 - measurements.png index c6670ad0d..c03c3444c 100644 --- a/fastlane/metadata/ios/en-US/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/en-US/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5d1e239a39f9bdaf5742d9aba7d5e2c9be8fde64efcf307196abf763eeb2ea3f -size 148759 +oid sha256:fe0a0364b9dd1a5ac51177baf78b64eccff2366d33c67e1cec883f662f1fd4cd +size 417027 diff --git a/fastlane/metadata/ios/en-US/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/en-US/images/iPhone 6.9/05 - nutritional plan.png index d0ac9cb48..0d4eddd95 100644 --- a/fastlane/metadata/ios/en-US/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/en-US/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fb2cd837505b3fb2c712a494ab0604edb7b6d0a6c2297dcf719b0b9d0644e106 -size 219873 +oid sha256:d365075cfcd65690cf9fb245420babc4fdfddb50a2bb2f7b8e9533b6b9f6e0c0 +size 377085 diff --git a/fastlane/metadata/ios/en-US/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/en-US/images/iPhone 6.9/06 - weight.png index b0f5274c3..51a64dd7c 100644 --- a/fastlane/metadata/ios/en-US/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/en-US/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c63e07415bec822aafc486bbbedfea9737451ebbea70f3bf79633c35c7e645b7 -size 235527 +oid sha256:73562f3b18960f5be3e8503b159e00a38528e9b2f1eb4bcf334c0345c7b8fba0 +size 392374 diff --git a/fastlane/metadata/ios/es-ES/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/es-ES/images/iPhone 6.9/01 - dashboard.png index bdc0b6a70..5e7ad6601 100644 --- a/fastlane/metadata/ios/es-ES/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/es-ES/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4c4d8c22f50161e3eb323153ea63bb9e018653e465f1731db851fc9720f2b0a8 -size 221132 +oid sha256:1a559c20e8c941abc1cf253fe5346ebc23b0c1bda053f95cb5eeb81c0ebf4868 +size 488926 diff --git a/fastlane/metadata/ios/es-ES/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/es-ES/images/iPhone 6.9/02 - workout detail.png index 7cb596906..df6437b97 100644 --- a/fastlane/metadata/ios/es-ES/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/es-ES/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:47f96d137ecb5d36131eb40c0848fce018ec722e5e797fd780930468dc97ac0f -size 207759 +oid sha256:d67e59a562a0082e11162a1b640840b4cffc1282272f98a495f7110ad2c562a2 +size 376183 diff --git a/fastlane/metadata/ios/es-ES/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/es-ES/images/iPhone 6.9/03 - gym mode.png index 9ed71a23e..96e9aacc7 100644 --- a/fastlane/metadata/ios/es-ES/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/es-ES/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1445a14c4d730fd14a83c3047d4bac21f9067eeb534ec8e1ddc1edeed58b6d76 -size 195943 +oid sha256:20ea220525aab5cdb86fd408948362ab5aad6651556e6f12f4a1ea8173794a63 +size 369959 diff --git a/fastlane/metadata/ios/es-ES/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/es-ES/images/iPhone 6.9/04 - measurements.png index 5f7354df4..9c0fd135d 100644 --- a/fastlane/metadata/ios/es-ES/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/es-ES/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8488ae601fc08352446911f780f1607874fc3246158a4712c23a5129aa4e5ff8 -size 148617 +oid sha256:b3d24c0ed63f583c33b30b513c0e50236935f09de878b08a70c9916fa66615d2 +size 419459 diff --git a/fastlane/metadata/ios/es-ES/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/es-ES/images/iPhone 6.9/05 - nutritional plan.png index 154162bee..1ed038be2 100644 --- a/fastlane/metadata/ios/es-ES/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/es-ES/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:efe6461dc91297ca6c211f6d633094f4502c308d404b7713896dd1ab78f318e7 -size 219161 +oid sha256:b447ae386c3399bbc5c6942e18b42ebd8b87b20216370756d49e378ef0f4e5cd +size 379795 diff --git a/fastlane/metadata/ios/es-ES/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/es-ES/images/iPhone 6.9/06 - weight.png index 48ae11194..a68a8ff11 100644 --- a/fastlane/metadata/ios/es-ES/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/es-ES/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6a94cacb55f44149f0370af0dcb835e205ddae2d2d6afc79628eaf371beab0cc -size 234839 +oid sha256:c68a14e64fd7c6e0a6828a01f05459d006a416d3a85084cebd65b38855b43873 +size 392673 diff --git a/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/01 - dashboard.png index a0ae3d1bd..d9a79c74b 100644 --- a/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3195c3ccf414b76643241e298b0d95b18fdcb8cb6f7c1456033880012418a747 -size 214966 +oid sha256:202f41d86a5ecd014edba20b15de3ae1a08994088b3472ff8a67c37179f123f8 +size 477942 diff --git a/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/02 - workout detail.png index 85fbba972..f27a43433 100644 --- a/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d17a3a3df8f384856354a6783371169f973b1812a726e1c3abc10f3d1a978611 -size 207607 +oid sha256:f57b1eb93e8f22dfabfddbc96dcaed51d276e36a7d74e0b08396c7a76f4fce6e +size 373592 diff --git a/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/03 - gym mode.png index 709a7db15..5ea5bf2a4 100644 --- a/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0d49edf24fc8e2e3ed9482694711890e4efda19a7626ad562b2c6c66b8fd7cfb -size 194293 +oid sha256:d356608a2b24c618cdfca17e45b5e8d807e9e49305d4ca6d5acdb549e542df96 +size 354861 diff --git a/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/04 - measurements.png index e3a54f4f3..8cc7af136 100644 --- a/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:934db173855f9a704388ee1ba49995c855d1ac549e7e736fdfedd9225d8be8ea -size 145127 +oid sha256:44ab96300e998429c0dd80e8aa225070e5c5cdfa51775079440626527de6dfe9 +size 408050 diff --git a/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/05 - nutritional plan.png index 244b57864..ff4380774 100644 --- a/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e3f668eb5fdc5842512251cd0e7535d999a999216137301f0524b6fbec417efd -size 215186 +oid sha256:60dc01a54b5e48dd19252e7fe10389114d37b274366e51015c99a1032cb60896 +size 366487 diff --git a/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/06 - weight.png index f713cb863..e935cc500 100644 --- a/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/fa-IR/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:944f5e052d2fe0f87ef12cf51e5b6aff14679ac00b94a7477c1511350430dea2 -size 218052 +oid sha256:0b053350668fc6abe934b79938f25f8d0363d57c9221f159632ec6497b059828 +size 373407 diff --git a/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/01 - dashboard.png index f4c49554e..ffc9a1f61 100644 --- a/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5af0258b4749c4ef0c37a257c59243354edee81390357a5568ddd8431d688df1 -size 222273 +oid sha256:ce10ef75f3f2aadaf7bb78a278cc2fcc8b8e5776920b88af644556e312abb3eb +size 480020 diff --git a/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/02 - workout detail.png index ad8f74498..ecc8f674d 100644 --- a/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:70c1cbb5bd4dd7539efb5b1753fa65cb5812714d5542b2cc2995b96f7234b0ce -size 210225 +oid sha256:19c4cc16f6e5697258f3e6da6720ee3035c253835c34d59617b3950232a43b1e +size 378820 diff --git a/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/03 - gym mode.png index 509a07d18..8fda2b849 100644 --- a/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bd37d4d38f9d6307f54a76814bc856711c123d4eb5da22de7856b0bf0d3649ec -size 194789 +oid sha256:1eca9357bef39ba7aba1df93c25378a12b3d95be5a45309413e36955513b90c6 +size 357189 diff --git a/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/04 - measurements.png index 55396a4f0..b3a071b55 100644 --- a/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e126138066862aa7c58b6e6e02c88cd02ad7eb6f05bffd739213dbe5aecb8abb -size 149531 +oid sha256:68be75b8181f6668c36d87e0921fcf21abcec1f644568041c863c44fcf16ac7f +size 423154 diff --git a/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/05 - nutritional plan.png index d1f963c02..0715f5f59 100644 --- a/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ea8b4bd1670235ddd207d4f86fb30c4a81ae3bfc4207e94bbf15854aef23180d -size 220067 +oid sha256:afbbe4c97c22576daf117f82eb587b9c5263ef9b97b0c309ec7bad6664aa7154 +size 382006 diff --git a/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/06 - weight.png index bf1481e18..21e3c90f1 100644 --- a/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/fr-FR/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f2650fd7ef8cb4d0e4c378baf969fdf303b42a2344c112f4740edbac73fa5408 -size 240738 +oid sha256:43f5bd4929898ddc765729fd36598ca970fbb85bb306597924cb133132fc9140 +size 400515 diff --git a/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/01 - dashboard.png index 75185fb8c..d647b65ec 100644 --- a/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:73d2cd646d6046e3379df849e5ed2b871de36843b608de291f117b3ca6c8ff54 -size 212730 +oid sha256:0ac58ea1e985182a845133ad6168c31e60d666d97f9e8a5d3f8467fb8f580f4c +size 487874 diff --git a/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/02 - workout detail.png index 7cb596906..df6437b97 100644 --- a/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:47f96d137ecb5d36131eb40c0848fce018ec722e5e797fd780930468dc97ac0f -size 207759 +oid sha256:d67e59a562a0082e11162a1b640840b4cffc1282272f98a495f7110ad2c562a2 +size 376183 diff --git a/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/03 - gym mode.png index 2c691ed95..c40d6c785 100644 --- a/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:48ca2435c7838227ecd139ee9f909c4b95addd07fa8883ff36e0858191a90b2f -size 194395 +oid sha256:2f7c72022e351c59ce3ffff18df74c801bedc4066e20f524938aa7db195d2071 +size 359890 diff --git a/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/04 - measurements.png index e43fd7b3f..62ba620a9 100644 --- a/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e9c1bc6ca647693d9c8a0a71c0b11fb4c103dca3b16c99dfdc66d32d94a3f7bf -size 141498 +oid sha256:48dc6ac477954e29e9d8026690cb092a72092fd6f815f56a32638617fd4a80b2 +size 405707 diff --git a/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/05 - nutritional plan.png index 13fb8ec55..4b8b66d04 100644 --- a/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d3f539a8618002ddf530e8827cb044671357ad84524006415943c652d7e97a35 -size 222332 +oid sha256:8c2545c5d6ccbe65f9ff4ef6872bfa672047a0a1e4034afb037c6c79dee96fd3 +size 383818 diff --git a/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/06 - weight.png index e48d4905a..287ff11c7 100644 --- a/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/hi-IN/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4e40d76c051f9f20db0db1c65020bcb1341a0134beb853cc8cc33d05cc0abc1e -size 224516 +oid sha256:bc4294d5f3a141cf6f4deccc26f0d1b4c1ac1997069cea9a71acec0149a65dca +size 377618 diff --git a/fastlane/metadata/ios/hr/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/hr/images/iPhone 6.9/01 - dashboard.png index e46c6df0b..a8c178ef0 100644 --- a/fastlane/metadata/ios/hr/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/hr/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8a616cf26b3efc9761192f5a7ee0170434f1f273faa33a631af237c40b59e603 -size 224179 +oid sha256:a766b3d0bc26d655bb1b63c88cfad1c0c32455aab82310ae373725e131cd7e4c +size 492440 diff --git a/fastlane/metadata/ios/hr/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/hr/images/iPhone 6.9/02 - workout detail.png index 7cb596906..df6437b97 100644 --- a/fastlane/metadata/ios/hr/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/hr/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:47f96d137ecb5d36131eb40c0848fce018ec722e5e797fd780930468dc97ac0f -size 207759 +oid sha256:d67e59a562a0082e11162a1b640840b4cffc1282272f98a495f7110ad2c562a2 +size 376183 diff --git a/fastlane/metadata/ios/hr/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/hr/images/iPhone 6.9/03 - gym mode.png index 9c00c45de..126beab42 100644 --- a/fastlane/metadata/ios/hr/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/hr/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:68b85f5c5a40c80238ea9c9182e929f524304ceb59cfd2f1891f78c34e8fa5f1 -size 195150 +oid sha256:381b65c9cba322ba8968bacf0753b2ee116de465f02c16f677a15da2574f434d +size 365232 diff --git a/fastlane/metadata/ios/hr/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/hr/images/iPhone 6.9/04 - measurements.png index 4e1eae456..b53149e4a 100644 --- a/fastlane/metadata/ios/hr/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/hr/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:419b62b1635d31b689240037ed38ec76dad5a8fdd94d8cb6ce13adac31dca47c -size 148813 +oid sha256:db0b473835abb3527c372ed84f2d929ec5178d54225f0774104e6355661184c5 +size 418830 diff --git a/fastlane/metadata/ios/hr/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/hr/images/iPhone 6.9/05 - nutritional plan.png index 3abfaa21c..39cfb5c51 100644 --- a/fastlane/metadata/ios/hr/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/hr/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b630b846a3c4474e31dcff106d84be9964e86fe887bcc9a94c7bc4046d233c19 -size 219900 +oid sha256:35cf3f2d89083758a5bad2815baa7f15eab9fe941bbd6668b8955327ab7bf13d +size 379677 diff --git a/fastlane/metadata/ios/hr/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/hr/images/iPhone 6.9/06 - weight.png index be3bed53e..6393eb8aa 100644 --- a/fastlane/metadata/ios/hr/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/hr/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:12d0ec40f664648429f46c52ef0ddb2d9b9df75c22eb01197d94eab9b5f011b3 -size 238940 +oid sha256:bbf2ad6382411724f971c90b59640672a283b46c294ca82dc82aa59c7cc0b8fb +size 397780 diff --git a/fastlane/metadata/ios/it-IT/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/it-IT/images/iPhone 6.9/01 - dashboard.png index 63febad23..2287f1d24 100644 --- a/fastlane/metadata/ios/it-IT/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/it-IT/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:22eb4001241a90b7ab235e479c803137e02e47954b62e6c18a1b641fe960ca67 -size 222702 +oid sha256:8b28456dcee2be4730b705a9546f4a04a4eac024c5625ffc969057cd670f749c +size 485115 diff --git a/fastlane/metadata/ios/it-IT/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/it-IT/images/iPhone 6.9/02 - workout detail.png index ff5a6b9b0..e59086738 100644 --- a/fastlane/metadata/ios/it-IT/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/it-IT/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:96e3f2cc19b85344fcbd082bbdbab1552a254c6db8006a5ae0e90bd966f683d4 -size 217358 +oid sha256:4332b96e3768e3e49235014801f8798bc0cfcd44745741aa97711686bdb57d21 +size 390909 diff --git a/fastlane/metadata/ios/it-IT/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/it-IT/images/iPhone 6.9/03 - gym mode.png index 8275d314e..a331d9224 100644 --- a/fastlane/metadata/ios/it-IT/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/it-IT/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:268d046445b287a5b597e6f1c74eb147a35e9b2dfdf5a37879af34e940c3f53f -size 199059 +oid sha256:42993bd046cf51033a9c9fd734ed0bd6df0f3adceb9ebd7b5d895b074601b301 +size 371065 diff --git a/fastlane/metadata/ios/it-IT/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/it-IT/images/iPhone 6.9/04 - measurements.png index 8b382081f..a1e79d4f8 100644 --- a/fastlane/metadata/ios/it-IT/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/it-IT/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0a9b45745c1c142e9290b08e495ca1d748ba465f697e01e9e6175a10e86489c1 -size 149067 +oid sha256:f072aa3b2189da60d29f3395b0d139f8f8add1a7a5f22588749c23125158dcbd +size 424052 diff --git a/fastlane/metadata/ios/it-IT/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/it-IT/images/iPhone 6.9/05 - nutritional plan.png index c3b8263ef..51d871ac4 100644 --- a/fastlane/metadata/ios/it-IT/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/it-IT/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5b35363872d730232798436ac98b2b4ae407cfc9b74cc8077ef8aa62c2b1b5ee -size 216722 +oid sha256:81689839d68e29b35b24b6e5b105e7e6fe965e1d5e5cd611fbbb73a78c860e0d +size 376721 diff --git a/fastlane/metadata/ios/it-IT/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/it-IT/images/iPhone 6.9/06 - weight.png index b9d293f21..4ac4332a2 100644 --- a/fastlane/metadata/ios/it-IT/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/it-IT/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b4b5947a659d4af5f22b9c1900ca42d9e0eacf46930c7ceafce8ecbd63d7c545 -size 235990 +oid sha256:dff620d4d737f968cfe3e96d237b26a04ac25e9284498f7ea0d84fbec3d120d2 +size 399219 diff --git a/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/01 - dashboard.png index 8d11ed618..1c68e8195 100644 --- a/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f637cf6c16ebced81b5a98ca92d78423ac94eb3badad2561ad40f9859754a696 -size 204565 +oid sha256:ae1212097081e19a3f50095a42e91276302368e0a16f53e120470d7e6cede4a5 +size 452825 diff --git a/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/02 - workout detail.png index 85fbba972..f27a43433 100644 --- a/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d17a3a3df8f384856354a6783371169f973b1812a726e1c3abc10f3d1a978611 -size 207607 +oid sha256:f57b1eb93e8f22dfabfddbc96dcaed51d276e36a7d74e0b08396c7a76f4fce6e +size 373592 diff --git a/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/03 - gym mode.png index 0ea24df08..0aa73ae1b 100644 --- a/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fd90d4518ad8de9fb984912b2365b30b302cb33c79c73d3fbc7b1b6eb55a9605 -size 191463 +oid sha256:6e535613981fdebe4cd6c35b38a85aaa15d42261cee65ffa6a6f626d69264013 +size 350876 diff --git a/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/04 - measurements.png index 45215e3c4..e1753b6aa 100644 --- a/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:059e496929b50cc4bfbca35fc105215b13bbb41713aec5034cf91df62c553bc5 -size 137209 +oid sha256:51e3b09d99aed24e99af236ad291ed43791fee0a90146dbb33e4bdc30e59e342 +size 387237 diff --git a/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/05 - nutritional plan.png index 32db05986..7e954fc8a 100644 --- a/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d32f291ffd1a5afbfa173f12018007bbb45111dc1a380de15cd6e0ac815e7bd7 -size 207253 +oid sha256:7aab530e466eec7578210daa38e5337831ef9533e4321efbbf268c7c89153613 +size 358091 diff --git a/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/06 - weight.png index f59fb61e9..21c01d8c1 100644 --- a/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/iw-IL/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:045c98612b5461d355bb6cb9f7c4ec1cb8f086e138971c72b03c485cab2877b7 -size 215268 +oid sha256:85409e24d9c82bcf4c79847f16e6b0afe723b094012aad8327fb410c48eb140d +size 363953 diff --git a/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/01 - dashboard.png index d17cec609..f16ea9cdf 100644 --- a/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e8b74fffbe8671569d173ff90a8aa2af4dfb12253feeefa6741dcfa1f3644d79 -size 208242 +oid sha256:f9562060d5a026907371773cf7af4c9659767ddadc1350372ab474d00d213029 +size 472748 diff --git a/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/02 - workout detail.png index 7cb596906..df6437b97 100644 --- a/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:47f96d137ecb5d36131eb40c0848fce018ec722e5e797fd780930468dc97ac0f -size 207759 +oid sha256:d67e59a562a0082e11162a1b640840b4cffc1282272f98a495f7110ad2c562a2 +size 376183 diff --git a/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/03 - gym mode.png index ac3c269d4..265b3d303 100644 --- a/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c647bcb2dab6adb3a1394e3c34c72f6d5c417025c8ccd5527845e84bb5058790 -size 186975 +oid sha256:a08113af428bbe2066525deb1a92864b6732077d347afd5b5fe5f58b61d45cdf +size 348259 diff --git a/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/04 - measurements.png index 778ef3d4d..4dd68d6f5 100644 --- a/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:69b4423a794abad726092cd8c0116f2dd87c0beaba5ffa3fabecbe2ace4df15a -size 141833 +oid sha256:025099838c530ffb570232cd678f770fef10b346abd03f3cb55208a8c445d2da +size 406874 diff --git a/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/05 - nutritional plan.png index 21c503193..821d51d8d 100644 --- a/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a1d59c6c0ddf7863964f9d4f2e0fdb570c59121a7c1ed6daaa2c0730a3572610 -size 209815 +oid sha256:c8e717693478872dd1e4df072d0158c5a683dfbf10244ed2e97ca7b103b61a85 +size 365120 diff --git a/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/06 - weight.png index 4aa356368..7d389d5f7 100644 --- a/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/ko-KR/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4a6089d011f481864f85ca32239eb411934a9a0a35f78ae401d45ee6e8229733 -size 220866 +oid sha256:6de19d350fae7fa89769da4213f6f152b721167b3bebd5c6fd418ef7700e7509 +size 373853 diff --git a/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/01 - dashboard.png index fb16d00fc..0992e43ff 100644 --- a/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:23a3c9719f9b0c00e861e90dfd75239ff3b23dfb4d03e72f6b7ce3b8650d8ff4 -size 216917 +oid sha256:b48315f438fabf4e58f905c89110b0bc32496163a428f705eb49ad074fea19a7 +size 486682 diff --git a/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/02 - workout detail.png index 7cb596906..df6437b97 100644 --- a/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:47f96d137ecb5d36131eb40c0848fce018ec722e5e797fd780930468dc97ac0f -size 207759 +oid sha256:d67e59a562a0082e11162a1b640840b4cffc1282272f98a495f7110ad2c562a2 +size 376183 diff --git a/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/03 - gym mode.png index 4790c00e1..2b6c482fa 100644 --- a/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:15efd4cf50392c7838fb2025d9634aa514a24eeabd6f351377dccd33937ba37a -size 193932 +oid sha256:919c6cb8c10b0252a5863252d0b7e2ea3f3f5daa15f06792cb8f89fe88bdb73f +size 358321 diff --git a/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/04 - measurements.png index 873e5e7d1..f2d924db0 100644 --- a/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:39835ca2f9493d25f417f71d68bedbfe93c4e31570f9d8e4f05062624cba24d3 -size 148286 +oid sha256:96a020412bc1b8318f23aa8fd0ea5fb393718ae7aa72ff9b89352b6dcb2f3468 +size 414855 diff --git a/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/05 - nutritional plan.png index c8d8d5cb8..383bb0728 100644 --- a/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:03b8d21aa0a36a6c34427511b851903716228d28ed035755fad281b2cb7c3cfd -size 215619 +oid sha256:af499a4392552f30eeb3ed7abe91af733a4d9292287fbd2da431d5e4828ab2d9 +size 376553 diff --git a/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/06 - weight.png index 7e8a2eb76..eb762de40 100644 --- a/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/nb-NO/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1956109ce4f00474509a6f732de86d3f1ff04f300cc384e05f7fb4eb83d97e68 -size 228867 +oid sha256:3fe7a7e2809f257f7f77e93c4249274a563101b46de6ab8526db0adbbda339bd +size 383521 diff --git a/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/01 - dashboard.png index 77925a157..43d0e3395 100644 --- a/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b415216ed0213226417a1833b9261a18a44fb3c374c1cdb9dc84a3a34f5ea7d4 -size 226556 +oid sha256:f6679a30d8fb9ea488c71f7045ba261ba5853d8100e88d0224e21e87d942ee53 +size 485699 diff --git a/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/02 - workout detail.png index 7cb596906..df6437b97 100644 --- a/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:47f96d137ecb5d36131eb40c0848fce018ec722e5e797fd780930468dc97ac0f -size 207759 +oid sha256:d67e59a562a0082e11162a1b640840b4cffc1282272f98a495f7110ad2c562a2 +size 376183 diff --git a/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/03 - gym mode.png index 0a44e9f2e..8d60637be 100644 --- a/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:87cc601b09ab9fff95a2bf3da402766d30a58932af4ceb2073bdd47e0fb28fdb -size 196269 +oid sha256:143306c186f26849863c1e310593782f91f2108aa8578ceaf0d53ea8edade379 +size 370527 diff --git a/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/04 - measurements.png index 453ab4b7f..7bf091e1b 100644 --- a/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:16b38d42f01955db5feb3b4207e2325c604ab5358f108da7d75dea1626c00e59 -size 147064 +oid sha256:36f9102e6bda88b15cd101bf37fed514410283f9341e730f1a8796a45f224df8 +size 418489 diff --git a/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/05 - nutritional plan.png index 3af3b0268..bf831fa68 100644 --- a/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:97925e3bf864305149006ffee71fc413c1888ada5ed2a4c9d7d8a8474f6384c1 -size 219887 +oid sha256:283816968e36fd156a09d0a7e267ee85150395f44848a68bde85acc188314e25 +size 380141 diff --git a/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/06 - weight.png index b6c05e9ca..c47c880e1 100644 --- a/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/pl-PL/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:22995ca36bb7094d5b544ebfcd43f8c475cd7d579eef685a87abb4494d23bc53 -size 237013 +oid sha256:b824cb5cb111ee1ae851d2387a109392abd67b2e6df6046edd17262c1c86a9e0 +size 395320 diff --git a/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/01 - dashboard.png index a4151b9b5..efdeed0e0 100644 --- a/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c1533955172414f89cd4ddc04a7701d07111280c81b2f17c3616dbcefb52f5f4 -size 222777 +oid sha256:4683b4087823289a9a38b80f18cb7d804181dca9d8d827ce359a34b70543fe0f +size 492751 diff --git a/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/02 - workout detail.png index 5114ac1c2..7c6867f25 100644 --- a/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:aa960b87772df06f7f1d648c97e537226c6b10c96c1ca373f0288d1ae238f65d -size 212003 +oid sha256:5910dea5e8f73ce03cbd667763ca295768e9f1eed5c21dc3f6904f4d43375904 +size 381312 diff --git a/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/03 - gym mode.png index fc88d6bf5..3206f6eb2 100644 --- a/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5a58c1e7f68dccb835a46d36da9671e0662241420fc73fd4a265905972f80002 -size 195959 +oid sha256:1f4eb0455bff7328c9c88072dd13f1093f6829cad8ee59b180f1c28d4330d91e +size 356350 diff --git a/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/04 - measurements.png index f196d30fd..bc83b9704 100644 --- a/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7ea0c7cb7fb177ddbf8d2c9168e9181dc72f72bbb4542b91f18a681176a9e860 -size 149900 +oid sha256:8797750629100a3bb0aa5c897a3c1ae0f99bac5412d7fb00c126a11dc7f155fe +size 422016 diff --git a/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/05 - nutritional plan.png index 997f7de97..c94dc528b 100644 --- a/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d8fa718f5e5b123b67d7bc9f1fbe570007dcec4033cab9619bf2d08833be5c16 -size 220475 +oid sha256:59187b8cc2f09f3b1d4039921989257f9ac942adc02b0a4ba7f08aef86459ba1 +size 380218 diff --git a/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/06 - weight.png index f7efaedc5..93e95315e 100644 --- a/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/pt-BR/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f21b2009c040214c5ba3a58696969e553e1d6b9ce7e8397c120f611270e3f762 -size 231411 +oid sha256:91c1ebd0fd28726d21247849056e16acb19a7d81de17f307e0a59364715fdf7f +size 391939 diff --git a/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/01 - dashboard.png index 0d4879e4f..829ff3ea5 100644 --- a/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:40fcad9ba5cf8eb42143a2e91945f7a1c7801a04ab72529b996cc71bf8df627b -size 224028 +oid sha256:df07f1f199df42e2f96cfd2b45499bf805157c4419fac01dab1c92101b2ed131 +size 495892 diff --git a/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/02 - workout detail.png index 5114ac1c2..7c6867f25 100644 --- a/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:aa960b87772df06f7f1d648c97e537226c6b10c96c1ca373f0288d1ae238f65d -size 212003 +oid sha256:5910dea5e8f73ce03cbd667763ca295768e9f1eed5c21dc3f6904f4d43375904 +size 381312 diff --git a/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/03 - gym mode.png index fc88d6bf5..124ec068f 100644 --- a/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5a58c1e7f68dccb835a46d36da9671e0662241420fc73fd4a265905972f80002 -size 195959 +oid sha256:dc0fac6b31c9c4f56e5a35135ac75a6052a4f410c51b23e1943f3fcc0ffb75ee +size 394205 diff --git a/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/04 - measurements.png index 5581f6944..b00a55f63 100644 --- a/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:decf519ed848c247e4e7ae91186a239c054ffee1dd8bf7de165971d81f18d491 -size 151329 +oid sha256:0a460feec4f52845e28314ea9d5fefb7a7fd04de303ade0ac4e95d4d565fe94b +size 427209 diff --git a/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/05 - nutritional plan.png index fb7dce35e..c76690acc 100644 --- a/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c10b24f56fbddfeccfdfc3f40f5e34efb4a02a9407ee1df3ecec2a311d320678 -size 222562 +oid sha256:6cdb96d6e58d0c46b48443c0e159c7175b8c0786060cfd2e5b13d9a915ebe1df +size 386183 diff --git a/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/06 - weight.png index 6acb7e4ab..f5781686a 100644 --- a/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/pt-PT/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bcc4aaac6e8253362414eaba2892aab4e740c84e7e03dcb760c2347abfd8639b -size 233124 +oid sha256:d2ea8e5b1659889773e5cd416502526a6fcd2fd0b9a65fd48011c6628bd77b80 +size 393468 diff --git a/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/01 - dashboard.png index 36d21a4e0..7eef8033b 100644 --- a/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c51319d4e36a1fe397dbe63a9000ec73719a025143bfc6489a50942206f2c062 -size 222203 +oid sha256:34ae0a89bb07c1ee054e5fd431a3f3565555d9347df0caf7d9cd372590464f5a +size 482340 diff --git a/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/02 - workout detail.png index 7cb596906..df6437b97 100644 --- a/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:47f96d137ecb5d36131eb40c0848fce018ec722e5e797fd780930468dc97ac0f -size 207759 +oid sha256:d67e59a562a0082e11162a1b640840b4cffc1282272f98a495f7110ad2c562a2 +size 376183 diff --git a/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/03 - gym mode.png index f4f3f88d6..999ef1a14 100644 --- a/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c5b37130a5ba5f5b7fbccfba22e8a006584e2d5161230adf37ab037e530c7207 -size 190581 +oid sha256:25df1ba10a7e5e4cc1c68708d6eb5e2d4d945638d71b53aba55d88e5e801c082 +size 359469 diff --git a/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/04 - measurements.png index 02a563eb1..f39231da5 100644 --- a/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:959e77000c633e84bd121632a72bd2ca9898c6640152896970d6882ad76fcd30 -size 149300 +oid sha256:78dc24cb06188ac1d0eeef8d4e85618255b31a6a5262b318ef0b75d9e941e2d8 +size 423344 diff --git a/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/05 - nutritional plan.png index a2a5b7118..d339e2beb 100644 --- a/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:963746ee00245e63c7994ea911536b5eabfab4b29ae1462cdb73429f8eb7c7b6 -size 214943 +oid sha256:3db2b00f8cdb266d5c7653e96363ae47b49eb568b697bc1056d5890b56677902 +size 373278 diff --git a/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/06 - weight.png index 6c5c4ec01..beaeec550 100644 --- a/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/ru-RU/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:94d55b164351886b336b3595a8ac5dc9168fa3a1f901ceaf74be1909acf3a03c -size 228026 +oid sha256:b2fd908b0e8f04a65329844d94061d9a20e8681181b1c99673b921a663f7d74c +size 382428 diff --git a/fastlane/metadata/ios/sr/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/sr/images/iPhone 6.9/01 - dashboard.png index b89f4b564..43ec01261 100644 --- a/fastlane/metadata/ios/sr/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/sr/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:47d13ed73dd319fefee50bb979c29115ad7eb8733d861e73f7ceb1e87e5606a8 -size 220182 +oid sha256:3c5cc71211ce09c74de8541eb015f331ff8503c77663587d7474c8b73d4b5b8d +size 489585 diff --git a/fastlane/metadata/ios/sr/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/sr/images/iPhone 6.9/02 - workout detail.png index 7cb596906..df6437b97 100644 --- a/fastlane/metadata/ios/sr/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/sr/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:47f96d137ecb5d36131eb40c0848fce018ec722e5e797fd780930468dc97ac0f -size 207759 +oid sha256:d67e59a562a0082e11162a1b640840b4cffc1282272f98a495f7110ad2c562a2 +size 376183 diff --git a/fastlane/metadata/ios/sr/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/sr/images/iPhone 6.9/03 - gym mode.png index 4790c00e1..dd17a73a2 100644 --- a/fastlane/metadata/ios/sr/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/sr/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:15efd4cf50392c7838fb2025d9634aa514a24eeabd6f351377dccd33937ba37a -size 193932 +oid sha256:6bb26466b7772dffb905205818388db122d3af01ff14d88a6f9d83c1f4fcd079 +size 358688 diff --git a/fastlane/metadata/ios/sr/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/sr/images/iPhone 6.9/04 - measurements.png index c6670ad0d..c03c3444c 100644 --- a/fastlane/metadata/ios/sr/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/sr/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5d1e239a39f9bdaf5742d9aba7d5e2c9be8fde64efcf307196abf763eeb2ea3f -size 148759 +oid sha256:fe0a0364b9dd1a5ac51177baf78b64eccff2366d33c67e1cec883f662f1fd4cd +size 417027 diff --git a/fastlane/metadata/ios/sr/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/sr/images/iPhone 6.9/05 - nutritional plan.png index f8faf89e6..4da7e6735 100644 --- a/fastlane/metadata/ios/sr/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/sr/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:36f54171bfb543737ca722f4c2cdec48e88008b99f5b169f92f0cdfe74855baf -size 218578 +oid sha256:264b2a31d8e989cc2ea5c305a2bf66a07a447f4376a88f48858649ad6ebd727b +size 376082 diff --git a/fastlane/metadata/ios/sr/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/sr/images/iPhone 6.9/06 - weight.png index b0f5274c3..51a64dd7c 100644 --- a/fastlane/metadata/ios/sr/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/sr/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c63e07415bec822aafc486bbbedfea9737451ebbea70f3bf79633c35c7e645b7 -size 235527 +oid sha256:73562f3b18960f5be3e8503b159e00a38528e9b2f1eb4bcf334c0345c7b8fba0 +size 392374 diff --git a/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/01 - dashboard.png index 952abcbbf..9b31a7bb2 100644 --- a/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7f1950d1b3c92bf17ef02dafb161db932a2e541a1893c2877841b6eaf85e80ba -size 236979 +oid sha256:99f3d4260ecea0ee77e0294af7855503c2d2b1160972176347fb662369fef9be +size 492394 diff --git a/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/02 - workout detail.png index 7cb596906..df6437b97 100644 --- a/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:47f96d137ecb5d36131eb40c0848fce018ec722e5e797fd780930468dc97ac0f -size 207759 +oid sha256:d67e59a562a0082e11162a1b640840b4cffc1282272f98a495f7110ad2c562a2 +size 376183 diff --git a/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/03 - gym mode.png index 3e573e2b5..be9843be7 100644 --- a/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a381d141fcff5432b41ecb15aa25ac58c3bddac179ab277726b8a47c6485261c -size 205684 +oid sha256:9fa134ed6f8efb8fe6b481af45177f63272cc13ed1ea4ab9b9386fc12b9b2b82 +size 375129 diff --git a/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/04 - measurements.png index f91c8bd4d..58498d0ca 100644 --- a/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:eee1bff71bf774224f42e2f286a2f76a9be368323eaccfbc3eab10cd7cfba7a8 -size 156805 +oid sha256:285d7fad5d64aa09f254b85dd75485926c3f716f90fd2d3ec5f0d9c7f932d432 +size 436219 diff --git a/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/05 - nutritional plan.png index 77f7d3fdd..00398b950 100644 --- a/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a9ae2ca0edce4ecf5f396016b4ceb37b8824da8b90dbd758943bd10790189a9d -size 240751 +oid sha256:9bb7fec4c774611352d32df5344d51f14f8c390c8bdc3a7d32dece98a4adf5b8 +size 402367 diff --git a/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/06 - weight.png index 679c6ae98..1618346c3 100644 --- a/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/ta-IN/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6a05b0aba7fe0e4610ef17f9f72a8c69275f53cdbca9f22a52de03e7dbf514cc -size 260697 +oid sha256:1e7c3d1cee7574f39b432150fedd50d08122a56fa923bebdeeef54cae023d7ed +size 428130 diff --git a/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/01 - dashboard.png index 2f70697a6..b75a034e6 100644 --- a/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3eb6b0c5272a05e23c3e4c4f8ac1f28f6b87bb48cd60f6271f3eb8ab9dcf4988 -size 223625 +oid sha256:a7eda202f82ae5e2cb1dc3ddcfbf5ff646adc6960c72640485ce54ef4936c506 +size 485186 diff --git a/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/02 - workout detail.png index 6d2729548..ab930a990 100644 --- a/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:24d8f81b4978b842646b13a3eef80fcf5e9fc71b1ec0526af3469b3cddc2ce5c -size 207833 +oid sha256:97da684332926c965e7c589c98911e6a660ba2ea45bdab5c3d7ce2740380a07a +size 376195 diff --git a/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/03 - gym mode.png index 16f73d3fb..9758fcb62 100644 --- a/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:73a191ceac26029bd23ad10fa7ee95f49fabd0b4700d7202b4236c1d7a5ab64f -size 194525 +oid sha256:e3e32c1aa87c1d0b46f0ac70d389c64e8fad8baab7f22b70e1b2bbd2fc24eafc +size 359702 diff --git a/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/04 - measurements.png index 3dcd088f5..4124422a7 100644 --- a/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b801d69b434e269bb2736d2c88a93720aa2cad10946efc223bbef82611b17542 -size 147291 +oid sha256:4298aac4d35a52110720b03dc1b6a1a22ac8ff2d4215f4ed379ff283055a6d52 +size 414845 diff --git a/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/05 - nutritional plan.png index 0159da99b..2a681fa38 100644 --- a/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8bcfe1296d7ad475769b5a25f0d0603b890a1e09f5a3e02645554dc4d977a069 -size 220412 +oid sha256:e181eb514822ff597823bfaf05dc8b63336cef5fe9a58fb7be2b22a16f27424f +size 382461 diff --git a/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/06 - weight.png index 572a214d9..662ee9f1d 100644 --- a/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/tr-TR/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b7599bc45d30b109bf2e396f23f7076ebaf35a5269f691c24aca76da119bd806 -size 234084 +oid sha256:5413876ad19c00b6c95c5d0fac1307e9cc9716a0256bd14f89ec80737e15bb1f +size 391636 diff --git a/fastlane/metadata/ios/uk/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/uk/images/iPhone 6.9/01 - dashboard.png index 3dc1f5a61..2b3c7626f 100644 --- a/fastlane/metadata/ios/uk/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/uk/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0023c43dbc4d31b4097da3852c8d765b5beb25a548aa1e4719114ca751adc25e -size 220589 +oid sha256:c5e88e5a3a99eec01c9c79a8a9b913160101f92537a280f59c51fa0c6297dd6d +size 493677 diff --git a/fastlane/metadata/ios/uk/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/uk/images/iPhone 6.9/02 - workout detail.png index 7cb596906..df6437b97 100644 --- a/fastlane/metadata/ios/uk/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/uk/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:47f96d137ecb5d36131eb40c0848fce018ec722e5e797fd780930468dc97ac0f -size 207759 +oid sha256:d67e59a562a0082e11162a1b640840b4cffc1282272f98a495f7110ad2c562a2 +size 376183 diff --git a/fastlane/metadata/ios/uk/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/uk/images/iPhone 6.9/03 - gym mode.png index bed73333d..84763cbe7 100644 --- a/fastlane/metadata/ios/uk/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/uk/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7a2db097e688c54a7cc87d4131dbd115e84ce30d8febafc6b033356aab62f2cc -size 189197 +oid sha256:a0b2e508e2b55fae512af6d6ade48cbd47d8e6bc4dbb20205cc9d609d21f52d2 +size 357918 diff --git a/fastlane/metadata/ios/uk/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/uk/images/iPhone 6.9/04 - measurements.png index fcec2ef82..72094e2fa 100644 --- a/fastlane/metadata/ios/uk/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/uk/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e9af7f4d65630bd366ea526e649aec480426482a0567138d187662bd8257740a -size 149664 +oid sha256:927ee1470fee600896126c824347a32131213bfef370a57b9c54cd21e0a42d6b +size 422514 diff --git a/fastlane/metadata/ios/uk/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/uk/images/iPhone 6.9/05 - nutritional plan.png index c7083fdbc..92a5d24df 100644 --- a/fastlane/metadata/ios/uk/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/uk/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:edcb8bc540459be0b05d37ed68df4d73fd1cd2a69aff73d4aaf97aac10956b21 -size 213049 +oid sha256:798c3c2a426bc4e0f80d5c18b6575272c68c2e425540c435809e480dab9b4b14 +size 370496 diff --git a/fastlane/metadata/ios/uk/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/uk/images/iPhone 6.9/06 - weight.png index 5828a2020..92a93edb4 100644 --- a/fastlane/metadata/ios/uk/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/uk/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1a19abf265efc2895838665425b94fa73ab03b985e1b52bef83f64b14407f8bd -size 225983 +oid sha256:9587035ca1d52a23387e0dfb9d8aae986deba1c76f4cbb848e9a1f2ed05abd2c +size 379234 diff --git a/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/01 - dashboard.png index 3fed1cbbf..8e8e3f4fa 100644 --- a/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:43e2695f2f493be93b8765a2dd1b7f11e03cf3a78518d2078b7c822432ae0b09 -size 211126 +oid sha256:9845c744164eba2e7feab653aba4c6f53fdae4c212ea93940a5b4c0672e753a5 +size 473425 diff --git a/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/02 - workout detail.png index 7e7c091b4..0adf5597e 100644 --- a/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:eb39cf4cfe4b40092a8ae725e7bfefda081c83fc407b8390cf0ad502a7601976 -size 210185 +oid sha256:8d5fad8b4af8b60ca9f169056e87e837977aab2816dc675697e0879023e8c004 +size 379003 diff --git a/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/03 - gym mode.png index 364f8ae1d..991b4462b 100644 --- a/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1931da71bd3e9717d4662b4b575e15712990449ba3f8d418c55d55ec847faf8f -size 196769 +oid sha256:01dfda99302891540b3e42f851a258247cb8ffa65b4417a7712a552d952a5eec +size 363785 diff --git a/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/04 - measurements.png index b75589fe9..c38e79d43 100644 --- a/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fd646174629e5b51b9417aecace8efe66261a865cbb64f7b46af21a7ce5edda8 -size 144042 +oid sha256:321fb4553fa209a7dc983b1baa8e1def49270cebad9f24472444ba71fb08ce23 +size 409505 diff --git a/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/05 - nutritional plan.png index b01c7ad9e..88aa56d81 100644 --- a/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c83b57fb37d09f9b2f119addedc367e61f84ad45e5ee88fdd2a81df374b8d422 -size 217829 +oid sha256:ca063922da79876cdc8ee8bb4e3d78157f7c57ec1a0e93c178412792b86ee2cb +size 378533 diff --git a/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/06 - weight.png index 391bd4875..2999f4d25 100644 --- a/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/zh-CN/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:777d6f265bb4b52992763ea65b64c54636b2915219020bfda80edaa711b37a78 -size 239522 +oid sha256:1c92d38a822ffe46d91b224bb9690112f4d2350d351ad8ad1e03efe82ebd661c +size 399781 diff --git a/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/01 - dashboard.png b/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/01 - dashboard.png index 6e4a6953d..1d786e8e0 100644 --- a/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/01 - dashboard.png +++ b/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/01 - dashboard.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4c574b28efe243ddba64fcaf3928572a32fd7a3d072665d6f216b39186f4f65f -size 210851 +oid sha256:3bb6d12e29c88e1c4c2b3bd16929d07ba3ed7e0066ec968e06d0dabf7af958e6 +size 480035 diff --git a/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/02 - workout detail.png b/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/02 - workout detail.png index 7e7c091b4..0adf5597e 100644 --- a/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/02 - workout detail.png +++ b/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/02 - workout detail.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:eb39cf4cfe4b40092a8ae725e7bfefda081c83fc407b8390cf0ad502a7601976 -size 210185 +oid sha256:8d5fad8b4af8b60ca9f169056e87e837977aab2816dc675697e0879023e8c004 +size 379003 diff --git a/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/03 - gym mode.png b/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/03 - gym mode.png index 364f8ae1d..991b4462b 100644 --- a/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/03 - gym mode.png +++ b/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/03 - gym mode.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1931da71bd3e9717d4662b4b575e15712990449ba3f8d418c55d55ec847faf8f -size 196769 +oid sha256:01dfda99302891540b3e42f851a258247cb8ffa65b4417a7712a552d952a5eec +size 363785 diff --git a/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/04 - measurements.png b/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/04 - measurements.png index b75589fe9..c38e79d43 100644 --- a/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/04 - measurements.png +++ b/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/04 - measurements.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fd646174629e5b51b9417aecace8efe66261a865cbb64f7b46af21a7ce5edda8 -size 144042 +oid sha256:321fb4553fa209a7dc983b1baa8e1def49270cebad9f24472444ba71fb08ce23 +size 409505 diff --git a/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/05 - nutritional plan.png b/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/05 - nutritional plan.png index 23656d341..d329180e1 100644 --- a/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/05 - nutritional plan.png +++ b/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/05 - nutritional plan.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dd67aae0ec37a0ff734021caf87023c034a23fabd997c654de469c64a8f01f20 -size 218060 +oid sha256:5df4468dcc1d14458d7d2842e595eb3691d97941a658a58a923938dd77becbbc +size 379549 diff --git a/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/06 - weight.png b/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/06 - weight.png index 391bd4875..2999f4d25 100644 --- a/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/06 - weight.png +++ b/fastlane/metadata/ios/zh-TW/images/iPhone 6.9/06 - weight.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:777d6f265bb4b52992763ea65b64c54636b2915219020bfda80edaa711b37a78 -size 239522 +oid sha256:1c92d38a822ffe46d91b224bb9690112f4d2350d351ad8ad1e03efe82ebd661c +size 399781 diff --git a/flatpak/de.wger.flutter.desktop b/flatpak/de.wger.flutter.desktop index 8aaa5559a..57ac3f9f0 100755 --- a/flatpak/de.wger.flutter.desktop +++ b/flatpak/de.wger.flutter.desktop @@ -8,7 +8,8 @@ Comment=Fitness/workout, nutrition and weight tracker # HealthFitness;Exercise;Nutrition Categories=Education;Utility;Sports; Icon=de.wger.flutter -Exec=wger +Exec=wger %u +MimeType=x-scheme-handler/wger; StartupWMClass=wger X-Purism-FormFactor=Workstation;Mobile; X-KDE-FormFactors=desktop;tablet;handset;mediacenter; diff --git a/flatpak/de.wger.flutter.metainfo.xml b/flatpak/de.wger.flutter.metainfo.xml index 693813756..c7f44d71b 100755 --- a/flatpak/de.wger.flutter.metainfo.xml +++ b/flatpak/de.wger.flutter.metainfo.xml @@ -87,6 +87,18 @@ + + +

Bug fixes and improvements.

+
+ https://github.com/wger-project/flutter/releases/tag/2.0.1 +
+ + +

Bug fixes and improvements.

+
+ https://github.com/wger-project/flutter/releases/tag/2.0.0 +

Bug fixes and improvements.

diff --git a/flatpak/de.wger.flutter.service b/flatpak/de.wger.flutter.service new file mode 100644 index 000000000..dbf58074e --- /dev/null +++ b/flatpak/de.wger.flutter.service @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=de.wger.flutter +Exec=/app/bin/wger --gapplication-service diff --git a/integration_test/README.md b/integration_test/README.md index cdde88aa8..33aff401d 100644 --- a/integration_test/README.md +++ b/integration_test/README.md @@ -1,19 +1,17 @@ This will generate some screenshots and save them to the Play Store metadata folder. -1) Set the correct value for the device size by setting the `destination` variable -2) Start the correct emulator and - run +1) Start the correct emulator/simulator for the device size you want. +2) Run, selecting the device size via `--dart-define=DEVICE_TYPE`: ``` flutter drive \ --driver=test_driver/screenshot_driver.dart \ --target=integration_test/make_screenshots_test.dart \ --dart-define=DEVICE_TYPE=androidPhone ``` - For the values of device type, consult the values of the DeviceType enum in - `make_screenshots_test.dart` -3) flutter drive --driver=test_driver/screenshot_driver.dart --target=integration_test/make_screenshots_test.dart --dart-define=DEVICE_TYPE=androidPhone` -4) If you get errors or the screenshots are not written to disk, edit the - `languages` list and comment some of the languages + For the available device types, consult the `DeviceType` enum in + `make_screenshots_test.dart`. +3) If you get errors or the screenshots are not written to disk, edit the + `languages` list and comment some of the languages out. See also diff --git a/integration_test/make_screenshots_test.dart b/integration_test/make_screenshots_test.dart index 8c13c1df5..32ce8d756 100644 --- a/integration_test/make_screenshots_test.dart +++ b/integration_test/make_screenshots_test.dart @@ -25,12 +25,12 @@ import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:integration_test/integration_test.dart'; -import 'screenshots_01_dashboard.dart'; -import 'screenshots_02_workout.dart'; -import 'screenshots_03_gym_mode.dart'; -import 'screenshots_04_measurements.dart'; -import 'screenshots_05_nutritional_plan.dart'; -import 'screenshots_06_weight.dart'; +import '../test/screenshots/screenshots_01_dashboard.dart'; +import '../test/screenshots/screenshots_02_workout.dart'; +import '../test/screenshots/screenshots_03_gym_mode.dart'; +import '../test/screenshots/screenshots_04_measurements.dart'; +import '../test/screenshots/screenshots_05_nutritional_plan.dart'; +import '../test/screenshots/screenshots_06_weight.dart'; /// Type of device /// @@ -44,8 +44,7 @@ enum DeviceType { androidWear('wearScreenshots'), iOSPhoneBig('iPhone 6.9', isAndroid: false), - iOSPhoneSmall('iPhone 6.7', isAndroid: false) - ; + iOSPhoneSmall('iPhone 6.7', isAndroid: false); final String folderName; final bool isAndroid; @@ -163,7 +162,7 @@ void main() { // }); testWidgets('gym mode stats screen - $language', (WidgetTester tester) async { - await tester.pumpWidget(createGymModeResultsScreen(locale: languageCode)); + await tester.pumpWidget(createGymModeResultsScreen(locale: locale)); await tester.pumpAndSettle(); await takeScreenshot(tester, binding, language, '03 - gym mode'); }); diff --git a/integration_test/screenshots_01_dashboard.dart b/integration_test/screenshots_01_dashboard.dart deleted file mode 100644 index 5c9b033b0..000000000 --- a/integration_test/screenshots_01_dashboard.dart +++ /dev/null @@ -1,148 +0,0 @@ -/* - * This file is part of wger Workout Manager . - * Copyright (c) 2026 wger Team - * - * wger Workout Manager is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -import 'package:flutter/material.dart'; -import 'package:flutter_riverpod/flutter_riverpod.dart' as riverpod; -import 'package:mockito/mockito.dart'; -import 'package:provider/provider.dart'; -import 'package:wger/l10n/generated/app_localizations.dart'; -import 'package:wger/models/workouts/session.dart'; -import 'package:wger/providers/auth.dart'; -import 'package:wger/providers/body_weight.dart'; -import 'package:wger/providers/exercises.dart'; -import 'package:wger/providers/gallery.dart'; -import 'package:wger/providers/measurement.dart'; -import 'package:wger/providers/nutrition.dart'; -import 'package:wger/providers/routines.dart'; -import 'package:wger/providers/user.dart'; -import 'package:wger/screens/home_tabs_screen.dart'; -import 'package:wger/theme/theme.dart'; - -import '../test/exercises/contribute_exercise_test.mocks.dart'; -import '../test/gallery/gallery_form_test.mocks.dart'; -import '../test/measurements/measurement_categories_screen_test.mocks.dart'; -import '../test/nutrition/nutritional_plan_screen_test.mocks.dart'; -import '../test/routine/weight_unit_form_widget_test.mocks.dart'; -import '../test/weight/weight_screen_test.mocks.dart' as weight; -import '../test_data/body_weight.dart'; -import '../test_data/exercises.dart'; -import '../test_data/measurements.dart'; -import '../test_data/nutritional_plans.dart'; -import '../test_data/profile.dart'; -import '../test_data/routines.dart'; - -Widget createDashboardScreen({Locale? locale}) { - locale ??= const Locale('en'); - - final mockGalleryProvider = MockGalleryProvider(); - - final mockExercisesProvider = MockExercisesProvider(); - - final mockAuthProvider = MockAuthProvider(); - when(mockAuthProvider.setServerVersion()).thenAnswer((_) async {}); - when(mockAuthProvider.dataInit).thenReturn(true); - - final mockWorkoutProvider = MockRoutinesProvider(); - when(mockWorkoutProvider.items).thenReturn([getTestRoutine(exercises: getScreenshotExercises())]); - when( - mockWorkoutProvider.currentRoutine, - ).thenReturn(getTestRoutine(exercises: getScreenshotExercises())); - - when(mockWorkoutProvider.fetchSessionData()).thenAnswer( - (a) => Future.value([ - WorkoutSession( - routineId: 1, - date: DateTime.now().add(const Duration(days: -1)), - timeStart: const TimeOfDay(hour: 17, minute: 34), - timeEnd: const TimeOfDay(hour: 19, minute: 3), - impression: 3, - ), - ]), - ); - - final mockNutritionProvider = weight.MockNutritionPlansProvider(); - - when( - mockNutritionProvider.currentPlan, - ).thenAnswer((realInvocation) => getNutritionalPlanScreenshot()); - when(mockNutritionProvider.items).thenReturn([getNutritionalPlanScreenshot()]); - - final mockWeightProvider = weight.MockBodyWeightProvider(); - when(mockWeightProvider.items).thenReturn(getScreenshotWeightEntries()); - - final mockMeasurementProvider = MockMeasurementProvider(); - when(mockMeasurementProvider.categories).thenReturn(getMeasurementCategories()); - - final mockUserProvider = MockUserProvider(); - when(mockUserProvider.profile).thenReturn(tProfile1); - when(mockUserProvider.dashboardWidgets).thenReturn([ - DashboardWidget.routines, - DashboardWidget.weight, - DashboardWidget.measurements, - DashboardWidget.calendar, - DashboardWidget.nutrition, - DashboardWidget.trophies, - ]); - - return riverpod.ProviderScope( - child: MediaQuery( - data: MediaQueryData.fromView(WidgetsBinding.instance.platformDispatcher.views.first) - .copyWith( - padding: EdgeInsets.zero, - viewPadding: EdgeInsets.zero, - viewInsets: EdgeInsets.zero, - ), - child: MultiProvider( - providers: [ - ChangeNotifierProvider( - create: (context) => mockGalleryProvider, - ), - ChangeNotifierProvider( - create: (context) => mockExercisesProvider, - ), - ChangeNotifierProvider( - create: (context) => mockAuthProvider, - ), - ChangeNotifierProvider( - create: (context) => mockUserProvider, - ), - ChangeNotifierProvider( - create: (context) => mockWorkoutProvider, - ), - ChangeNotifierProvider( - create: (context) => mockNutritionProvider, - ), - ChangeNotifierProvider( - create: (context) => mockWeightProvider, - ), - ChangeNotifierProvider( - create: (context) => mockMeasurementProvider, - ), - ], - child: MaterialApp( - locale: locale, - debugShowCheckedModeBanner: false, - localizationsDelegates: AppLocalizations.localizationsDelegates, - supportedLocales: AppLocalizations.supportedLocales, - theme: wgerLightTheme, - home: HomeTabsScreen(), - ), - ), - ), - ); -} diff --git a/integration_test/screenshots_03_gym_mode.dart b/integration_test/screenshots_03_gym_mode.dart deleted file mode 100644 index fbc405eed..000000000 --- a/integration_test/screenshots_03_gym_mode.dart +++ /dev/null @@ -1,153 +0,0 @@ -/* - * This file is part of wger Workout Manager . - * Copyright (c) 2026 wger Team - * - * wger Workout Manager is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -import 'package:clock/clock.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_riverpod/flutter_riverpod.dart' as riverpod; -import 'package:mockito/mockito.dart'; -import 'package:provider/provider.dart'; -import 'package:wger/l10n/generated/app_localizations.dart'; -import 'package:wger/providers/exercises.dart'; -import 'package:wger/providers/gym_state.dart'; -import 'package:wger/providers/routines.dart'; -import 'package:wger/providers/wger_base_riverpod.dart'; -import 'package:wger/screens/gym_mode.dart'; -import 'package:wger/screens/routine_screen.dart'; -import 'package:wger/theme/theme.dart'; -import 'package:wger/widgets/routines/gym_mode/summary.dart'; - -import '../test/routine/gym_mode/gym_mode_test.mocks.dart'; -import '../test_data/exercises.dart'; -import '../test_data/routines.dart'; - -Widget createGymModeScreen({Locale? locale}) { - locale ??= const Locale('en'); - final key = GlobalKey(); - final exercises = getTestExercises(); - final routine = getTestRoutine(exercises: getScreenshotExercises()); - final mockRoutinesProvider = MockRoutinesProvider(); - final mockExerciseProvider = MockExercisesProvider(); - - when(mockRoutinesProvider.fetchAndSetRoutineFull(1)).thenAnswer((_) async => routine); - when(mockRoutinesProvider.findById(1)).thenAnswer((_) => routine); - - when(mockExerciseProvider.findExerciseById(1)).thenReturn(exercises[0]); // bench press - when(mockExerciseProvider.findExerciseById(6)).thenReturn(exercises[5]); // side raises - - return MediaQuery( - data: MediaQueryData.fromView(WidgetsBinding.instance.platformDispatcher.views.first).copyWith( - padding: EdgeInsets.zero, - viewPadding: EdgeInsets.zero, - viewInsets: EdgeInsets.zero, - ), - child: riverpod.ProviderScope( - overrides: [ - wgerBaseProvider.overrideWithValue(MockWgerBaseProvider()), - ], - child: MultiProvider( - providers: [ - ChangeNotifierProvider( - create: (context) => mockRoutinesProvider, - ), - ChangeNotifierProvider( - create: (context) => mockExerciseProvider, - ), - ], - child: MaterialApp( - locale: locale, - debugShowCheckedModeBanner: false, - localizationsDelegates: AppLocalizations.localizationsDelegates, - supportedLocales: AppLocalizations.supportedLocales, - navigatorKey: key, - theme: wgerLightTheme, - home: TextButton( - onPressed: () => key.currentState!.push( - MaterialPageRoute( - settings: RouteSettings( - arguments: GymModeArguments(routine.id!, routine.days.first.id!, 1), - ), - builder: (_) => const GymModeScreen(), - ), - ), - child: const SizedBox(), - ), - routes: { - RoutineScreen.routeName: (ctx) => const RoutineScreen(), - }, - ), - ), - ), - ); -} - -Widget createGymModeResultsScreen({String locale = 'en'}) { - final controller = PageController(initialPage: 0); - - final key = GlobalKey(); - final routine = getTestRoutine(exercises: getScreenshotExercises()); - routine.sessions.first.session.date = clock.now(); - - final mockRoutinesProvider = MockRoutinesProvider(); - final mockExerciseProvider = MockExercisesProvider(); - - when(mockRoutinesProvider.fetchAndSetRoutineFull(1)).thenAnswer((_) async => routine); - when(mockRoutinesProvider.findById(1)).thenAnswer((_) => routine); - - return riverpod.UncontrolledProviderScope( - container: riverpod.ProviderContainer.test( - overrides: [ - wgerBaseProvider.overrideWithValue(MockWgerBaseProvider()), - gymStateProvider.overrideWithValue( - GymModeState( - routine: routine, - dayId: routine.days.first.id, - iteration: 1, - showExercisePages: true, - showTimerPages: true, - ), - ), - ], - ), - child: MultiProvider( - providers: [ - ChangeNotifierProvider( - create: (context) => mockRoutinesProvider, - ), - ChangeNotifierProvider( - create: (context) => mockExerciseProvider, - ), - ], - child: MaterialApp( - locale: Locale(locale), - debugShowCheckedModeBanner: false, - localizationsDelegates: AppLocalizations.localizationsDelegates, - supportedLocales: AppLocalizations.supportedLocales, - navigatorKey: key, - theme: wgerLightTheme, - home: Scaffold( - body: PageView( - controller: controller, - children: [ - WorkoutSummary(controller), - ], - ), - ), - ), - ), - ); -} diff --git a/integration_test/screenshots_06_weight.dart b/integration_test/screenshots_06_weight.dart deleted file mode 100644 index c58c0e812..000000000 --- a/integration_test/screenshots_06_weight.dart +++ /dev/null @@ -1,77 +0,0 @@ -/* - * This file is part of wger Workout Manager . - * Copyright (c) 2026 wger Team - * - * wger Workout Manager is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -import 'package:flutter/material.dart'; -import 'package:mockito/mockito.dart'; -import 'package:provider/provider.dart'; -import 'package:wger/l10n/generated/app_localizations.dart'; -import 'package:wger/providers/body_weight.dart'; -import 'package:wger/providers/nutrition.dart'; -import 'package:wger/providers/user.dart'; -import 'package:wger/screens/form_screen.dart'; -import 'package:wger/screens/weight_screen.dart'; -import 'package:wger/theme/theme.dart'; - -import '../test/utils.dart'; -import '../test/weight/weight_screen_test.mocks.dart'; -import '../test_data/body_weight.dart'; -import '../test_data/nutritional_plans.dart'; -import '../test_data/profile.dart'; - -Widget createWeightScreen({Locale? locale}) { - locale ??= const Locale('en'); - final weightProvider = BodyWeightProvider(mockBaseProvider); - weightProvider.items = getScreenshotWeightEntries(); - - final mockUserProvider = MockUserProvider(); - when(mockUserProvider.profile).thenReturn(tProfile1); - - final mockNutritionPlansProvider = MockNutritionPlansProvider(); - when(mockNutritionPlansProvider.currentPlan).thenReturn(null); - when(mockNutritionPlansProvider.items).thenReturn([getNutritionalPlan()]); - - return MediaQuery( - data: MediaQueryData.fromView(WidgetsBinding.instance.platformDispatcher.views.first).copyWith( - padding: EdgeInsets.zero, - viewPadding: EdgeInsets.zero, - viewInsets: EdgeInsets.zero, - ), - child: MultiProvider( - providers: [ - ChangeNotifierProvider( - create: (context) => mockUserProvider, - ), - ChangeNotifierProvider( - create: (context) => weightProvider, - ), - ChangeNotifierProvider( - create: (context) => mockNutritionPlansProvider, - ), - ], - child: MaterialApp( - locale: locale, - debugShowCheckedModeBanner: false, - localizationsDelegates: AppLocalizations.localizationsDelegates, - supportedLocales: AppLocalizations.supportedLocales, - theme: wgerLightTheme, - home: const WeightScreen(), - routes: {FormScreen.routeName: (ctx) => const FormScreen()}, - ), - ), - ); -} diff --git a/ios/.gitignore b/ios/.gitignore index e96ef602b..3b89c9c4f 100644 --- a/ios/.gitignore +++ b/ios/.gitignore @@ -10,7 +10,10 @@ **/DerivedData/ Icon? **/Pods/ +/Podfile +/Podfile.lock **/.symlinks/ +**/Flutter/ephemeral/ profile xcuserdata **/.generated/ diff --git a/ios/Flutter/Debug.xcconfig b/ios/Flutter/Debug.xcconfig index e8efba114..ec97fc6f3 100644 --- a/ios/Flutter/Debug.xcconfig +++ b/ios/Flutter/Debug.xcconfig @@ -1,2 +1,2 @@ -#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" +#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" #include "Generated.xcconfig" diff --git a/ios/Flutter/Release.xcconfig b/ios/Flutter/Release.xcconfig index 399e9340e..c4855bfe2 100644 --- a/ios/Flutter/Release.xcconfig +++ b/ios/Flutter/Release.xcconfig @@ -1,2 +1,2 @@ -#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" +#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" #include "Generated.xcconfig" diff --git a/ios/Gemfile.lock b/ios/Gemfile.lock index a7edd4343..1fce7efc8 100644 --- a/ios/Gemfile.lock +++ b/ios/Gemfile.lock @@ -29,7 +29,7 @@ GEM aws-sigv4 (1.12.1) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) - base64 (0.2.0) + base64 (0.3.0) bigdecimal (4.0.1) claide (1.1.0) colored (1.2) @@ -159,7 +159,7 @@ GEM httpclient (2.8.3) jmespath (1.6.2) json (2.9.0) - jwt (2.9.3) + jwt (2.10.3) base64 logger (1.7.0) mini_magick (4.13.2) diff --git a/ios/Podfile b/ios/Podfile deleted file mode 100644 index 974aea706..000000000 --- a/ios/Podfile +++ /dev/null @@ -1,45 +0,0 @@ -# Uncomment this line to define a global platform for your project -platform :ios, '17.0' - -# CocoaPods analytics sends network stats synchronously affecting flutter build latency. -ENV['COCOAPODS_DISABLE_STATS'] = 'true' - -project 'Runner', { - 'Debug' => :debug, - 'Profile' => :release, - 'Release' => :release, -} - -def flutter_root - generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) - unless File.exist?(generated_xcode_build_settings_path) - raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" - end - - File.foreach(generated_xcode_build_settings_path) do |line| - matches = line.match(/FLUTTER_ROOT\=(.*)/) - return matches[1].strip if matches - end - raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" -end - -require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) - -flutter_ios_podfile_setup - -target 'Runner' do - use_frameworks! - use_modular_headers! - - flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) -end - -post_install do |installer| - installer.pods_project.targets.each do |target| - flutter_additional_ios_build_settings(target) - target.build_configurations.each do |config| - config.build_settings['ENABLE_BITCODE'] = 'NO' - config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '16.0' - end - end -end diff --git a/ios/Podfile.lock b/ios/Podfile.lock deleted file mode 100644 index 21e5c267e..000000000 --- a/ios/Podfile.lock +++ /dev/null @@ -1,112 +0,0 @@ -PODS: - - camera_avfoundation (0.0.1): - - Flutter - - Flutter (1.0.0) - - flutter_native_splash (2.4.3): - - Flutter - - flutter_zxing (0.0.1): - - Flutter - - image_picker_ios (0.0.1): - - Flutter - - integration_test (0.0.1): - - Flutter - - package_info_plus (0.4.5): - - Flutter - - rive_common (0.0.1): - - Flutter - - shared_preferences_foundation (0.0.1): - - Flutter - - FlutterMacOS - - sqlite3 (3.52.0): - - sqlite3/common (= 3.52.0) - - sqlite3/common (3.52.0) - - sqlite3/dbstatvtab (3.52.0): - - sqlite3/common - - sqlite3/fts5 (3.52.0): - - sqlite3/common - - sqlite3/math (3.52.0): - - sqlite3/common - - sqlite3/perf-threadsafe (3.52.0): - - sqlite3/common - - sqlite3/rtree (3.52.0): - - sqlite3/common - - sqlite3/session (3.52.0): - - sqlite3/common - - sqlite3_flutter_libs (0.0.1): - - Flutter - - FlutterMacOS - - sqlite3 (~> 3.52.0) - - sqlite3/dbstatvtab - - sqlite3/fts5 - - sqlite3/math - - sqlite3/perf-threadsafe - - sqlite3/rtree - - sqlite3/session - - url_launcher_ios (0.0.1): - - Flutter - - video_player_avfoundation (0.0.1): - - Flutter - - FlutterMacOS - -DEPENDENCIES: - - camera_avfoundation (from `.symlinks/plugins/camera_avfoundation/ios`) - - Flutter (from `Flutter`) - - flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`) - - flutter_zxing (from `.symlinks/plugins/flutter_zxing/ios`) - - image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`) - - integration_test (from `.symlinks/plugins/integration_test/ios`) - - package_info_plus (from `.symlinks/plugins/package_info_plus/ios`) - - rive_common (from `.symlinks/plugins/rive_common/ios`) - - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) - - sqlite3_flutter_libs (from `.symlinks/plugins/sqlite3_flutter_libs/darwin`) - - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`) - - video_player_avfoundation (from `.symlinks/plugins/video_player_avfoundation/darwin`) - -SPEC REPOS: - trunk: - - sqlite3 - -EXTERNAL SOURCES: - camera_avfoundation: - :path: ".symlinks/plugins/camera_avfoundation/ios" - Flutter: - :path: Flutter - flutter_native_splash: - :path: ".symlinks/plugins/flutter_native_splash/ios" - flutter_zxing: - :path: ".symlinks/plugins/flutter_zxing/ios" - image_picker_ios: - :path: ".symlinks/plugins/image_picker_ios/ios" - integration_test: - :path: ".symlinks/plugins/integration_test/ios" - package_info_plus: - :path: ".symlinks/plugins/package_info_plus/ios" - rive_common: - :path: ".symlinks/plugins/rive_common/ios" - shared_preferences_foundation: - :path: ".symlinks/plugins/shared_preferences_foundation/darwin" - sqlite3_flutter_libs: - :path: ".symlinks/plugins/sqlite3_flutter_libs/darwin" - url_launcher_ios: - :path: ".symlinks/plugins/url_launcher_ios/ios" - video_player_avfoundation: - :path: ".symlinks/plugins/video_player_avfoundation/darwin" - -SPEC CHECKSUMS: - camera_avfoundation: 968a9a5323c79a99c166ad9d7866bfd2047b5a9b - Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467 - flutter_native_splash: c32d145d68aeda5502d5f543ee38c192065986cf - flutter_zxing: fe1338b6d79b8a455d209a28381e336b6cfb4161 - image_picker_ios: e0ece4aa2a75771a7de3fa735d26d90817041326 - integration_test: 4a889634ef21a45d28d50d622cf412dc6d9f586e - package_info_plus: af8e2ca6888548050f16fa2f1938db7b5a5df499 - rive_common: dd421daaf9ae69f0125aa761dd96abd278399952 - shared_preferences_foundation: 7036424c3d8ec98dfe75ff1667cb0cd531ec82bb - sqlite3: a51c07cf16e023d6c48abd5e5791a61a47354921 - sqlite3_flutter_libs: b3e120efe9a82017e5552a620f696589ed4f62ab - url_launcher_ios: 7a95fa5b60cc718a708b8f2966718e93db0cef1b - video_player_avfoundation: dd410b52df6d2466a42d28550e33e4146928280a - -PODFILE CHECKSUM: 140d612345f5f5eda8a7ae30f1ccf4e0b07aced5 - -COCOAPODS: 1.16.2 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index eb69bbb2b..08bd47e13 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -8,9 +8,9 @@ /* Begin PBXBuildFile section */ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; - 3845DFE0762714C6680D5DFA /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AFA44D9DB464FB85F130C5B5 /* Pods_Runner.framework */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; + 78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */ = {isa = PBXBuildFile; productRef = 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */; }; 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; @@ -30,14 +30,13 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ - 0ED96167FF623FAB319C6E99 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = FlutterGeneratedPluginSwiftPackage; path = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage; sourceTree = ""; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; - 89F44165E15E0A7B109A05EB /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; 8D383D452D8E929100066A20 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = ""; }; 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; @@ -46,8 +45,6 @@ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - AFA44D9DB464FB85F130C5B5 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - C71BAD15819A771165D784B0 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -55,24 +52,17 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 3845DFE0762714C6680D5DFA /* Pods_Runner.framework in Frameworks */, + 78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 23E168F95D2790D29E207E68 /* Frameworks */ = { - isa = PBXGroup; - children = ( - AFA44D9DB464FB85F130C5B5 /* Pods_Runner.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; 9740EEB11CF90186004384FC /* Flutter */ = { isa = PBXGroup; children = ( + 78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */, 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 9740EEB21CF90195004384FC /* Debug.xcconfig */, 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, @@ -88,7 +78,6 @@ 97C146F01CF9000F007C117D /* Runner */, 97C146EF1CF9000F007C117D /* Products */, BB0286322FD60C00014F981C /* Pods */, - 23E168F95D2790D29E207E68 /* Frameworks */, ); sourceTree = ""; }; @@ -119,9 +108,6 @@ BB0286322FD60C00014F981C /* Pods */ = { isa = PBXGroup; children = ( - C71BAD15819A771165D784B0 /* Pods-Runner.debug.xcconfig */, - 0ED96167FF623FAB319C6E99 /* Pods-Runner.release.xcconfig */, - 89F44165E15E0A7B109A05EB /* Pods-Runner.profile.xcconfig */, ); path = Pods; sourceTree = ""; @@ -133,20 +119,21 @@ isa = PBXNativeTarget; buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; buildPhases = ( - 49A79EC3F389C902853B9186 /* [CP] Check Pods Manifest.lock */, 9740EEB61CF901F6004384FC /* Run Script */, 97C146EA1CF9000F007C117D /* Sources */, 97C146EB1CF9000F007C117D /* Frameworks */, 97C146EC1CF9000F007C117D /* Resources */, 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - 0A9E38C31DF3DC192213822E /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); dependencies = ( ); name = Runner; + packageProductDependencies = ( + 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */, + ); productName = Runner; productReference = 97C146EE1CF9000F007C117D /* Runner.app */; productType = "com.apple.product-type.application"; @@ -175,6 +162,9 @@ Base, ); mainGroup = 97C146E51CF9000F007C117D; + packageReferences = ( + 781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "FlutterGeneratedPluginSwiftPackage" */, + ); productRefGroup = 97C146EF1CF9000F007C117D /* Products */; projectDirPath = ""; projectRoot = ""; @@ -199,23 +189,6 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 0A9E38C31DF3DC192213822E /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; alwaysOutOfDate = 1; @@ -232,28 +205,6 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; }; - 49A79EC3F389C902853B9186 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; alwaysOutOfDate = 1; @@ -581,6 +532,20 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCLocalSwiftPackageReference section */ + 781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "FlutterGeneratedPluginSwiftPackage" */ = { + isa = XCLocalSwiftPackageReference; + relativePath = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage; + }; +/* End XCLocalSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */ = { + isa = XCSwiftPackageProductDependency; + productName = FlutterGeneratedPluginSwiftPackage; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = 97C146E61CF9000F007C117D /* Project object */; } diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index fc5ae0316..0bd6d4227 100644 --- a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -5,6 +5,24 @@ + + + + + + + + + + - - diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index b1e29dcc5..60b66f05c 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -25,6 +25,7 @@ fa fil fr + gl he hi hr @@ -43,6 +44,7 @@ ro ru sk + sn ta th tr @@ -59,12 +61,33 @@ $(FLUTTER_BUILD_NAME) CFBundleSignature ???? + + FlutterDeepLinkingEnabled + + CFBundleURLTypes + + + CFBundleURLName + de.wger.flutter.app-auth + CFBundleTypeRole + Editor + CFBundleURLSchemes + + wger + + + CFBundleVersion $(FLUTTER_BUILD_NUMBER) LSRequiresIPhoneOS NSCameraUsageDescription Workout photos + NSHealthShareUsageDescription + wger uses your health data to automatically sync weight measurements from your smart scale UIApplicationSceneManifest UIApplicationSupportsMultipleScenes diff --git a/ios/Runner/Runner.entitlements b/ios/Runner/Runner.entitlements index 903def2af..c77f75e0e 100644 --- a/ios/Runner/Runner.entitlements +++ b/ios/Runner/Runner.entitlements @@ -4,5 +4,7 @@ aps-environment development + com.apple.developer.healthkit + diff --git a/lib/core/app_link_router.dart b/lib/core/app_link_router.dart new file mode 100644 index 000000000..dd9ab3d84 --- /dev/null +++ b/lib/core/app_link_router.dart @@ -0,0 +1,178 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'dart:async'; +import 'dart:convert'; +import 'dart:math'; + +import 'package:app_links/app_links.dart'; +import 'package:clock/clock.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:logging/logging.dart'; +import 'package:wger/core/consts.dart'; +import 'package:wger/core/network/auth_notifier.dart'; +import 'package:wger/core/shared_preferences.dart'; + +/// Custom URL scheme + host the wger web-handoff view redirects to. +/// Must match the registration in iOS Info.plist, AndroidManifest.xml, etc. +const APP_AUTH_SCHEME = 'wger'; +const APP_AUTH_HOST = 'app-auth'; + +/// Maximum age of an outstanding handoff state nonce. After that a returning +/// deep link is treated as stale and rejected, the user needs to tap "Log in +/// via web" again +const APP_AUTH_STATE_TTL = Duration(minutes: 10); + +/// Generates a 256-bit nonce, persists it (with [serverUrl]) as the pending +/// handoff state and returns it for inclusion in the launch URL. Each call +/// rotates the value, so a previously-issued (but unused) state is invalidated. +Future issueAppAuthState(String serverUrl) async { + final rng = Random.secure(); + final bytes = List.generate(32, (_) => rng.nextInt(256)); + final state = base64UrlEncode(bytes).replaceAll('=', ''); + final prefs = PreferenceHelper.asyncPref; + await prefs.setString(PREFS_APP_AUTH_STATE, state); + await prefs.setString(PREFS_APP_AUTH_SERVER, serverUrl); + await prefs.setInt(PREFS_APP_AUTH_STATE_AT, clock.now().millisecondsSinceEpoch); + return state; +} + +/// Consumes any outstanding handoff state and verifies that [received] +/// matches it within [APP_AUTH_STATE_TTL]. Always clears the stored value +/// (single use), regardless of outcome. Returns the server URL the handoff was +/// issued for on a valid match, or null on any rejection. +Future consumeAppAuthState(String? received) async { + final prefs = PreferenceHelper.asyncPref; + final stored = await prefs.getString(PREFS_APP_AUTH_STATE); + final issuedAt = await prefs.getInt(PREFS_APP_AUTH_STATE_AT) ?? 0; + final serverUrl = await prefs.getString(PREFS_APP_AUTH_SERVER); + await prefs.remove(PREFS_APP_AUTH_STATE); + await prefs.remove(PREFS_APP_AUTH_STATE_AT); + await prefs.remove(PREFS_APP_AUTH_SERVER); + if (stored == null || received == null || received.isEmpty) { + return null; + } + final ageMs = clock.now().millisecondsSinceEpoch - issuedAt; + if (ageMs > APP_AUTH_STATE_TTL.inMilliseconds) { + return null; + } + return stored == received ? serverUrl : null; +} + +/// Routes incoming `wger://app-auth#token=` deep links into the auth +/// notifier, completing the server-side web-handoff login flow. +/// +/// Must be instantiated once at app bootstrap (not bound to widget lifetime), +/// so cold-start links delivered before any screen is built are still picked +/// up via [AppLinks.getInitialLink]. +class AppLinkRouter { + AppLinkRouter(this._ref, {AppLinks? appLinks}) : _appLinks = appLinks ?? AppLinks(); + + final Ref _ref; + final AppLinks _appLinks; + final _logger = Logger('AppLinkRouter'); + StreamSubscription? _sub; + + Future start() async { + // Cold-start: the OS may have launched us with the URI as an argument. + try { + final initial = await _appLinks.getInitialLink(); + if (initial != null) { + unawaited(_handle(initial)); + } + } catch (e, st) { + _logger.warning('getInitialLink failed', e, st); + } + // Warm-start: the user is already in the app; the browser hands a URI off. + _sub = _appLinks.uriLinkStream.listen( + (uri) => unawaited(_handle(uri)), + onError: (Object e, StackTrace st) => _logger.warning('uriLinkStream error', e, st), + ); + } + + Future stop() async { + await _sub?.cancel(); + _sub = null; + } + + Future _handle(Uri uri) async { + final token = tokenFromUri(uri); + if (token == null) { + // Never log the fragment: it carries the refresh token on our links. + _logger.fine('Ignoring unrelated or malformed deep link: ${uri.removeFragment()}'); + return; + } + final state = fragmentParam(uri, 'state'); + // Returns the server URL the handoff was started for, so a self-hosted + // token is redeemed against its own server, not the default. + final serverUrl = await consumeAppAuthState(state); + if (serverUrl == null) { + // Unsolicited link (no outstanding state), stale (past TTL), or state + // mismatch, all three look the same from here and are all rejected by + // design. Login-CSRF defence: only accept handoffs the app started itself. + // Strip the fragment before logging: it carries the refresh token + _logger.warning( + 'Rejecting handoff deep link with bad/missing state: ${uri.removeFragment()}', + ); + return; + } + try { + await _ref.read(authProvider.notifier).login('', '', serverUrl, token); + } catch (e, st) { + _logger.warning('Handoff login failed', e, st); + } + } + + /// Returns the refresh token carried by a `wger://app-auth#token=` + /// deep link, or null when the URI does not match (wrong scheme, wrong + /// host, or missing/empty `token` fragment parameter). + static String? tokenFromUri(Uri uri) => fragmentParam(uri, 'token'); +} + +/// Pulls a single `key=value` pair out of the fragment of an app-auth deep +/// link. Returns null when the URI is not one of ours (wrong scheme or host), +/// when there is no fragment, when [name] is missing, or when its value is empty. +String? fragmentParam(Uri uri, String name) { + if (uri.scheme != APP_AUTH_SCHEME || uri.host != APP_AUTH_HOST) { + return null; + } + final fragment = uri.fragment; + if (fragment.isEmpty) { + return null; + } + for (final pair in fragment.split('&')) { + final eq = pair.indexOf('='); + if (eq <= 0) { + continue; + } + if (pair.substring(0, eq) == name) { + final value = Uri.decodeComponent(pair.substring(eq + 1)); + return value.isEmpty ? null : value; + } + } + return null; +} + +/// Holds the singleton router. Reading this provider once at app bootstrap +/// is enough to start the subscription +final appLinkRouterProvider = Provider((ref) { + final router = AppLinkRouter(ref); + unawaited(router.start()); + ref.onDispose(router.stop); + return router; +}); diff --git a/lib/core/app_settings_notifier.dart b/lib/core/app_settings_notifier.dart new file mode 100644 index 000000000..2d3958f21 --- /dev/null +++ b/lib/core/app_settings_notifier.dart @@ -0,0 +1,273 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'dart:convert'; + +import 'package:collection/collection.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart' show Provider; +import 'package:freezed_annotation/freezed_annotation.dart'; +import 'package:riverpod_annotation/riverpod_annotation.dart'; +import 'package:shared_preferences/shared_preferences.dart'; +import 'package:wger/core/consts.dart'; +import 'package:wger/core/locale.dart'; +import 'package:wger/core/shared_preferences.dart'; +import 'package:wger/l10n/generated/app_localizations.dart'; + +part 'app_settings_notifier.freezed.dart'; +part 'app_settings_notifier.g.dart'; + +const PREFS_DASHBOARD_CONFIG = 'dashboardConfig'; + +enum DashboardWidget { + trophies('trophies'), + routines('routines'), + nutrition('nutrition'), + weight('weight'), + measurements('measurements'), + calendar('calendar'); + + final String value; + const DashboardWidget(this.value); + + static DashboardWidget? fromString(String s) { + for (final e in DashboardWidget.values) { + if (e.value == s) { + return e; + } + } + return null; + } +} + +class DashboardItem { + final DashboardWidget widget; + final bool isVisible; + + const DashboardItem(this.widget, {this.isVisible = true}); + + DashboardItem copyWith({bool? isVisible}) => + DashboardItem(widget, isVisible: isVisible ?? this.isVisible); + + Map toJson() => { + 'widget': widget.value, + 'visible': isVisible, + }; +} + +@freezed +sealed class AppSettings with _$AppSettings { + const factory AppSettings({ + @Default(ThemeMode.system) ThemeMode themeMode, + @Default([]) List dashboardItems, + + /// Locale override. Null means the app follows the system locale. + Locale? userLocale, + + /// When true, a manual logout keeps the local database on disk instead + /// of wiping it, so the same user signing back in resumes incrementally. + @Default(KEEP_DATA_ON_LOGOUT_DEFAULT) bool keepDataOnLogout, + }) = _AppSettings; +} + +/// SharedPreferences accessor for local settings. Override in tests. +final appSettingsPrefsProvider = Provider( + (ref) => PreferenceHelper.asyncPref, +); + +@Riverpod(keepAlive: true) +class AppSettingsNotifier extends _$AppSettingsNotifier { + late SharedPreferencesAsync _prefs; + + @override + Future build() async { + _prefs = ref.read(appSettingsPrefsProvider); + final themeMode = await _loadThemeMode(); + final userLocale = await _loadUserLocale(); + final items = await _loadDashboardItems(); + final keepDataOnLogout = await _loadKeepDataOnLogout(); + return AppSettings( + themeMode: themeMode, + userLocale: userLocale, + dashboardItems: items, + keepDataOnLogout: keepDataOnLogout, + ); + } + + // + // Theme mode + // + + Future _loadThemeMode() async { + final dark = await _prefs.getBool(PREFS_USER_DARK_THEME); + if (dark == null) { + return ThemeMode.system; + } + return dark ? ThemeMode.dark : ThemeMode.light; + } + + Future setThemeMode(ThemeMode mode) async { + final current = state.asData?.value ?? const AppSettings(); + state = AsyncData(current.copyWith(themeMode: mode)); + + if (mode == ThemeMode.system) { + await _prefs.remove(PREFS_USER_DARK_THEME); + } else { + await _prefs.setBool(PREFS_USER_DARK_THEME, mode == ThemeMode.dark); + } + } + + // + // Locale override + // + + Future _loadUserLocale() async { + final raw = await _prefs.getString(PREFS_USER_LOCALE); + return _matchSupportedLocale(raw); + } + + /// Match a stored locale tag (`languageCode` or `languageCode_subtag`) + /// against [AppLocalizations.supportedLocales]. Returns the exact supported + /// instance to keep dropdown identity stable, or null when no match is found. + static Locale? _matchSupportedLocale(String? raw) { + if (raw == null || raw.isEmpty) { + return null; + } + for (final locale in AppLocalizations.supportedLocales) { + if (encodeLocale(locale) == raw) { + return locale; + } + } + // Fallback: match by language only (e.g. stored "pl" picks the only pl). + final lang = raw.split('_').first; + for (final locale in AppLocalizations.supportedLocales) { + if (locale.languageCode == lang && + (locale.countryCode == null || locale.countryCode!.isEmpty) && + (locale.scriptCode == null || locale.scriptCode!.isEmpty)) { + return locale; + } + } + return null; + } + + /// Override the app locale. Passing `null` clears the override and falls + /// back to the system locale. + Future setUserLocale(Locale? locale) async { + final current = state.asData?.value ?? const AppSettings(); + state = AsyncData(current.copyWith(userLocale: locale)); + + if (locale == null) { + await _prefs.remove(PREFS_USER_LOCALE); + } else { + await _prefs.setString(PREFS_USER_LOCALE, encodeLocale(locale)); + } + } + + // + // Keep local data on logout + // + + Future _loadKeepDataOnLogout() async => + (await _prefs.getBool(PREFS_KEEP_DATA_ON_LOGOUT)) ?? KEEP_DATA_ON_LOGOUT_DEFAULT; + + Future setKeepDataOnLogout(bool value) async { + final current = state.asData?.value ?? const AppSettings(); + state = AsyncData(current.copyWith(keepDataOnLogout: value)); + await _prefs.setBool(PREFS_KEEP_DATA_ON_LOGOUT, value); + } + + // + // Dashboard config + // + + Future> _loadDashboardItems() async { + final jsonString = await _prefs.getString(PREFS_DASHBOARD_CONFIG); + if (jsonString == null) { + return DashboardWidget.values.map((w) => DashboardItem(w)).toList(); + } + + try { + final List decoded = jsonDecode(jsonString); + final List loaded = []; + + for (final item in decoded) { + final widget = DashboardWidget.fromString(item['widget']); + if (widget != null) { + loaded.add(DashboardItem(widget, isVisible: item['visible'] as bool)); + } + } + + // Add any missing widgets (e.g. newly added features) + for (final widget in DashboardWidget.values) { + if (!loaded.any((item) => item.widget == widget)) { + var index = DashboardWidget.values.indexOf(widget); + if (index > loaded.length) { + index = loaded.length; + } + loaded.insert(index, DashboardItem(widget)); + } + } + + return loaded; + } catch (_) { + return DashboardWidget.values.map((w) => DashboardItem(w)).toList(); + } + } + + Future _persistDashboard(List items) async { + final serializable = items.map((e) => e.toJson()).toList(); + await _prefs.setString(PREFS_DASHBOARD_CONFIG, jsonEncode(serializable)); + } + + Future setWidgetVisible(DashboardWidget key, bool visible) async { + final current = state.asData?.value ?? const AppSettings(); + final updated = current.dashboardItems.map((item) { + if (item.widget == key) { + return item.copyWith(isVisible: visible); + } + return item; + }).toList(); + + state = AsyncData(current.copyWith(dashboardItems: updated)); + await _persistDashboard(updated); + } + + Future setDashboardOrder(int oldIndex, int newIndex) async { + final current = state.asData?.value ?? const AppSettings(); + final items = List.of(current.dashboardItems); + final item = items.removeAt(oldIndex); + items.insert(newIndex, item); + + state = AsyncData(current.copyWith(dashboardItems: items)); + await _persistDashboard(items); + } +} + +extension DashboardConfigQuery on List { + /// List of visible dashboard widgets, in the configured order. + List get visibleWidgets => + where((w) => w.isVisible).map((w) => w.widget).toList(); + + /// All dashboard widgets, in the configured order (including hidden). + List get allWidgets => map((w) => w.widget).toList(); + + bool isWidgetVisible(DashboardWidget key) { + final item = firstWhereOrNull((e) => e.widget == key); + return item == null || item.isVisible; + } +} diff --git a/lib/core/app_settings_notifier.freezed.dart b/lib/core/app_settings_notifier.freezed.dart new file mode 100644 index 000000000..16b0f1020 --- /dev/null +++ b/lib/core/app_settings_notifier.freezed.dart @@ -0,0 +1,286 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND +// coverage:ignore-file +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'app_settings_notifier.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +// dart format off +T _$identity(T value) => value; +/// @nodoc +mixin _$AppSettings { + + ThemeMode get themeMode; List get dashboardItems;/// Locale override. Null means the app follows the system locale. + Locale? get userLocale;/// When true, a manual logout keeps the local database on disk instead +/// of wiping it, so the same user signing back in resumes incrementally. + bool get keepDataOnLogout; +/// Create a copy of AppSettings +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$AppSettingsCopyWith get copyWith => _$AppSettingsCopyWithImpl(this as AppSettings, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is AppSettings&&(identical(other.themeMode, themeMode) || other.themeMode == themeMode)&&const DeepCollectionEquality().equals(other.dashboardItems, dashboardItems)&&(identical(other.userLocale, userLocale) || other.userLocale == userLocale)&&(identical(other.keepDataOnLogout, keepDataOnLogout) || other.keepDataOnLogout == keepDataOnLogout)); +} + + +@override +int get hashCode => Object.hash(runtimeType,themeMode,const DeepCollectionEquality().hash(dashboardItems),userLocale,keepDataOnLogout); + +@override +String toString() { + return 'AppSettings(themeMode: $themeMode, dashboardItems: $dashboardItems, userLocale: $userLocale, keepDataOnLogout: $keepDataOnLogout)'; +} + + +} + +/// @nodoc +abstract mixin class $AppSettingsCopyWith<$Res> { + factory $AppSettingsCopyWith(AppSettings value, $Res Function(AppSettings) _then) = _$AppSettingsCopyWithImpl; +@useResult +$Res call({ + ThemeMode themeMode, List dashboardItems, Locale? userLocale, bool keepDataOnLogout +}); + + + + +} +/// @nodoc +class _$AppSettingsCopyWithImpl<$Res> + implements $AppSettingsCopyWith<$Res> { + _$AppSettingsCopyWithImpl(this._self, this._then); + + final AppSettings _self; + final $Res Function(AppSettings) _then; + +/// Create a copy of AppSettings +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? themeMode = null,Object? dashboardItems = null,Object? userLocale = freezed,Object? keepDataOnLogout = null,}) { + return _then(_self.copyWith( +themeMode: null == themeMode ? _self.themeMode : themeMode // ignore: cast_nullable_to_non_nullable +as ThemeMode,dashboardItems: null == dashboardItems ? _self.dashboardItems : dashboardItems // ignore: cast_nullable_to_non_nullable +as List,userLocale: freezed == userLocale ? _self.userLocale : userLocale // ignore: cast_nullable_to_non_nullable +as Locale?,keepDataOnLogout: null == keepDataOnLogout ? _self.keepDataOnLogout : keepDataOnLogout // ignore: cast_nullable_to_non_nullable +as bool, + )); +} + +} + + +/// Adds pattern-matching-related methods to [AppSettings]. +extension AppSettingsPatterns on AppSettings { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _AppSettings value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _AppSettings() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _AppSettings value) $default,){ +final _that = this; +switch (_that) { +case _AppSettings(): +return $default(_that);} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _AppSettings value)? $default,){ +final _that = this; +switch (_that) { +case _AppSettings() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( ThemeMode themeMode, List dashboardItems, Locale? userLocale, bool keepDataOnLogout)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _AppSettings() when $default != null: +return $default(_that.themeMode,_that.dashboardItems,_that.userLocale,_that.keepDataOnLogout);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( ThemeMode themeMode, List dashboardItems, Locale? userLocale, bool keepDataOnLogout) $default,) {final _that = this; +switch (_that) { +case _AppSettings(): +return $default(_that.themeMode,_that.dashboardItems,_that.userLocale,_that.keepDataOnLogout);} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( ThemeMode themeMode, List dashboardItems, Locale? userLocale, bool keepDataOnLogout)? $default,) {final _that = this; +switch (_that) { +case _AppSettings() when $default != null: +return $default(_that.themeMode,_that.dashboardItems,_that.userLocale,_that.keepDataOnLogout);case _: + return null; + +} +} + +} + +/// @nodoc + + +class _AppSettings implements AppSettings { + const _AppSettings({this.themeMode = ThemeMode.system, final List dashboardItems = const [], this.userLocale, this.keepDataOnLogout = KEEP_DATA_ON_LOGOUT_DEFAULT}): _dashboardItems = dashboardItems; + + +@override@JsonKey() final ThemeMode themeMode; + final List _dashboardItems; +@override@JsonKey() List get dashboardItems { + if (_dashboardItems is EqualUnmodifiableListView) return _dashboardItems; + // ignore: implicit_dynamic_type + return EqualUnmodifiableListView(_dashboardItems); +} + +/// Locale override. Null means the app follows the system locale. +@override final Locale? userLocale; +/// When true, a manual logout keeps the local database on disk instead +/// of wiping it, so the same user signing back in resumes incrementally. +@override@JsonKey() final bool keepDataOnLogout; + +/// Create a copy of AppSettings +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$AppSettingsCopyWith<_AppSettings> get copyWith => __$AppSettingsCopyWithImpl<_AppSettings>(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _AppSettings&&(identical(other.themeMode, themeMode) || other.themeMode == themeMode)&&const DeepCollectionEquality().equals(other._dashboardItems, _dashboardItems)&&(identical(other.userLocale, userLocale) || other.userLocale == userLocale)&&(identical(other.keepDataOnLogout, keepDataOnLogout) || other.keepDataOnLogout == keepDataOnLogout)); +} + + +@override +int get hashCode => Object.hash(runtimeType,themeMode,const DeepCollectionEquality().hash(_dashboardItems),userLocale,keepDataOnLogout); + +@override +String toString() { + return 'AppSettings(themeMode: $themeMode, dashboardItems: $dashboardItems, userLocale: $userLocale, keepDataOnLogout: $keepDataOnLogout)'; +} + + +} + +/// @nodoc +abstract mixin class _$AppSettingsCopyWith<$Res> implements $AppSettingsCopyWith<$Res> { + factory _$AppSettingsCopyWith(_AppSettings value, $Res Function(_AppSettings) _then) = __$AppSettingsCopyWithImpl; +@override @useResult +$Res call({ + ThemeMode themeMode, List dashboardItems, Locale? userLocale, bool keepDataOnLogout +}); + + + + +} +/// @nodoc +class __$AppSettingsCopyWithImpl<$Res> + implements _$AppSettingsCopyWith<$Res> { + __$AppSettingsCopyWithImpl(this._self, this._then); + + final _AppSettings _self; + final $Res Function(_AppSettings) _then; + +/// Create a copy of AppSettings +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? themeMode = null,Object? dashboardItems = null,Object? userLocale = freezed,Object? keepDataOnLogout = null,}) { + return _then(_AppSettings( +themeMode: null == themeMode ? _self.themeMode : themeMode // ignore: cast_nullable_to_non_nullable +as ThemeMode,dashboardItems: null == dashboardItems ? _self._dashboardItems : dashboardItems // ignore: cast_nullable_to_non_nullable +as List,userLocale: freezed == userLocale ? _self.userLocale : userLocale // ignore: cast_nullable_to_non_nullable +as Locale?,keepDataOnLogout: null == keepDataOnLogout ? _self.keepDataOnLogout : keepDataOnLogout // ignore: cast_nullable_to_non_nullable +as bool, + )); +} + + +} + +// dart format on diff --git a/lib/core/app_settings_notifier.g.dart b/lib/core/app_settings_notifier.g.dart new file mode 100644 index 000000000..629d762e0 --- /dev/null +++ b/lib/core/app_settings_notifier.g.dart @@ -0,0 +1,54 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'app_settings_notifier.dart'; + +// ************************************************************************** +// RiverpodGenerator +// ************************************************************************** + +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint, type=warning + +@ProviderFor(AppSettingsNotifier) +final appSettingsProvider = AppSettingsNotifierProvider._(); + +final class AppSettingsNotifierProvider + extends $AsyncNotifierProvider { + AppSettingsNotifierProvider._() + : super( + from: null, + argument: null, + retry: null, + name: r'appSettingsProvider', + isAutoDispose: false, + dependencies: null, + $allTransitiveDependencies: null, + ); + + @override + String debugGetCreateSourceHash() => _$appSettingsNotifierHash(); + + @$internal + @override + AppSettingsNotifier create() => AppSettingsNotifier(); +} + +String _$appSettingsNotifierHash() => r'd1fd574fb63a933ff4e26f5ecadab97c6033d2ee'; + +abstract class _$AppSettingsNotifier extends $AsyncNotifier { + FutureOr build(); + @$mustCallSuper + @override + WhenComplete runBuild() { + final ref = this.ref as $Ref, AppSettings>; + final element = + ref.element + as $ClassProviderElement< + AnyNotifier, AppSettings>, + AsyncValue, + Object?, + Object? + >; + return element.handleCreate(ref, build); + } +} diff --git a/lib/helpers/charts.dart b/lib/core/charts.dart similarity index 100% rename from lib/helpers/charts.dart rename to lib/core/charts.dart diff --git a/lib/helpers/colors.dart b/lib/core/colors.dart similarity index 100% rename from lib/helpers/colors.dart rename to lib/core/colors.dart diff --git a/lib/helpers/consts.dart b/lib/core/consts.dart similarity index 70% rename from lib/helpers/consts.dart rename to lib/core/consts.dart index c14b9e363..30136fdd7 100644 --- a/lib/helpers/consts.dart +++ b/lib/core/consts.dart @@ -19,6 +19,13 @@ import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; +/// Minimum server version required by this version of the app. +/// +/// Bump this value whenever you depend on API changes that are only available +/// in a newer server release. The check is performed during login and +/// auto-login and mirrors what the server does with MIN_APP_VERSION. +const MIN_SERVER_VERSION = '2.6'; + /// Size for the "smaller" icons, e.g. when they belong to less important items /// and we don't want to fill the whole screen const double ICON_SIZE_SMALL = 20; @@ -31,16 +38,6 @@ const DEFAULT_SERVER_TEST = 'https://dev.wger.de'; const TESTSERVER_USER_NAME = 'user'; const TESTSERVER_PASSWORD = 'flutteruser'; -/// Minimum server version required by this version of the app. -/// -/// Bump this value whenever you depend on API changes that are only available -/// in a newer server release. The check is performed during login and -/// auto-login and mirrors what the server does with MIN_APP_VERSION. -const MIN_SERVER_VERSION = '2.5'; - -/// Default impression for a workout session (neutral) -const DEFAULT_IMPRESSION = 2; - // Weight and repetition units for the workout logs const REP_UNIT_REPETITIONS_ID = 1; const REP_UNIT_TILL_FAILURE_ID = 2; @@ -55,11 +52,6 @@ const DAYS_TO_CACHE = 20; const SUBMIT_BUTTON_KEY_NAME = 'submit-button'; /// Local Preferences keys -const PREFS_EXERCISES = 'exerciseData'; -const PREFS_LAST_UPDATED_MUSCLES = 'lastUpdatedMuscles'; -const PREFS_LAST_UPDATED_EQUIPMENT = 'lastUpdatedEquipment'; -const PREFS_LAST_UPDATED_CATEGORIES = 'lastUpdatedCategories'; -const PREFS_LAST_UPDATED_LANGUAGES = 'lastUpdatedLanguages'; const PREFS_INGREDIENTS = 'ingredientData'; const PREFS_WORKOUT_UNITS = 'workoutUnits'; const PREFS_USER = 'userData'; @@ -67,6 +59,44 @@ const PREFS_USER_DARK_THEME = 'userDarkMode'; const PREFS_USER_LOCALE = 'userLocale'; const PREFS_LAST_SERVER = 'lastServer'; +/// Headless JWT auth: SharedPreferences keys. +/// +/// Read in parallel with the legacy `PREFS_USER` blob during the migration +/// window; once a user logs in via the headless flow these supersede it. +/// The refresh token is **not** stored here, it lives in secure storage +/// (`SECURE_STORAGE_REFRESH_TOKEN`). +const PREFS_ACCESS_TOKEN = 'accessToken'; +const PREFS_ACCESS_EXPIRES_AT = 'accessExpiresAt'; +const PREFS_TOKEN_TYPE = 'tokenType'; +const PREFS_SERVER_URL = 'serverUrl'; + +/// JWT `sub` of the user whose data is materialised in the local PowerSync +/// DB. Compared on login to wipe the DB only on a genuine user switch. +const PREFS_DB_OWNER_USER_ID = 'dbOwnerUserId'; + +/// User preference: keep the local PowerSync DB on logout instead of wiping +/// it. Defaults to [KEEP_DATA_ON_LOGOUT_DEFAULT]. +const PREFS_KEEP_DATA_ON_LOGOUT = 'keepDataOnLogout'; +const KEEP_DATA_ON_LOGOUT_DEFAULT = true; + +/// Secure-storage key for the headless refresh token. +const SECURE_STORAGE_REFRESH_TOKEN = 'wger_refresh_token'; + +/// Login-CSRF defence for the web-handoff flow. Stored in SharedPreferences +/// (not a secret, just a one-shot nonce echoed back by the server). +const PREFS_APP_AUTH_STATE = 'appAuthState'; +const PREFS_APP_AUTH_STATE_AT = 'appAuthStateAt'; +// The server URL the handoff was started for, round-tripped with the nonce so +// the returning token is redeemed against the same (e.g. self-hosted) server. +const PREFS_APP_AUTH_SERVER = 'appAuthServer'; + +/// True once PowerSync has been reachable for this user at least once +/// (i.e. its liveness probe returned 200). +const PREFS_HAS_EVER_SYNCED = 'hasEverSynced'; + +/// Absolute URL prefix for server-side media files +const PREFS_MEDIA_URL_PREFIX = 'mediaUrlPrefix'; + const DEFAULT_ANIMATION_DURATION = Duration(milliseconds: 200); const DEFAULT_ANIMATION_CURVE = Curves.bounceIn; @@ -110,8 +140,11 @@ enum EXERCISE_IMAGE_ART_STYLE { OTHER, } -/// Dummy ID for pseudo meals -const PSEUDO_MEAL_ID = -1; +/// Sentinel UUID for the synthetic "loose log entries" pseudo-meal. +/// +/// All-zero UUID is reserved by RFC 4122 (the "nil UUID") and won't collide +/// with any client-generated UUID v4. +const PSEUDO_MEAL_ID = '00000000-0000-0000-0000-000000000000'; /// Colors used for muscles const COLOR_MAIN_MUSCLES = Colors.red; @@ -127,8 +160,12 @@ const GITHUB_REPO_URL = '$GITHUB_PROJECT_URL/flutter'; const GITHUB_ISSUES_URL = '$GITHUB_REPO_URL/issues/new/choose'; const GITHUB_ISSUES_BUG_URL = '$GITHUB_REPO_URL/issues/new?template=1_bug.yml'; const GITHUB_SPONSORS_URL = 'https://github.com/sponsors/wger-project'; + +/// Maximum length for a pre-filled GitHub issue URL +const GITHUB_ISSUES_MAX_URL_LENGTH = 8000; const DISCORD_URL = 'https://discord.gg/rPWFv6W'; const MASTODON_URL = 'https://fosstodon.org/@wger'; +const READTHEDOCS_URL = 'https://wger.readthedocs.io'; const WEBLATE_URL = 'https://hosted.weblate.org/engage/wger'; const BUY_ME_A_COFFEE_URL = 'https://buymeacoffee.com/wger'; const LIBERAPAY_URL = 'https://liberapay.com/wger'; diff --git a/lib/screens/dashboard.dart b/lib/core/dashboard.dart similarity index 69% rename from lib/screens/dashboard.dart rename to lib/core/dashboard.dart index 56a8e5b9b..c55088c57 100644 --- a/lib/screens/dashboard.dart +++ b/lib/core/dashboard.dart @@ -1,6 +1,6 @@ /* * This file is part of wger Workout Manager . - * Copyright (c) 2026 wger Team + * Copyright (c) 2020 - 2026 wger Team * * wger Workout Manager is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by @@ -17,19 +17,19 @@ */ import 'package:flutter/material.dart'; -import 'package:provider/provider.dart'; -import 'package:wger/helpers/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:wger/core/app_settings_notifier.dart'; +import 'package:wger/core/material.dart'; +import 'package:wger/core/widgets/app_bar.dart'; +import 'package:wger/core/widgets/dashboard/calendar.dart'; +import 'package:wger/core/widgets/dashboard/widgets/measurements.dart'; +import 'package:wger/core/widgets/dashboard/widgets/nutrition.dart'; +import 'package:wger/core/widgets/dashboard/widgets/routines.dart'; +import 'package:wger/core/widgets/dashboard/widgets/trophies.dart'; +import 'package:wger/core/widgets/dashboard/widgets/weight.dart'; import 'package:wger/l10n/generated/app_localizations.dart'; -import 'package:wger/providers/user.dart'; -import 'package:wger/widgets/core/app_bar.dart'; -import 'package:wger/widgets/dashboard/calendar.dart'; -import 'package:wger/widgets/dashboard/widgets/measurements.dart'; -import 'package:wger/widgets/dashboard/widgets/nutrition.dart'; -import 'package:wger/widgets/dashboard/widgets/routines.dart'; -import 'package:wger/widgets/dashboard/widgets/trophies.dart'; -import 'package:wger/widgets/dashboard/widgets/weight.dart'; -class DashboardScreen extends StatelessWidget { +class DashboardScreen extends ConsumerWidget { const DashboardScreen({super.key}); static const routeName = '/dashboard'; @@ -52,10 +52,14 @@ class DashboardScreen extends StatelessWidget { } @override - Widget build(BuildContext context) { + Widget build(BuildContext context, WidgetRef ref) { final width = MediaQuery.sizeOf(context).width; final isMobile = width < MATERIAL_XS_BREAKPOINT; - final user = Provider.of(context); + final visibleWidgets = ref.watch( + appSettingsProvider.select( + (s) => s.value?.dashboardItems.visibleWidgets ?? const [], + ), + ); late final int crossAxisCount; if (width < MATERIAL_XS_BREAKPOINT) { @@ -76,16 +80,15 @@ class DashboardScreen extends StatelessWidget { child: isMobile ? ListView.builder( padding: const EdgeInsets.all(10), - itemBuilder: (context, index) => - _getDashboardWidget(user.dashboardWidgets[index]), - itemCount: user.dashboardWidgets.length, + itemBuilder: (context, index) => _getDashboardWidget(visibleWidgets[index]), + itemCount: visibleWidgets.length, ) : GridView.builder( padding: const EdgeInsets.all(10), itemBuilder: (context, index) => SingleChildScrollView( - child: _getDashboardWidget(user.dashboardWidgets[index]), + child: _getDashboardWidget(visibleWidgets[index]), ), - itemCount: user.dashboardWidgets.length, + itemCount: visibleWidgets.length, gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( crossAxisCount: crossAxisCount, childAspectRatio: 0.7, diff --git a/lib/helpers/date.dart b/lib/core/date.dart similarity index 100% rename from lib/helpers/date.dart rename to lib/core/date.dart diff --git a/lib/helpers/errors.dart b/lib/core/error_dialogs.dart similarity index 62% rename from lib/helpers/errors.dart rename to lib/core/error_dialogs.dart index b2c15e2b5..4105e2209 100644 --- a/lib/helpers/errors.dart +++ b/lib/core/error_dialogs.dart @@ -16,25 +16,24 @@ * along with this program. If not, see . */ -import 'dart:async'; -import 'dart:io'; - import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_html/flutter_html.dart'; import 'package:json_annotation/json_annotation.dart'; import 'package:logging/logging.dart'; -import 'package:provider/provider.dart'; import 'package:url_launcher/url_launcher.dart'; +import 'package:wger/core/errors.dart'; import 'package:wger/core/exceptions/http_exception.dart'; +import 'package:wger/core/keys.dart'; +import 'package:wger/core/logs.dart'; import 'package:wger/l10n/generated/app_localizations.dart'; -import 'package:wger/main.dart'; -import 'package:wger/models/workouts/log.dart'; -import 'package:wger/providers/routines.dart'; -import 'consts.dart'; -import 'logs.dart'; +/// Whether an error dialog is currently on screen. +/// +/// Errors can fire in quick succession; this guards against stacking several +/// modal dialogs on top of each other. +bool _errorDialogVisible = false; void showHttpExceptionErrorDialog(WgerHttpException exception, {BuildContext? context}) { final logger = Logger('showHttpExceptionErrorDialog'); @@ -51,6 +50,12 @@ void showHttpExceptionErrorDialog(WgerHttpException exception, {BuildContext? co return; } + if (_errorDialogVisible) { + logger.info('Suppressing error dialog, one is already visible: $exception'); + return; + } + _errorDialogVisible = true; + showDialog( context: dialogContext, builder: (ctx) => AlertDialog( @@ -76,7 +81,15 @@ void showHttpExceptionErrorDialog(WgerHttpException exception, {BuildContext? co ), ], ), - ); + ).whenComplete(() => _errorDialogVisible = false); +} + +/// Flattens a [WgerHttpException]'s context and error map into a readable +/// multi-line string for the diagnostic dialog and bug report. +String _formatHttpExceptionDetail(WgerHttpException error) { + String lines(Map m) => m.entries.map((e) => '${e.key}: ${e.value}').join('\n'); + final ctx = error.context == null || error.context!.isEmpty ? '' : '${lines(error.context!)}\n\n'; + return '$ctx${lines(error.errors)}'; } void showGeneralErrorDialog(dynamic error, StackTrace? stackTrace, {BuildContext? context}) { @@ -85,7 +98,7 @@ void showGeneralErrorDialog(dynamic error, StackTrace? stackTrace, {BuildContext // of a widget's build method. final BuildContext? dialogContext = context ?? navigatorKey.currentContext; - final logger = Logger('showHttpExceptionErrorDialog'); + final logger = Logger('showGeneralErrorDialog'); if (dialogContext == null) { if (kDebugMode) { @@ -94,32 +107,32 @@ void showGeneralErrorDialog(dynamic error, StackTrace? stackTrace, {BuildContext return; } + if (_errorDialogVisible) { + logger.info('Suppressing error dialog, one is already visible: $error'); + return; + } + _errorDialogVisible = true; + final i18n = AppLocalizations.of(dialogContext); - // If possible, determine the error title and message based on the error type. + // If possible, determine the issue title and message based on the error type. // (Note that issue titles and error messages are not localized) - bool allowReportIssue = true; String issueTitle = 'An error occurred'; String issueErrorMessage = error.toString(); - String errorTitle = i18n.anErrorOccurred; - String errorDescription = i18n.errorInfoDescription; - var icon = Icons.error; - if (error is TimeoutException) { - issueTitle = 'Network Timeout'; - issueErrorMessage = - 'The connection to the server timed out. Please check your ' - 'internet connection and try again.'; - } else if (error is FlutterErrorDetails) { + if (error is FlutterErrorDetails) { issueTitle = 'Application Error'; issueErrorMessage = error.exceptionAsString(); } else if (error is MissingRequiredKeysException) { issueTitle = 'Missing Required Key'; - } else if (error is SocketException) { - allowReportIssue = false; - icon = Icons.signal_wifi_connected_no_internet_4_outlined; - errorTitle = i18n.errorCouldNotConnectToServer; - errorDescription = i18n.errorCouldNotConnectToServerDetails; + } else if (error is WgerHttpException) { + final status = error.statusCode == null ? '' : ' (HTTP ${error.statusCode})'; + issueTitle = switch (error.source) { + ExceptionSource.powersync => 'Sync upload rejected$status', + ExceptionSource.flutter => 'Application error$status', + ExceptionSource.api => 'Server error$status', + }; + issueErrorMessage = _formatHttpExceptionDetail(error); } final String fullStackTrace = stackTrace?.toString() ?? 'No stack trace available.'; @@ -134,16 +147,19 @@ void showGeneralErrorDialog(dynamic error, StackTrace? stackTrace, {BuildContext spacing: 8, mainAxisAlignment: MainAxisAlignment.center, children: [ - Icon(icon, color: Theme.of(context).colorScheme.error), + Icon(Icons.error, color: Theme.of(context).colorScheme.error), Expanded( - child: Text(errorTitle, style: TextStyle(color: Theme.of(context).colorScheme.error)), + child: Text( + i18n.anErrorOccurred, + style: TextStyle(color: Theme.of(context).colorScheme.error), + ), ), ], ), content: SingleChildScrollView( child: ListBody( children: [ - Text(errorDescription), + Text(i18n.errorInfoDescription), const SizedBox(height: 8), Text(i18n.errorInfoDescription2), const SizedBox(height: 10), @@ -198,42 +214,31 @@ void showGeneralErrorDialog(dynamic error, StackTrace? stackTrace, {BuildContext ), ), actions: [ - if (allowReportIssue) - TextButton( - child: const Text('Report issue'), - onPressed: () async { - final logText = applicationLogs.isEmpty - ? '-- No logs available --' - : applicationLogs.join('\n'); - final description = Uri.encodeComponent( - '## Description\n\n' - '[Please describe what you were doing when the error occurred.]\n\n' - '## Error details\n\n' - 'Error title: $issueTitle\n' - 'Error message: $issueErrorMessage\n' - 'Stack trace:\n' - '```\n$stackTrace\n```\n\n' - 'App logs (last ${applicationLogs.length} entries):\n' - '```\n$logText\n```', - ); - final githubIssueUrl = - '$GITHUB_ISSUES_BUG_URL' - '&title=$issueTitle' - '&description=$description'; - final Uri reportUri = Uri.parse(githubIssueUrl); + TextButton( + child: const Text('Report issue'), + onPressed: () async { + final githubIssueUrl = buildGithubIssueUrl( + issueTitle: issueTitle, + issueErrorMessage: issueErrorMessage, + stackTrace: fullStackTrace, + applicationLogs: applicationLogs, + ); + final Uri reportUri = Uri.parse(githubIssueUrl); - try { - await launchUrl(reportUri, mode: LaunchMode.externalApplication); - } catch (e) { - if (kDebugMode) { - logger.warning('Error launching URL: $e'); - } + try { + await launchUrl(reportUri, mode: LaunchMode.externalApplication); + } catch (e) { + if (kDebugMode) { + logger.warning('Error launching URL: $e'); + } + if (context.mounted) { ScaffoldMessenger.of( context, ).showSnackBar(SnackBar(content: Text('Error opening issue tracker: $e'))); } - }, - ), + } + }, + ), FilledButton( child: Text(MaterialLocalizations.of(context).okButtonLabel), onPressed: () { @@ -243,7 +248,66 @@ void showGeneralErrorDialog(dynamic error, StackTrace? stackTrace, {BuildContext ], ); }, - ); + ).whenComplete(() => _errorDialogVisible = false); +} + +/// Routes [error] to the appropriate UI based on its [ErrorSeverity]. +/// +/// The caller is responsible for logging the error beforehand. +void handleError(Object? error, StackTrace? stackTrace) { + switch (classifyError(error)) { + case ErrorSeverity.cosmetic: + break; + case ErrorSeverity.transient: + showTransientErrorSnackbar(); + case ErrorSeverity.fatal: + // API errors are the form-validation fallback (clean field errors); + // other sources are diagnostic and get the dialog with logs and report. + if (error is WgerHttpException && error.source == ExceptionSource.api) { + showHttpExceptionErrorDialog(error); + } else { + showGeneralErrorDialog(error, stackTrace); + } + } +} + +/// Shows a brief, non-blocking snackbar telling the user about a (hopefully) +/// transient error such as network problems, etc. +void showTransientErrorSnackbar() { + final messenger = scaffoldMessengerKey.currentState; + final context = navigatorKey.currentContext; + + if (messenger == null || context == null) { + if (kDebugMode) { + Logger( + 'showNetworkErrorSnackbar', + ).warning('Could not show snackbar: no messenger or context available.'); + } + return; + } + + messenger + ..clearSnackBars() + ..showSnackBar( + SnackBar(content: Text(AppLocalizations.of(context).errorCouldNotConnectToServer)), + ); +} + +/// Shows a brief, non-blocking snackbar telling the user their session is no +/// longer valid and they need to log in again. +void showSessionExpiredSnackbar() { + final messenger = scaffoldMessengerKey.currentState; + final context = navigatorKey.currentContext; + + if (messenger == null || context == null) { + return; + } + + messenger + ..clearSnackBars() + ..showSnackBar( + SnackBar(content: Text(AppLocalizations.of(context).sessionExpired)), + ); } /// A widget to render HTML errors returned by the server @@ -311,102 +375,9 @@ class CopyToClipboardButton extends StatelessWidget { } } -void showDeleteDialog(BuildContext context, String confirmDeleteName, Log log) async { - final res = await showDialog( - context: context, - builder: (BuildContext contextDialog) { - return AlertDialog( - content: Text(AppLocalizations.of(context).confirmDelete(confirmDeleteName)), - actions: [ - TextButton( - key: const ValueKey('cancel-button'), - child: Text(MaterialLocalizations.of(context).cancelButtonLabel), - onPressed: () => Navigator.of(contextDialog).pop(), - ), - TextButton( - key: const ValueKey('delete-button'), - child: Text( - AppLocalizations.of(context).delete, - style: TextStyle(color: Theme.of(context).colorScheme.error), - ), - onPressed: () { - context.read().deleteLog(log.id!, log.routineId); - - Navigator.of(contextDialog).pop(); - - ScaffoldMessenger.of(context).showSnackBar( - SnackBar( - content: Text( - AppLocalizations.of(context).successfullyDeleted, - textAlign: TextAlign.center, - ), - ), - ); - }, - ), - ], - ); - }, - ); - return res; -} - -class ApiError { - final String key; - late List errorMessages = []; - - ApiError({required this.key, this.errorMessages = const []}); - - @override - String toString() { - return 'ApiError(key: $key, errorMessage: $errorMessages)'; - } -} - -/// Extracts error messages from the server response, -/// including nested error structures. -List extractErrors(Map errors) { - final List errorList = []; - _extractErrorsRecursive(errors, errorList); - return errorList; -} - -void _extractErrorsRecursive(dynamic errors, List errorList, [String? parentKey]) { - if (errors is Map) { - for (final key in errors.keys) { - final value = errors[key]; - final fullKey = parentKey != null ? '$parentKey | ${_formatHeader(key)}' : key; - _extractErrorsRecursive(value, errorList, fullKey); - } - } else if (errors is List) { - // List of Maps (nested errors) - if (errors.isNotEmpty && errors.first is Map) { - for (final item in errors) { - _extractErrorsRecursive(item, errorList, parentKey); - } - } else { - // List of Strings - final header = _formatHeader(parentKey ?? ''); - final error = ApiError(key: header, errorMessages: errors.cast()); - errorList.add(error); - } - } else if (errors is String) { - final header = _formatHeader(parentKey ?? ''); - final error = ApiError(key: header, errorMessages: [errors]); - errorList.add(error); - } -} - -String _formatHeader(String key) { - var header = key[0].toUpperCase() + key.substring(1, key.length); - header = header.replaceAll('_', ' '); - return header.replaceAll('.', ' '); -} - /// Processes the error messages from the server and returns a list of widgets List formatApiErrors(List errors, {Color? color}) { final logger = Logger('formatApiErrors'); - final textColor = color ?? Colors.black; final List errorList = []; @@ -414,13 +385,13 @@ List formatApiErrors(List errors, {Color? color}) { errorList.add( Text( error.key, - style: TextStyle(fontWeight: FontWeight.bold, color: textColor), + style: TextStyle(fontWeight: FontWeight.bold, color: color), ), ); logger.warning(error.errorMessages); for (final message in error.errorMessages) { - errorList.add(Text(message, style: TextStyle(color: textColor))); + errorList.add(Text(message, style: TextStyle(color: color))); } errorList.add(const SizedBox(height: 8)); } @@ -430,21 +401,20 @@ List formatApiErrors(List errors, {Color? color}) { /// Processes the error messages from the server and returns a list of widgets List formatTextErrors(List errors, {String? title, Color? color}) { - final textColor = color ?? Colors.black; - final List errorList = []; + // A null color inherits the surrounding text style (readable in dark mode). if (title != null) { errorList.add( Text( title, - style: TextStyle(fontWeight: FontWeight.bold, color: textColor), + style: TextStyle(fontWeight: FontWeight.bold, color: color), ), ); } for (final message in errors) { - errorList.add(Text(message, style: TextStyle(color: textColor))); + errorList.add(Text(message, style: TextStyle(color: color))); } errorList.add(const SizedBox(height: 8)); @@ -460,6 +430,12 @@ class FormHttpErrorsWidget extends StatelessWidget { Widget build(BuildContext context) { final theme = Theme.of(context); + // A JSON endpoint answering with HTML often means a proxy or bot wall such + // as Anubis intercepted the request. Such pages render near-blank through + // flutter_html since their visible content is JS-driven. In these cases we + // try pull out the , which usually names the culprit + final htmlTitle = exception.type == ErrorType.html ? htmlErrorTitle(exception.htmlError) : null; + return Container( constraints: const BoxConstraints(maxHeight: 250), decoration: BoxDecoration( @@ -471,9 +447,18 @@ class FormHttpErrorsWidget extends StatelessWidget { child: Column( children: [ Icon(Icons.error_outline, color: theme.colorScheme.error), - if (exception.type == ErrorType.html) - ServerHtmlError(data: exception.htmlError) - else + if (exception.type == ErrorType.html) ...[ + if (htmlTitle != null) + Text( + htmlTitle, + textAlign: TextAlign.center, + style: TextStyle( + fontWeight: FontWeight.bold, + color: theme.colorScheme.error, + ), + ), + ServerHtmlError(data: exception.htmlError), + ] else ...formatApiErrors( extractErrors(exception.errors), color: theme.colorScheme.error, @@ -484,3 +469,25 @@ class FormHttpErrorsWidget extends StatelessWidget { ); } } + +/// Extracts the `<title>` of an HTML error body (e.g. a proxy or bot-wall page +/// such as Cloudflare or Anubis), with the few HTML entities that show up in +/// such titles unescaped. Returns null when there is no usable title. +String? htmlErrorTitle(String html) { + final match = RegExp( + r'<title[^>]*>(.*?)', + caseSensitive: false, + dotAll: true, + ).firstMatch(html); + final raw = match?.group(1)?.trim(); + if (raw == null || raw.isEmpty) { + return null; + } + return raw + .replaceAll(''', "'") + .replaceAll(''', "'") + .replaceAll('"', '"') + .replaceAll('<', '<') + .replaceAll('>', '>') + .replaceAll('&', '&'); +} diff --git a/lib/core/errors.dart b/lib/core/errors.dart new file mode 100644 index 000000000..07a2ac8bb --- /dev/null +++ b/lib/core/errors.dart @@ -0,0 +1,157 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'dart:async'; +import 'dart:io'; + +import 'package:flutter/foundation.dart'; +import 'package:flutter/painting.dart'; +import 'package:http/http.dart' as http; + +import 'consts.dart'; + +/// How an error should be surfaced to the user. +enum ErrorSeverity { + /// Logged only; not worth interrupting the user (e.g. layout overflows). + cosmetic, + + /// A brief, non-blocking snackbar (e.g. transient connectivity problems). + transient, + + /// A blocking error dialog. + fatal, +} + +/// Classifies [error] to decide how it should be surfaced. +ErrorSeverity classifyError(Object? error) { + // Flutter reports layout overflows as a plain FlutterError without a + // dedicated type, so matching the message is the only option. + final isLayoutOverflow = error is FlutterError && error.toString().contains('overflowed'); + + // A failed network image load as a plain StateError + final isImageLoadFailure = error is StateError && error.toString().contains('Failed to load'); + + if (error is NetworkImageLoadException || isLayoutOverflow || isImageLoadFailure) { + return ErrorSeverity.cosmetic; + } + if (error is SocketException || error is http.ClientException || error is TimeoutException) { + return ErrorSeverity.transient; + } + return ErrorSeverity.fatal; +} + +/// True if [e] means "the server can't be reached right now", as opposed to +/// an HTTP response we got but didn't like (e.g. a 401, which means the token +/// is invalid) +bool isNetworkError(Object e) { + return e is http.ClientException || + e is SocketException || + e is HandshakeException || + e is TimeoutException; +} + +/// Builds the URL that opens a pre-filled GitHub bug report. +/// +/// The error details are passed to GitHub as query parameters and since +/// GitHub rejects URLs longer than [GITHUB_ISSUES_MAX_URL_LENGTH], when +/// the report would exceed that limit, the oldest log entries are pruned +/// until the URL fits. +String buildGithubIssueUrl({ + required String issueTitle, + required String issueErrorMessage, + required String stackTrace, + required List applicationLogs, +}) { + String composeUrl(List logs) { + final logText = logs.isEmpty ? '-- No logs available --' : logs.join('\n'); + final description = + '## Description\n\n' + '[Please describe what you were doing when the error occurred.]\n\n' + '## Error details\n\n' + 'Error title: $issueTitle\n' + 'Error message: $issueErrorMessage\n' + 'Stack trace:\n```\n$stackTrace\n```\n\n' + 'App logs (last ${logs.length} entries):\n```\n$logText\n```'; + return '$GITHUB_ISSUES_BUG_URL' + '&title=${Uri.encodeComponent(issueTitle)}' + '&description=${Uri.encodeComponent(description)}'; + } + + // The logs come newest-first, so the oldest entry is the last one. Drop it + // and retry until the URL fits within the limit. + var logs = applicationLogs; + while (true) { + final url = composeUrl(logs); + if (url.length <= GITHUB_ISSUES_MAX_URL_LENGTH || logs.isEmpty) { + return url; + } + logs = logs.sublist(0, logs.length - 1); + } +} + +class ApiError { + final String key; + late List errorMessages = []; + + ApiError({required this.key, this.errorMessages = const []}); + + @override + String toString() { + return 'ApiError(key: $key, errorMessage: $errorMessages)'; + } +} + +/// Extracts error messages from the server response, +/// including nested error structures. +List extractErrors(Map errors) { + final List errorList = []; + _extractErrorsRecursive(errors, errorList); + return errorList; +} + +void _extractErrorsRecursive(dynamic errors, List errorList, [String? parentKey]) { + if (errors is Map) { + for (final key in errors.keys) { + final value = errors[key]; + final fullKey = parentKey != null ? '$parentKey | ${_formatHeader(key)}' : key; + _extractErrorsRecursive(value, errorList, fullKey); + } + } else if (errors is List) { + // List of Maps (nested errors) + if (errors.isNotEmpty && errors.first is Map) { + for (final item in errors) { + _extractErrorsRecursive(item, errorList, parentKey); + } + } else { + // List of Strings + final header = _formatHeader(parentKey ?? ''); + final error = ApiError(key: header, errorMessages: errors.cast()); + errorList.add(error); + } + } else if (errors is String) { + final header = _formatHeader(parentKey ?? ''); + final error = ApiError(key: header, errorMessages: [errors]); + errorList.add(error); + } +} + +String _formatHeader(String key) { + var header = key[0].toUpperCase() + key.substring(1, key.length); + header = header.replaceAll('_', ' '); + return header.replaceAll('.', ' '); +} diff --git a/lib/core/exceptions/http_exception.dart b/lib/core/exceptions/http_exception.dart index 73cbc24c0..eeefb1af1 100644 --- a/lib/core/exceptions/http_exception.dart +++ b/lib/core/exceptions/http_exception.dart @@ -27,6 +27,11 @@ enum ErrorType { text, } +/// Where an exception originated, so the error handler can route and present +/// it differently (a plain API validation error vs a PowerSync upload +/// rejection worth reporting). +enum ExceptionSource { api, powersync, flutter } + const HTML_ERROR_KEY = 'html_error'; class WgerHttpException implements Exception { @@ -37,8 +42,21 @@ class WgerHttpException implements Exception { /// or similar. late ErrorType type; + /// Where the exception came from (drives routing and presentation). + final ExceptionSource source; + + /// The HTTP status code, when built from a [Response]. + final int? statusCode; + + /// Optional structured context for diagnostics (e.g. the PowerSync table/op). + final Map? context; + /// Custom http exception - WgerHttpException(Response response) { + WgerHttpException( + Response response, { + this.source = ExceptionSource.api, + this.context, + }) : statusCode = response.statusCode { type = ErrorType.json; final dynamic responseBody = response.body; @@ -67,7 +85,12 @@ class WgerHttpException implements Exception { } } - WgerHttpException.fromMap(Map map) : type = ErrorType.json { + WgerHttpException.fromMap( + Map map, { + this.source = ExceptionSource.api, + this.statusCode, + this.context, + }) : type = ErrorType.json { errors = map; } @@ -81,6 +104,7 @@ class WgerHttpException implements Exception { @override String toString() { - return 'WgerHttpException ($type): $errors'; + final ctxStr = context == null ? '' : ', context: $context'; + return 'WgerHttpException(${source.name}, status ${statusCode ?? '-'}, $type): $errors$ctxStr'; } } diff --git a/lib/core/exceptions/mfa_required_exception.dart b/lib/core/exceptions/mfa_required_exception.dart new file mode 100644 index 000000000..f90f5f9b2 --- /dev/null +++ b/lib/core/exceptions/mfa_required_exception.dart @@ -0,0 +1,35 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +/// Thrown when an `allauth.headless` login or signup response indicates that +/// the user must complete a second authentication factor before the session +/// can be issued tokens. +/// +/// The [sessionToken] carries the short-lived flow handle that the follow-up +/// call to `auth/2fa/authenticate` must echo back. [availableFactors] lists +/// the supported factor ids ('totp', 'recovery_codes', 'webauthn') when the +/// server included them, so the UI can pick the right input affordance. +class MfaRequiredException implements Exception { + final String sessionToken; + final List availableFactors; + + const MfaRequiredException({required this.sessionToken, this.availableFactors = const []}); + + @override + String toString() => 'MfaRequiredException(factors: $availableFactors, sessionToken: )'; +} diff --git a/lib/screens/form_screen.dart b/lib/core/form_screen.dart similarity index 100% rename from lib/screens/form_screen.dart rename to lib/core/form_screen.dart diff --git a/lib/core/form_validators.dart b/lib/core/form_validators.dart new file mode 100644 index 000000000..cf85007bd --- /dev/null +++ b/lib/core/form_validators.dart @@ -0,0 +1,68 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; +import 'package:intl/intl.dart'; +import 'package:wger/l10n/generated/app_localizations.dart'; + +/// Validates an optional decimal text field. +/// +/// Empty input is allowed and returns `null`. Non-empty input must be +/// parseable by [numberFormat]; otherwise an `enterValidNumber` error +/// message is returned. When [max] is set, the value must also be within +/// `0..max` (inclusive). +String? validateOptionalDecimal( + String? text, + NumberFormat numberFormat, + BuildContext context, { + num? max, +}) { + final trimmed = (text ?? '').trim(); + if (trimmed.isEmpty) { + return null; + } + final parsed = numberFormat.tryParse(trimmed); + if (parsed == null) { + return AppLocalizations.of(context).enterValidNumber; + } + if (max != null && (parsed < 0 || parsed > max)) { + return AppLocalizations.of(context).formMinMaxValues(0, max.toInt()); + } + return null; +} + +/// Validates an optional whole-number field. Empty input is allowed and returns +/// `null`; otherwise the value must be an integer within [min]..[max] inclusive. +String? validateOptionalIntegerInRange( + String? value, + int min, + int max, + AppLocalizations i18n, +) { + if (value == null || value.isEmpty) { + return null; + } + final parsed = int.tryParse(value); + if (parsed == null) { + return i18n.enterValidNumber; + } + if (parsed < min || parsed > max) { + return i18n.formMinMaxValues(min, max); + } + return null; +} diff --git a/lib/core/formatting/formatting.dart b/lib/core/formatting/formatting.dart new file mode 100644 index 000000000..5294e789e --- /dev/null +++ b/lib/core/formatting/formatting.dart @@ -0,0 +1,29 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/widgets.dart'; +import 'package:intl/intl.dart'; + +/// A short date format (`DateFormat.yMd`) bound to the current locale's +/// language. Chain further patterns (e.g. `.add_Hm()`) as needed. +DateFormat localizedDate(BuildContext context) => + DateFormat.yMd(Localizations.localeOf(context).languageCode); + +/// A decimal number format bound to the current locale. +NumberFormat localizedNumberFormat(BuildContext context) => + NumberFormat.decimalPattern(Localizations.localeOf(context).toString()); diff --git a/lib/core/helpers.dart b/lib/core/helpers.dart new file mode 100644 index 000000000..e151b1cde --- /dev/null +++ b/lib/core/helpers.dart @@ -0,0 +1,149 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'dart:async'; + +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:flutter_riverpod/misc.dart' show ProviderListenable; + +/// Awaits the first value of `provider` by explicitly subscribing via +/// [Ref.listen]. Use this in notifier methods (outside of `build()`) +/// instead of `ref.read(streamProvider.future)`, which can hang +/// indefinitely if no other consumer is `ref.watch`-ing the provider: +/// Riverpod's internal subscription for `.future` doesn't always trigger +/// the underlying stream's first emission in that scenario. +/// +/// Completes with the first non-loading value, or rejects with the first +/// error. Closes the subscription as soon as the future resolves. +extension AwaitFirstValue on Ref { + Future awaitFirstValue(ProviderListenable> provider) { + final completer = Completer(); + + // Nullable (not `late`) on purpose: with `fireImmediately: true` the + // listener can fire synchronously during the `listen(...)` call + // itself, before the assignment to `sub` runs. + ProviderSubscription>? sub; + sub = listen>(provider, (_, next) { + if (completer.isCompleted) { + return; + } + if (next.hasValue) { + completer.complete(next.value as T); + sub?.close(); + } else if (next.hasError) { + completer.completeError(next.error!, next.stackTrace); + sub?.close(); + } + }, fireImmediately: true); + if (completer.isCompleted) { + // Listener fired synchronously; close now that we have the handle. + sub.close(); + } + return completer.future; + } +} + +/// Helper function to make a URL. +Uri makeUri( + String serverUrl, + String path, { + int? id, + String? objectMethod, + Map? query, + bool trailingSlash = true, +}) { + final Uri uriServer = Uri.parse(serverUrl); + + final pathList = [uriServer.path, 'api', 'v2', path]; + if (id != null) { + pathList.add(id.toString()); + } + if (objectMethod != null) { + pathList.add(objectMethod); + } + + final uri = Uri( + scheme: uriServer.scheme, + host: uriServer.host, + port: uriServer.port, + path: '${pathList.join('/')}${trailingSlash ? '/' : ''}', + queryParameters: query, + ); + + return uri; +} + +/// Builds a URL for the `allauth.headless` `app` client API at +/// `/allauth/app/v1/`. Used by the auth notifier for login, +/// signup, MFA, refresh, etc. The headless API does not use a trailing +/// slash and lives on a separate URL prefix from the DRF data API. +Uri makeHeadlessUri(String serverUrl, String path) { + final Uri uriServer = Uri.parse(serverUrl); + return Uri( + scheme: uriServer.scheme, + host: uriServer.host, + port: uriServer.port, + path: [uriServer.path, 'allauth', 'app', 'v1', path].join('/'), + ); +} + +/// Builds the absolute URL for a server-side media file given its +/// [relativePath] (the raw value of a Django `ImageField` / `FileField` +/// as stored in the DB, e.g. `ingredients/42/foo.jpg`). +/// +/// Returns `null` if [relativePath] is null or empty. If [relativePath] +/// already contains a scheme it is returned as-is, so values that the +/// REST API has already absolutised (or that point at an external CDN) +/// pass through unchanged. +/// +/// When [absolutePrefix] is provided it is used as-is (e.g. the prefix +/// detected once via the REST API), so deployments with a non-default +/// `MEDIA_URL` or a CDN in front of the media files work transparently. +/// When omitted, the function falls back to the assumption that media +/// is served from `/media/`, Django's default. +Uri? mediaUri(String serverUrl, String? relativePath, {String? absolutePrefix}) { + if (relativePath == null || relativePath.isEmpty) { + return null; + } + + final parsed = Uri.tryParse(relativePath); + if (parsed != null && parsed.hasScheme) { + return parsed; + } + + final cleanRelative = relativePath.startsWith('/') ? relativePath.substring(1) : relativePath; + + // Prefer the probed prefix (full URL ending in `/`) when available. + if (absolutePrefix != null && absolutePrefix.isNotEmpty) { + final cleanPrefix = absolutePrefix.endsWith('/') ? absolutePrefix : '$absolutePrefix/'; + return Uri.parse('$cleanPrefix$cleanRelative'); + } + + // Fallback: assume Django's default MEDIA_URL of `/media/` on the same host. + final server = Uri.parse(serverUrl); + final basePath = server.path.endsWith('/') + ? server.path.substring(0, server.path.length - 1) + : server.path; + + return Uri( + scheme: server.scheme, + host: server.host, + port: server.port, + path: '$basePath/media/$cleanRelative', + ); +} diff --git a/lib/core/home_tabs_screen.dart b/lib/core/home_tabs_screen.dart new file mode 100644 index 000000000..3ba7f6498 --- /dev/null +++ b/lib/core/home_tabs_screen.dart @@ -0,0 +1,144 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:font_awesome_flutter/font_awesome_flutter.dart'; +import 'package:wger/core/dashboard.dart'; +import 'package:wger/core/material.dart'; +import 'package:wger/features/gallery/screens/gallery_screen.dart'; +import 'package:wger/features/health/providers/health_sync.dart'; +import 'package:wger/features/nutrition/screens/nutritional_plans_screen.dart'; +import 'package:wger/features/routines/screens/routine_list_screen.dart'; +import 'package:wger/features/weight/screens/weight_screen.dart'; +import 'package:wger/l10n/generated/app_localizations.dart'; + +class HomeTabsScreen extends ConsumerStatefulWidget { + const HomeTabsScreen({super.key}); + + static const routeName = '/dashboard2'; + + @override + ConsumerState createState() => _HomeTabsScreenState(); +} + +class _HomeTabsScreenState extends ConsumerState + with SingleTickerProviderStateMixin { + int _selectedIndex = 0; + bool _isWideScreen = false; + + @override + void initState() { + super.initState(); + + // Pull any new readings from Apple Health / Health Connect once the app is + // open. The sync is a no-op unless the user enabled it in the settings. + WidgetsBinding.instance.addPostFrameCallback((_) { + if (!mounted) { + return; + } + ref.read(healthSyncProvider.notifier).syncOnAppOpen(); + }); + } + + @override + void didChangeDependencies() { + super.didChangeDependencies(); + + final size = MediaQuery.sizeOf(context); + _isWideScreen = size.width > MATERIAL_XS_BREAKPOINT; + } + + void _onItemTapped(int index) { + setState(() { + _selectedIndex = index; + }); + } + + final _screenList = [ + const DashboardScreen(), + const RoutineListScreen(), + const NutritionalPlansScreen(), + const WeightScreen(), + const GalleryScreen(), + ]; + + @override + Widget build(BuildContext context) { + final destinations = [ + NavigationDestination( + icon: const Icon(Icons.home), + label: AppLocalizations.of(context).labelDashboard, + ), + NavigationDestination( + icon: const Icon(Icons.fitness_center), + label: AppLocalizations.of(context).labelBottomNavWorkout, + ), + NavigationDestination( + icon: const Icon(Icons.restaurant), + label: AppLocalizations.of(context).labelBottomNavNutrition, + ), + NavigationDestination( + icon: const FaIcon(FontAwesomeIcons.weightScale, size: 20), + label: AppLocalizations.of(context).weight, + ), + NavigationDestination( + icon: const Icon(Icons.photo_library), + label: AppLocalizations.of(context).gallery, + ), + ]; + + /// Navigation bar for narrow screens + Widget getNavigationBar() { + return NavigationBar( + destinations: destinations, + onDestinationSelected: _onItemTapped, + selectedIndex: _selectedIndex, + labelBehavior: NavigationDestinationLabelBehavior.alwaysHide, + ); + } + + /// Navigation rail for wide screens + Widget getNavigationRail() { + return NavigationRail( + selectedIndex: _selectedIndex, + onDestinationSelected: _onItemTapped, + labelType: NavigationRailLabelType.all, + scrollable: true, + destinations: destinations + .map( + (d) => NavigationRailDestination( + icon: d.icon, + label: Text(d.label), + ), + ) + .toList(), + ); + } + + return Scaffold( + body: Row( + children: [ + if (_isWideScreen) getNavigationRail(), + Expanded(child: _screenList.elementAt(_selectedIndex)), + ], + ), + bottomNavigationBar: _isWideScreen ? null : getNavigationBar(), + ); + } +} diff --git a/lib/helpers/i18n.dart b/lib/core/i18n.dart similarity index 100% rename from lib/helpers/i18n.dart rename to lib/core/i18n.dart diff --git a/lib/helpers/json.dart b/lib/core/json.dart similarity index 100% rename from lib/helpers/json.dart rename to lib/core/json.dart diff --git a/lib/core/keys.dart b/lib/core/keys.dart new file mode 100644 index 000000000..c3a4e959e --- /dev/null +++ b/lib/core/keys.dart @@ -0,0 +1,27 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; + +/// App-wide navigator key. Lets code outside the widget tree (the global error +/// handlers, background callbacks) reach a [BuildContext] and the navigator. +final GlobalKey navigatorKey = GlobalKey(); + +/// App-wide scaffold-messenger key, for showing snackbars from outside the +/// widget tree. +final GlobalKey scaffoldMessengerKey = GlobalKey(); diff --git a/lib/models/exercises/language.dart b/lib/core/language.dart similarity index 97% rename from lib/models/exercises/language.dart rename to lib/core/language.dart index 23f048567..aab6a61e8 100644 --- a/lib/models/exercises/language.dart +++ b/lib/core/language.dart @@ -1,6 +1,6 @@ /* * This file is part of wger Workout Manager . - * Copyright (C) 2020, 2021 wger Team + * Copyright (c) 2026 wger Team * * wger Workout Manager is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by diff --git a/lib/models/exercises/language.g.dart b/lib/core/language.g.dart similarity index 100% rename from lib/models/exercises/language.g.dart rename to lib/core/language.g.dart diff --git a/lib/core/license.dart b/lib/core/license.dart new file mode 100644 index 000000000..93fe3e775 --- /dev/null +++ b/lib/core/license.dart @@ -0,0 +1,31 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'license.freezed.dart'; + +@freezed +abstract class License with _$License { + const factory License({ + required int id, + required String shortName, + required String fullName, + required String url, + }) = _License; +} diff --git a/lib/core/license.freezed.dart b/lib/core/license.freezed.dart new file mode 100644 index 000000000..6787a0484 --- /dev/null +++ b/lib/core/license.freezed.dart @@ -0,0 +1,280 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND +// coverage:ignore-file +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'license.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +// dart format off +T _$identity(T value) => value; +/// @nodoc +mixin _$License { + + int get id; String get shortName; String get fullName; String get url; +/// Create a copy of License +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LicenseCopyWith get copyWith => _$LicenseCopyWithImpl(this as License, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is License&&(identical(other.id, id) || other.id == id)&&(identical(other.shortName, shortName) || other.shortName == shortName)&&(identical(other.fullName, fullName) || other.fullName == fullName)&&(identical(other.url, url) || other.url == url)); +} + + +@override +int get hashCode => Object.hash(runtimeType,id,shortName,fullName,url); + +@override +String toString() { + return 'License(id: $id, shortName: $shortName, fullName: $fullName, url: $url)'; +} + + +} + +/// @nodoc +abstract mixin class $LicenseCopyWith<$Res> { + factory $LicenseCopyWith(License value, $Res Function(License) _then) = _$LicenseCopyWithImpl; +@useResult +$Res call({ + int id, String shortName, String fullName, String url +}); + + + + +} +/// @nodoc +class _$LicenseCopyWithImpl<$Res> + implements $LicenseCopyWith<$Res> { + _$LicenseCopyWithImpl(this._self, this._then); + + final License _self; + final $Res Function(License) _then; + +/// Create a copy of License +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? id = null,Object? shortName = null,Object? fullName = null,Object? url = null,}) { + return _then(_self.copyWith( +id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable +as int,shortName: null == shortName ? _self.shortName : shortName // ignore: cast_nullable_to_non_nullable +as String,fullName: null == fullName ? _self.fullName : fullName // ignore: cast_nullable_to_non_nullable +as String,url: null == url ? _self.url : url // ignore: cast_nullable_to_non_nullable +as String, + )); +} + +} + + +/// Adds pattern-matching-related methods to [License]. +extension LicensePatterns on License { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _License value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _License() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _License value) $default,){ +final _that = this; +switch (_that) { +case _License(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _License value)? $default,){ +final _that = this; +switch (_that) { +case _License() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( int id, String shortName, String fullName, String url)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _License() when $default != null: +return $default(_that.id,_that.shortName,_that.fullName,_that.url);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( int id, String shortName, String fullName, String url) $default,) {final _that = this; +switch (_that) { +case _License(): +return $default(_that.id,_that.shortName,_that.fullName,_that.url);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( int id, String shortName, String fullName, String url)? $default,) {final _that = this; +switch (_that) { +case _License() when $default != null: +return $default(_that.id,_that.shortName,_that.fullName,_that.url);case _: + return null; + +} +} + +} + +/// @nodoc + + +class _License implements License { + const _License({required this.id, required this.shortName, required this.fullName, required this.url}); + + +@override final int id; +@override final String shortName; +@override final String fullName; +@override final String url; + +/// Create a copy of License +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$LicenseCopyWith<_License> get copyWith => __$LicenseCopyWithImpl<_License>(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _License&&(identical(other.id, id) || other.id == id)&&(identical(other.shortName, shortName) || other.shortName == shortName)&&(identical(other.fullName, fullName) || other.fullName == fullName)&&(identical(other.url, url) || other.url == url)); +} + + +@override +int get hashCode => Object.hash(runtimeType,id,shortName,fullName,url); + +@override +String toString() { + return 'License(id: $id, shortName: $shortName, fullName: $fullName, url: $url)'; +} + + +} + +/// @nodoc +abstract mixin class _$LicenseCopyWith<$Res> implements $LicenseCopyWith<$Res> { + factory _$LicenseCopyWith(_License value, $Res Function(_License) _then) = __$LicenseCopyWithImpl; +@override @useResult +$Res call({ + int id, String shortName, String fullName, String url +}); + + + + +} +/// @nodoc +class __$LicenseCopyWithImpl<$Res> + implements _$LicenseCopyWith<$Res> { + __$LicenseCopyWithImpl(this._self, this._then); + + final _License _self; + final $Res Function(_License) _then; + +/// Create a copy of License +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? id = null,Object? shortName = null,Object? fullName = null,Object? url = null,}) { + return _then(_License( +id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable +as int,shortName: null == shortName ? _self.shortName : shortName // ignore: cast_nullable_to_non_nullable +as String,fullName: null == fullName ? _self.fullName : fullName // ignore: cast_nullable_to_non_nullable +as String,url: null == url ? _self.url : url // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + +} + +// dart format on diff --git a/lib/helpers/locale.dart b/lib/core/locale.dart similarity index 91% rename from lib/helpers/locale.dart rename to lib/core/locale.dart index fe51ea841..e1c1cd471 100644 --- a/lib/helpers/locale.dart +++ b/lib/core/locale.dart @@ -36,8 +36,9 @@ Locale? resolveLocale(List? locales, Iterable supportedLocales) } /// Stable string encoding for a [Locale], matching the keys generated by -/// Flutter's AppLocalizations (e.g. `pt_BR`, `zh_Hant`, `pl`). [scriptCode] -/// takes precedence over [countryCode] so locales like `zh_Hant` round-trip +/// Flutter's AppLocalizations (e.g. `pt_BR`, `zh_Hant`, `pl`). +/// [Locale.scriptCode] takes precedence over [Locale.countryCode] so locales +/// like `zh_Hant` round-trip /// distinctly from plain `zh`. String encodeLocale(Locale locale) { final script = locale.scriptCode; diff --git a/lib/core/locator.dart b/lib/core/locator.dart deleted file mode 100644 index ff8f2ed29..000000000 --- a/lib/core/locator.dart +++ /dev/null @@ -1,42 +0,0 @@ -import 'dart:developer'; -import 'dart:io'; - -import 'package:drift/native.dart'; -import 'package:get_it/get_it.dart'; -import 'package:wger/database/exercises/exercise_database.dart'; -import 'package:wger/database/ingredients/ingredients_database.dart'; - -final locator = GetIt.asNewInstance(); - -class ServiceLocator { - factory ServiceLocator() => _singleton; - - const ServiceLocator._internal(); - - static const ServiceLocator _singleton = ServiceLocator._internal(); - - Future _initDB() async { - ExerciseDatabase exerciseDB; - IngredientDatabase ingredientDB; - - if (Platform.environment.containsKey('FLUTTER_TEST')) { - exerciseDB = ExerciseDatabase.inMemory(NativeDatabase.memory()); - ingredientDB = IngredientDatabase.inMemory(NativeDatabase.memory()); - } else { - exerciseDB = ExerciseDatabase(); - ingredientDB = IngredientDatabase(); - } - - locator.registerSingleton(exerciseDB); - locator.registerSingleton(ingredientDB); - } - - Future configure() async { - try { - await _initDB(); - } catch (e, _) { - log(e.toString()); - rethrow; - } - } -} diff --git a/lib/helpers/logs.dart b/lib/core/logs.dart similarity index 100% rename from lib/helpers/logs.dart rename to lib/core/logs.dart diff --git a/lib/helpers/material.dart b/lib/core/material.dart similarity index 100% rename from lib/helpers/material.dart rename to lib/core/material.dart diff --git a/lib/core/media_url_prefix_notifier.dart b/lib/core/media_url_prefix_notifier.dart new file mode 100644 index 000000000..c7d43f3c8 --- /dev/null +++ b/lib/core/media_url_prefix_notifier.dart @@ -0,0 +1,164 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'dart:async'; + +import 'package:flutter/foundation.dart' show visibleForTesting; +import 'package:logging/logging.dart'; +import 'package:riverpod_annotation/riverpod_annotation.dart'; +import 'package:wger/core/app_settings_notifier.dart' show appSettingsPrefsProvider; +import 'package:wger/core/consts.dart'; +import 'package:wger/core/network/auth_notifier.dart'; +import 'package:wger/core/network/auth_state.dart'; +import 'package:wger/core/network/wger_base.dart'; + +part 'media_url_prefix_notifier.g.dart'; + +/// Marker from the `upload_to` field on the Django `Image` model. +/// Stable in practice, changing it would require a Django data +/// migration and break existing image references. +const _exerciseImagesMarker = 'exercise-images/'; + +/// REST endpoint we probe to extract the absolute media URL prefix. +const _exerciseImageEndpoint = 'exerciseimage'; + +/// Extracts the media URL prefix from a probe response body. +/// +/// Returns the prefix or `null` for any malformed or unexpected response shape. +@visibleForTesting +String? extractMediaPrefix(dynamic responseBody) { + if (responseBody is! Map) { + return null; + } + + final results = responseBody['results'] as List?; + if (results == null || results.isEmpty) { + return null; + } + + final imageUrl = results.first['image'] as String?; + if (imageUrl == null || imageUrl.isEmpty) { + return null; + } + + final idx = imageUrl.indexOf(_exerciseImagesMarker); + if (idx < 0) { + return null; + } + + return imageUrl.substring(0, idx); +} + +/// Detects and caches the absolute URL prefix for server-side media +/// files (e.g. `https://wger.de/media/`, or for CDN-fronted deployments +/// `https://cdn.example.com/bucket1/`). +/// +/// On first build the value is loaded from SharedPreferences. If +/// nothing is cached and the user is logged in, a one-shot probe +/// against `/api/v2/exerciseimage/?limit=1` extracts the prefix from +/// the first result's `image` URL. +/// +/// State semantics: +/// - `null`, not yet detected; consumers should fall back to the +/// default prefix +/// - non-null, full URL prefix +/// +/// Cleared on logout. +@Riverpod(keepAlive: true) +class MediaUrlPrefixNotifier extends _$MediaUrlPrefixNotifier { + static final _logger = Logger('MediaUrlPrefixNotifier'); + + @override + Future build() async { + final prefs = ref.read(appSettingsPrefsProvider); + final cached = await prefs.getString(PREFS_MEDIA_URL_PREFIX); + + // React to auth lifecycle: probe on login, clear on logout. Uses + // listen rather than watch so build doesn't re-run on every auth + // change (the prefix lives across auth-state transitions of the + // same session). + ref.listen(authProvider, (_, next) { + final status = next.asData?.value.status; + if (status == AuthStatus.loggedOut) { + unawaited(clear()); + } else if (status == AuthStatus.loggedIn && state.asData?.value == null) { + unawaited(probe()); + } + }); + + // App-start case: user was already logged in (auto-login) and we + // had no cached prefix. The auth-listener above won't fire because + // there's no transition, so kick off the probe here. + if (cached == null) { + final status = ref.read(authProvider).asData?.value.status; + if (status == AuthStatus.loggedIn) { + unawaited(probe()); + } + } + + return cached; + } + + /// Hits the REST API once and persists the extracted prefix on + /// success. No-op when extraction returns null. + @visibleForTesting + Future probe() async { + final base = ref.read(wgerBaseProvider); + if (base.serverUrl == null) { + return; + } + + String? prefix; + try { + final uri = base.makeUrl(_exerciseImageEndpoint, query: {'limit': '1'}); + final data = await base.fetch(uri); + prefix = extractMediaPrefix(data); + } catch (e, s) { + _logger.warning('Media prefix probe failed', e, s); + return; + } + + if (prefix == null) { + _logger.fine('Probe yielded no usable prefix, keeping default'); + return; + } + + // Re-check auth: the user may have logged out during the await. + // Otherwise we'd write the freshly probed prefix back over the + // cleared state. + final status = ref.read(authProvider).asData?.value.status; + if (status != AuthStatus.loggedIn) { + return; + } + + _logger.info('Detected media URL prefix: $prefix'); + final prefs = ref.read(appSettingsPrefsProvider); + await prefs.setString(PREFS_MEDIA_URL_PREFIX, prefix); + state = AsyncData(prefix); + } + + /// Wipes both the in-memory state and the persisted value. Public so + /// tests can drive it directly; production triggers it via the auth + /// listener on logout. + @visibleForTesting + Future clear() async { + final prefs = ref.read(appSettingsPrefsProvider); + await prefs.remove(PREFS_MEDIA_URL_PREFIX); + state = const AsyncData(null); + } +} diff --git a/lib/core/media_url_prefix_notifier.g.dart b/lib/core/media_url_prefix_notifier.g.dart new file mode 100644 index 000000000..052f3f176 --- /dev/null +++ b/lib/core/media_url_prefix_notifier.g.dart @@ -0,0 +1,115 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'media_url_prefix_notifier.dart'; + +// ************************************************************************** +// RiverpodGenerator +// ************************************************************************** + +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint, type=warning +/// Detects and caches the absolute URL prefix for server-side media +/// files (e.g. `https://wger.de/media/`, or for CDN-fronted deployments +/// `https://cdn.example.com/bucket1/`). +/// +/// On first build the value is loaded from SharedPreferences. If +/// nothing is cached and the user is logged in, a one-shot probe +/// against `/api/v2/exerciseimage/?limit=1` extracts the prefix from +/// the first result's `image` URL. +/// +/// State semantics: +/// - `null`, not yet detected; consumers should fall back to the +/// default prefix +/// - non-null, full URL prefix +/// +/// Cleared on logout. + +@ProviderFor(MediaUrlPrefixNotifier) +final mediaUrlPrefixProvider = MediaUrlPrefixNotifierProvider._(); + +/// Detects and caches the absolute URL prefix for server-side media +/// files (e.g. `https://wger.de/media/`, or for CDN-fronted deployments +/// `https://cdn.example.com/bucket1/`). +/// +/// On first build the value is loaded from SharedPreferences. If +/// nothing is cached and the user is logged in, a one-shot probe +/// against `/api/v2/exerciseimage/?limit=1` extracts the prefix from +/// the first result's `image` URL. +/// +/// State semantics: +/// - `null`, not yet detected; consumers should fall back to the +/// default prefix +/// - non-null, full URL prefix +/// +/// Cleared on logout. +final class MediaUrlPrefixNotifierProvider + extends $AsyncNotifierProvider { + /// Detects and caches the absolute URL prefix for server-side media + /// files (e.g. `https://wger.de/media/`, or for CDN-fronted deployments + /// `https://cdn.example.com/bucket1/`). + /// + /// On first build the value is loaded from SharedPreferences. If + /// nothing is cached and the user is logged in, a one-shot probe + /// against `/api/v2/exerciseimage/?limit=1` extracts the prefix from + /// the first result's `image` URL. + /// + /// State semantics: + /// - `null`, not yet detected; consumers should fall back to the + /// default prefix + /// - non-null, full URL prefix + /// + /// Cleared on logout. + MediaUrlPrefixNotifierProvider._() + : super( + from: null, + argument: null, + retry: null, + name: r'mediaUrlPrefixProvider', + isAutoDispose: false, + dependencies: null, + $allTransitiveDependencies: null, + ); + + @override + String debugGetCreateSourceHash() => _$mediaUrlPrefixNotifierHash(); + + @$internal + @override + MediaUrlPrefixNotifier create() => MediaUrlPrefixNotifier(); +} + +String _$mediaUrlPrefixNotifierHash() => r'a152afb08fc3ce66e92d9a7872010f84f43002f2'; + +/// Detects and caches the absolute URL prefix for server-side media +/// files (e.g. `https://wger.de/media/`, or for CDN-fronted deployments +/// `https://cdn.example.com/bucket1/`). +/// +/// On first build the value is loaded from SharedPreferences. If +/// nothing is cached and the user is logged in, a one-shot probe +/// against `/api/v2/exerciseimage/?limit=1` extracts the prefix from +/// the first result's `image` URL. +/// +/// State semantics: +/// - `null`, not yet detected; consumers should fall back to the +/// default prefix +/// - non-null, full URL prefix +/// +/// Cleared on logout. + +abstract class _$MediaUrlPrefixNotifier extends $AsyncNotifier { + FutureOr build(); + @$mustCallSuper + @override + WhenComplete runBuild() { + final ref = this.ref as $Ref, String?>; + final element = + ref.element + as $ClassProviderElement< + AnyNotifier, String?>, + AsyncValue, + Object?, + Object? + >; + return element.handleCreate(ref, build); + } +} diff --git a/lib/helpers/misc.dart b/lib/core/misc.dart similarity index 73% rename from lib/helpers/misc.dart rename to lib/core/misc.dart index 3078e87dc..8e9bbc383 100644 --- a/lib/helpers/misc.dart +++ b/lib/core/misc.dart @@ -1,13 +1,13 @@ /* * This file is part of wger Workout Manager . - * Copyright (C) 2020, 2021 wger Team + * Copyright (c) 2020 - 2026 wger Team * * wger Workout Manager is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * wger Workout Manager is distributed in the hope that it will be useful, + * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. @@ -19,10 +19,15 @@ import 'package:flutter/material.dart'; import 'package:url_launcher/url_launcher.dart'; -void launchURL(String url, BuildContext context) async { - final scaffoldMessenger = ScaffoldMessenger.of(context); - final launched = await launchUrl(Uri.parse(url)); - if (!launched) { +void launchURL( + String url, + BuildContext context, { + LaunchMode mode = LaunchMode.platformDefault, +}) async { + final launched = await launchUrl(Uri.parse(url), mode: mode); + + if (!launched && context.mounted) { + final scaffoldMessenger = ScaffoldMessenger.of(context); scaffoldMessenger.showSnackBar( SnackBar(content: Text('Could not open $url.')), ); diff --git a/lib/core/network/auth_credential.dart b/lib/core/network/auth_credential.dart new file mode 100644 index 000000000..2da61a338 --- /dev/null +++ b/lib/core/network/auth_credential.dart @@ -0,0 +1,74 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:freezed_annotation/freezed_annotation.dart'; +import 'package:wger/core/network/jwt.dart'; + +part 'auth_credential.freezed.dart'; + +/// Sealed credential carried inside `AuthState` for every authenticated +/// caller. Branch via `switch` or `is` to access the variant-specific +/// fields; the two getters below cover everything the HTTP layer needs. +/// +/// The app supports two flavours during the migration to `allauth.headless`: +/// +/// - [LegacyCredential] — permanent DRF token from `/api/v2/login/`, sent +/// as `Authorization: Token `. This is what existing installs are +/// running until they re-authenticate on a build that ships the JWT flow. +/// - [JwtCredential] — short-lived access token from `allauth.headless`, +/// sent as `Authorization: Bearer `. The refresh token lives in +/// secure storage, not on the credential itself. +/// +/// New logins (login, signup, MFA completion, pasted-refresh exchange) +/// always produce a [JwtCredential]. +@freezed +sealed class AuthCredential with _$AuthCredential { + const factory AuthCredential.legacy(String token) = LegacyCredential; + + const factory AuthCredential.jwt({ + required String accessToken, + DateTime? expiresAt, + }) = JwtCredential; + + const AuthCredential._(); + + /// `Authorization` header value for outgoing authenticated requests. + String get authHeaderValue => switch (this) { + LegacyCredential(:final token) => 'Token $token', + JwtCredential(:final accessToken) => 'Bearer $accessToken', + }; + + /// True when this credential is a JWT whose expiry falls within [leeway] + /// of now (or is already past). Always false for [LegacyCredential]: + /// permanent DRF tokens have no expiry and are never refreshed. + bool needsRefresh(Duration leeway) => switch (this) { + LegacyCredential() => false, + JwtCredential(:final expiresAt) => + expiresAt != null && expiresAt.isBefore(DateTime.now().toUtc().add(leeway)), + }; + + /// User identifier carried by the credential. For [JwtCredential] this is + /// the JWT `sub` claim (decoded on every call, so callers should not + /// hammer it in tight loops). Null for [LegacyCredential]: permanent DRF + /// tokens don't expose the user-id and the app discovers it lazily via + /// the user-profile endpoint instead. + String? get userId => switch (this) { + LegacyCredential() => null, + JwtCredential(:final accessToken) => decodeJwtPayload(accessToken)?['sub']?.toString(), + }; +} diff --git a/lib/core/network/auth_credential.freezed.dart b/lib/core/network/auth_credential.freezed.dart new file mode 100644 index 000000000..38306d738 --- /dev/null +++ b/lib/core/network/auth_credential.freezed.dart @@ -0,0 +1,308 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND +// coverage:ignore-file +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'auth_credential.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +// dart format off +T _$identity(T value) => value; +/// @nodoc +mixin _$AuthCredential { + + + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is AuthCredential); +} + + +@override +int get hashCode => runtimeType.hashCode; + +@override +String toString() { + return 'AuthCredential()'; +} + + +} + +/// @nodoc +class $AuthCredentialCopyWith<$Res> { +$AuthCredentialCopyWith(AuthCredential _, $Res Function(AuthCredential) __); +} + + +/// Adds pattern-matching-related methods to [AuthCredential]. +extension AuthCredentialPatterns on AuthCredential { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap({TResult Function( LegacyCredential value)? legacy,TResult Function( JwtCredential value)? jwt,required TResult orElse(),}){ +final _that = this; +switch (_that) { +case LegacyCredential() when legacy != null: +return legacy(_that);case JwtCredential() when jwt != null: +return jwt(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map({required TResult Function( LegacyCredential value) legacy,required TResult Function( JwtCredential value) jwt,}){ +final _that = this; +switch (_that) { +case LegacyCredential(): +return legacy(_that);case JwtCredential(): +return jwt(_that);} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull({TResult? Function( LegacyCredential value)? legacy,TResult? Function( JwtCredential value)? jwt,}){ +final _that = this; +switch (_that) { +case LegacyCredential() when legacy != null: +return legacy(_that);case JwtCredential() when jwt != null: +return jwt(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen({TResult Function( String token)? legacy,TResult Function( String accessToken, DateTime? expiresAt)? jwt,required TResult orElse(),}) {final _that = this; +switch (_that) { +case LegacyCredential() when legacy != null: +return legacy(_that.token);case JwtCredential() when jwt != null: +return jwt(_that.accessToken,_that.expiresAt);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when({required TResult Function( String token) legacy,required TResult Function( String accessToken, DateTime? expiresAt) jwt,}) {final _that = this; +switch (_that) { +case LegacyCredential(): +return legacy(_that.token);case JwtCredential(): +return jwt(_that.accessToken,_that.expiresAt);} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull({TResult? Function( String token)? legacy,TResult? Function( String accessToken, DateTime? expiresAt)? jwt,}) {final _that = this; +switch (_that) { +case LegacyCredential() when legacy != null: +return legacy(_that.token);case JwtCredential() when jwt != null: +return jwt(_that.accessToken,_that.expiresAt);case _: + return null; + +} +} + +} + +/// @nodoc + + +class LegacyCredential extends AuthCredential { + const LegacyCredential(this.token): super._(); + + + final String token; + +/// Create a copy of AuthCredential +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$LegacyCredentialCopyWith get copyWith => _$LegacyCredentialCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is LegacyCredential&&(identical(other.token, token) || other.token == token)); +} + + +@override +int get hashCode => Object.hash(runtimeType,token); + +@override +String toString() { + return 'AuthCredential.legacy(token: $token)'; +} + + +} + +/// @nodoc +abstract mixin class $LegacyCredentialCopyWith<$Res> implements $AuthCredentialCopyWith<$Res> { + factory $LegacyCredentialCopyWith(LegacyCredential value, $Res Function(LegacyCredential) _then) = _$LegacyCredentialCopyWithImpl; +@useResult +$Res call({ + String token +}); + + + + +} +/// @nodoc +class _$LegacyCredentialCopyWithImpl<$Res> + implements $LegacyCredentialCopyWith<$Res> { + _$LegacyCredentialCopyWithImpl(this._self, this._then); + + final LegacyCredential _self; + final $Res Function(LegacyCredential) _then; + +/// Create a copy of AuthCredential +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? token = null,}) { + return _then(LegacyCredential( +null == token ? _self.token : token // ignore: cast_nullable_to_non_nullable +as String, + )); +} + + +} + +/// @nodoc + + +class JwtCredential extends AuthCredential { + const JwtCredential({required this.accessToken, this.expiresAt}): super._(); + + + final String accessToken; + final DateTime? expiresAt; + +/// Create a copy of AuthCredential +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$JwtCredentialCopyWith get copyWith => _$JwtCredentialCopyWithImpl(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is JwtCredential&&(identical(other.accessToken, accessToken) || other.accessToken == accessToken)&&(identical(other.expiresAt, expiresAt) || other.expiresAt == expiresAt)); +} + + +@override +int get hashCode => Object.hash(runtimeType,accessToken,expiresAt); + +@override +String toString() { + return 'AuthCredential.jwt(accessToken: $accessToken, expiresAt: $expiresAt)'; +} + + +} + +/// @nodoc +abstract mixin class $JwtCredentialCopyWith<$Res> implements $AuthCredentialCopyWith<$Res> { + factory $JwtCredentialCopyWith(JwtCredential value, $Res Function(JwtCredential) _then) = _$JwtCredentialCopyWithImpl; +@useResult +$Res call({ + String accessToken, DateTime? expiresAt +}); + + + + +} +/// @nodoc +class _$JwtCredentialCopyWithImpl<$Res> + implements $JwtCredentialCopyWith<$Res> { + _$JwtCredentialCopyWithImpl(this._self, this._then); + + final JwtCredential _self; + final $Res Function(JwtCredential) _then; + +/// Create a copy of AuthCredential +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') $Res call({Object? accessToken = null,Object? expiresAt = freezed,}) { + return _then(JwtCredential( +accessToken: null == accessToken ? _self.accessToken : accessToken // ignore: cast_nullable_to_non_nullable +as String,expiresAt: freezed == expiresAt ? _self.expiresAt : expiresAt // ignore: cast_nullable_to_non_nullable +as DateTime?, + )); +} + + +} + +// dart format on diff --git a/lib/core/network/auth_credentials_storage.dart b/lib/core/network/auth_credentials_storage.dart new file mode 100644 index 000000000..36307b497 --- /dev/null +++ b/lib/core/network/auth_credentials_storage.dart @@ -0,0 +1,243 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'dart:convert'; + +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:logging/logging.dart'; +import 'package:shared_preferences/shared_preferences.dart'; +import 'package:wger/core/consts.dart'; +import 'package:wger/core/network/auth_state.dart'; +import 'package:wger/core/network/secure_token_storage.dart'; +import 'package:wger/core/shared_preferences.dart'; + +/// Credential + server URL pair restored from on-disk storage. The refresh +/// token (for the JWT path) is intentionally absent: it lives in secure +/// storage and is only read when a refresh actually runs. +class StoredAuth { + final AuthCredential credential; + final String serverUrl; + + const StoredAuth({required this.credential, required this.serverUrl}); +} + +/// All persistence for the auth flow in one place. Holds the JWT-keyed +/// shared-preference bundle, the legacy `PREFS_USER` blob, and the +/// secure-storage refresh token. Lifts the storage layout details out of +/// the notifier so callers don't have to know which keys back which fact. +class AuthCredentialsStorage { + final SecureTokenStorage _secureStorage; + final _logger = Logger('AuthCredentialsStorage'); + + AuthCredentialsStorage(this._secureStorage); + + SharedPreferencesAsync get _prefs => PreferenceHelper.asyncPref; + + /// Reads the persisted credential bundle. The headless-JWT keys take + /// priority over the legacy `PREFS_USER` blob, so a partial migration + /// state still resolves to the JWT path. Returns null when neither + /// shape is fully present. + Future load() async { + final jwt = await _readJwt(); + if (jwt != null) { + return jwt; + } + return _readLegacy(); + } + + Future _readJwt() async { + final tokenType = await _prefs.getString(PREFS_TOKEN_TYPE); + if (tokenType != AuthTokenType.headlessJwt.name) { + return null; + } + final accessToken = await _prefs.getString(PREFS_ACCESS_TOKEN); + final serverUrl = await _prefs.getString(PREFS_SERVER_URL); + if (accessToken == null || accessToken.isEmpty || serverUrl == null || serverUrl.isEmpty) { + return null; + } + final expiresAtMs = await _prefs.getInt(PREFS_ACCESS_EXPIRES_AT); + final expiresAt = expiresAtMs == null + ? null + : DateTime.fromMillisecondsSinceEpoch(expiresAtMs, isUtc: true); + return StoredAuth( + credential: JwtCredential(accessToken: accessToken, expiresAt: expiresAt), + serverUrl: serverUrl, + ); + } + + Future _readLegacy() async { + if (!(await _prefs.containsKey(PREFS_USER))) { + return null; + } + final raw = await _prefs.getString(PREFS_USER); + if (raw == null) { + return null; + } + final Map blob; + try { + blob = json.decode(raw) as Map; + } catch (e, s) { + _logger.warning('Could not decode PREFS_USER blob', e, s); + return null; + } + final token = blob['token'] as String?; + final serverUrl = blob['serverUrl'] as String?; + if (token == null || serverUrl == null) { + return null; + } + return StoredAuth(credential: LegacyCredential(token), serverUrl: serverUrl); + } + + /// Persists a fresh JWT bundle. As a side effect this records the + /// server URL as the "last server" for the next login screen and wipes + /// the legacy `PREFS_USER` blob (legacy users transition to JWT on first + /// login through this path). The DB-owner marker is intentionally NOT + /// written here; the login flow sets it after any required DB wipe. + Future saveJwt({ + required JwtCredential credential, + required String serverUrl, + String? refreshToken, + }) async { + await _prefs.setString(PREFS_LAST_SERVER, json.encode({'serverUrl': serverUrl})); + await _prefs.setString(PREFS_ACCESS_TOKEN, credential.accessToken); + if (credential.expiresAt != null) { + await _prefs.setInt(PREFS_ACCESS_EXPIRES_AT, credential.expiresAt!.millisecondsSinceEpoch); + } else { + await _prefs.remove(PREFS_ACCESS_EXPIRES_AT); + } + await _prefs.setString(PREFS_TOKEN_TYPE, AuthTokenType.headlessJwt.name); + await _prefs.setString(PREFS_SERVER_URL, serverUrl); + + if (refreshToken != null) { + try { + await _secureStorage.writeRefreshToken(refreshToken); + } catch (e, s) { + // A locked or unavailable keyring must not abort login. The session + // works now, but the refresh token cannot be persisted, so there is no + // auto-login after a restart until the keyring becomes available. + _logger.warning('Could not persist refresh token, auto-login disabled', e, s); + } + } + + await clearLegacy(); + } + + /// Updates the persisted JWT bundle in place after a successful refresh. + /// Identical to [saveJwt] minus the legacy-cleanup and last-server side + /// effects (the original login already wrote those). + Future updateJwt({ + required JwtCredential credential, + String? refreshToken, + }) async { + await _prefs.setString(PREFS_ACCESS_TOKEN, credential.accessToken); + if (credential.expiresAt != null) { + await _prefs.setInt(PREFS_ACCESS_EXPIRES_AT, credential.expiresAt!.millisecondsSinceEpoch); + } else { + await _prefs.remove(PREFS_ACCESS_EXPIRES_AT); + } + if (refreshToken != null) { + try { + await _secureStorage.writeRefreshToken(refreshToken); + } catch (e, s) { + // A locked or unavailable keyring must not abort login. The session + // works now, but the refresh token cannot be persisted, so there is no + // auto-login after a restart until the keyring becomes available. + _logger.warning('Could not persist refresh token, auto-login disabled', e, s); + } + } + } + + /// Wipes the headless-JWT preference bundle and the secure-storage + /// refresh token. Used both for involuntary session clears and as part + /// of a full [clearAll]. The DB-owner marker is deliberately left intact: + /// it tracks who owns the on-disk data, which clearing credentials does + /// not change. It is reset only when the DB is actually wiped. + Future clearJwt() async { + await _prefs.remove(PREFS_ACCESS_TOKEN); + await _prefs.remove(PREFS_ACCESS_EXPIRES_AT); + await _prefs.remove(PREFS_TOKEN_TYPE); + await _prefs.remove(PREFS_SERVER_URL); + try { + await _secureStorage.deleteRefreshToken(); + } catch (e, s) { + // A locked or unavailable keyring must not abort logout; the refresh + // token is unreadable anyway, so wiping it is best-effort. + _logger.warning('Could not delete refresh token, keyring unavailable', e, s); + } + } + + /// Wipes only the legacy `PREFS_USER` blob. Used by the JWT-migration + /// path on a 401 from the exchange endpoint (DRF token revoked) and as + /// a side effect of [saveJwt]. + Future clearLegacy() async { + await _prefs.remove(PREFS_USER); + } + + /// Wipes both credential shapes but keeps the "has ever synced" flag, + /// so the next login takes the offline-friendly restored-session path. + /// Used for involuntary session loss (refresh token expired, 401 + /// retries exhausted) where the local PowerSync DB is preserved. + Future clearCredentials() async { + await clearLegacy(); + await clearJwt(); + } + + /// Manual-logout wipe: clears credentials plus the "has ever synced" + /// flag, so the next login takes the full first-run gating path + /// (PowerSync reachability probe etc.) again. + Future clearAll() async { + await clearCredentials(); + await _prefs.remove(PREFS_HAS_EVER_SYNCED); + } + + /// JWT `sub` of the user whose data sits in the local PowerSync DB, or null + /// if none. Durable across credential clears. + Future dbOwnerUserId() => _prefs.getString(PREFS_DB_OWNER_USER_ID); + + /// Records (or, with null, clears) the owner of the on-disk local DB. + Future setDbOwnerUserId(String? userId) async { + if (userId == null) { + await _prefs.remove(PREFS_DB_OWNER_USER_ID); + } else { + await _prefs.setString(PREFS_DB_OWNER_USER_ID, userId); + } + } + + /// User preference: whether a manual logout keeps the local DB on disk. + /// Defaults to [KEEP_DATA_ON_LOGOUT_DEFAULT] (keep on logout). + Future keepDataOnLogout() async => + (await _prefs.getBool(PREFS_KEEP_DATA_ON_LOGOUT)) ?? KEEP_DATA_ON_LOGOUT_DEFAULT; + + /// True once a PowerSync sync has completed for the current install. + /// Drives the offline-friendly fast path in auto-login. + Future hasEverSynced() async => (await _prefs.getBool(PREFS_HAS_EVER_SYNCED)) ?? false; + + Future markEverSynced() => _prefs.setBool(PREFS_HAS_EVER_SYNCED, true); + + /// Reads the persisted refresh token from secure storage. Returned to + /// callers raw because the refresh flow needs to send it verbatim to the + /// `tokens/refresh` endpoint. + Future readRefreshToken() => _secureStorage.readRefreshToken(); +} + +/// Provider over the singleton storage. Reads [secureTokenStorageProvider] +/// for the refresh-token half; shared preferences are accessed through +/// [PreferenceHelper] which already manages a single async instance. +final authCredentialsStorageProvider = Provider( + (ref) => AuthCredentialsStorage(ref.read(secureTokenStorageProvider)), +); diff --git a/lib/core/network/auth_http_client.dart b/lib/core/network/auth_http_client.dart new file mode 100644 index 000000000..2ff13fa24 --- /dev/null +++ b/lib/core/network/auth_http_client.dart @@ -0,0 +1,153 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'dart:io'; + +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:http/http.dart' as http; +import 'package:logging/logging.dart'; +import 'package:wger/core/error_dialogs.dart'; +import 'package:wger/core/network/auth_notifier.dart'; +import 'package:wger/core/network/auth_state.dart'; + +/// Pre-emptive refresh leeway: if the access JWT will expire within this +/// window we refresh before sending the request. Chosen to absorb mild +/// client/server clock skew without burning a refresh on every call. +const refreshLeeway = Duration(seconds: 30); + +/// HTTP client that owns the `Authorization` header for every outgoing +/// authenticated request to the wger backend. +/// +/// Responsibilities: +/// - Inject the right `Authorization` value for the current credential +/// ([AuthCredential.authHeaderValue] does the dispatch). +/// - For [JwtCredential], pre-emptively refresh when the stored expiry is +/// within [refreshLeeway] of now. +/// - On a 401 reply for a *replayable* [http.Request] body that was sent +/// with a JWT, refresh once and retry. If the retry also returns 401 +/// the session is treated as genuinely revoked: `onSessionExpired` +/// runs (clear credentials + surface a snackbar) and a synthetic 401 +/// is returned to the caller. Non-replayable bodies (multipart / +/// streamed) are not retried; the pre-emptive refresh in the happy +/// path is the primary safeguard. +/// +/// Wrapped behind [authenticatedHttpClientProvider] so consumers +/// (`WgerBaseProvider`, PowerSync's connector) get the auth handling for +/// free without needing to know about the migration state. +class AuthHttpClient extends http.BaseClient { + final http.Client _inner; + final AuthState? Function() _readAuth; + final Future Function() _refresh; + final Future Function() _onSessionExpired; + final _logger = Logger('AuthHttpClient'); + + AuthHttpClient({ + required http.Client inner, + required AuthState? Function() readAuth, + required Future Function() refresh, + required Future Function() onSessionExpired, + }) : _inner = inner, + _readAuth = readAuth, + _refresh = refresh, + _onSessionExpired = onSessionExpired; + + @override + Future send(http.BaseRequest request) async { + var credential = _readAuth()?.credential; + + if (credential?.needsRefresh(refreshLeeway) ?? false) { + _logger.fine('Pre-emptive refresh: access token within leeway window'); + await _refresh(); + credential = _readAuth()?.credential; + } + + _applyAuthHeader(request, credential); + final response = await _inner.send(request); + + final canRetry = + response.statusCode == 401 && credential is JwtCredential && request is http.Request; + if (!canRetry) { + return response; + } + + _logger.fine('401 on JWT request, refreshing once and retrying'); + await response.stream.drain(); + await _refresh(); + final fresh = _readAuth()?.credential; + if (fresh is! JwtCredential) { + return _syntheticUnauthorized(); + } + + final retry = _cloneRequest(request, fresh); + final retryResponse = await _inner.send(retry); + if (retryResponse.statusCode == 401) { + _logger.warning( + 'Retry after refresh still returned 401 for ' + '${request.method} ${request.url.path}, treating session as revoked', + ); + await retryResponse.stream.drain(); + await _onSessionExpired(); + return _syntheticUnauthorized(); + } + return retryResponse; + } + + @override + void close() => _inner.close(); + + void _applyAuthHeader(http.BaseRequest req, AuthCredential? credential) { + if (credential == null) { + return; + } + req.headers[HttpHeaders.authorizationHeader] = credential.authHeaderValue; + } + + http.Request _cloneRequest(http.Request orig, AuthCredential credential) { + final retry = http.Request(orig.method, orig.url) + ..bodyBytes = orig.bodyBytes + ..encoding = orig.encoding + ..followRedirects = orig.followRedirects + ..maxRedirects = orig.maxRedirects + ..persistentConnection = orig.persistentConnection; + retry.headers.addAll(orig.headers); + _applyAuthHeader(retry, credential); + return retry; + } + + http.StreamedResponse _syntheticUnauthorized() => http.StreamedResponse( + const Stream>.empty(), + 401, + reasonPhrase: 'Authentication lost', + ); +} + +/// Provider of the authenticated HTTP client used by every data-API call. +/// Wraps the raw client from [authHttpClientProvider] (kept separate so the +/// notifier itself can issue unauthenticated requests (login, refresh, +/// version probe) without recursing through this wrapper). +final authenticatedHttpClientProvider = Provider( + (ref) => AuthHttpClient( + inner: ref.watch(authHttpClientProvider), + readAuth: () => ref.read(authProvider).asData?.value, + refresh: () => ref.read(authProvider.notifier).refreshAccessToken(), + onSessionExpired: () async { + await ref.read(authProvider.notifier).clearSessionOnly(); + showSessionExpiredSnackbar(); + }, + ), +); diff --git a/lib/core/network/auth_notifier.dart b/lib/core/network/auth_notifier.dart new file mode 100644 index 000000000..99879f60f --- /dev/null +++ b/lib/core/network/auth_notifier.dart @@ -0,0 +1,1034 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'dart:async'; +import 'dart:convert'; +import 'dart:io'; + +import 'package:connectivity_plus/connectivity_plus.dart'; +import 'package:flutter/foundation.dart' show visibleForTesting; +import 'package:flutter_riverpod/flutter_riverpod.dart' show Provider; +import 'package:http/http.dart' as http; +import 'package:logging/logging.dart'; +import 'package:package_info_plus/package_info_plus.dart'; +import 'package:riverpod_annotation/riverpod_annotation.dart'; +import 'package:wger/core/consts.dart'; +import 'package:wger/core/error_dialogs.dart'; +import 'package:wger/core/errors.dart'; +import 'package:wger/core/exceptions/http_exception.dart'; +import 'package:wger/core/exceptions/mfa_required_exception.dart'; +import 'package:wger/core/helpers.dart'; +import 'package:wger/core/network/auth_credentials_storage.dart'; +import 'package:wger/core/network/auth_http_client.dart'; +import 'package:wger/core/network/auth_state.dart'; +import 'package:wger/core/network/jwt.dart'; +import 'package:wger/core/network/network_provider.dart'; +import 'package:wger/core/network/server_gating.dart'; +import 'package:wger/core/shared_preferences.dart'; +import 'package:wger/database/powersync/powersync.dart'; +import 'package:wger/features/account/providers/account_notifier.dart'; +import 'package:wger/features/account/providers/user_profile_notifier.dart'; +import 'package:wger/features/gallery/providers/gallery_notifier.dart'; +import 'package:wger/features/nutrition/providers/nutrition_notifier.dart'; +import 'package:wger/features/routines/providers/routines_notifier.dart'; +import 'package:wger/features/trophies/providers/trophy_notifier.dart'; + +part 'auth_notifier.g.dart'; + +/// `allauth.headless` `app` client endpoints, relative to the +/// `/allauth/app/v1/` base. +const HEADLESS_TOKENS_REFRESH_PATH = 'tokens/refresh'; +const HEADLESS_AUTH_LOGIN_PATH = 'auth/login'; +const HEADLESS_AUTH_SIGNUP_PATH = 'auth/signup'; +const HEADLESS_AUTH_MFA_AUTHENTICATE_PATH = 'auth/2fa/authenticate'; + +/// `/api/v2/` endpoint that mints a headless-JWT refresh token for the +/// authenticated user. Used by the one-shot legacy-DRF → JWT migration on +/// app start. +const ISSUE_REFRESH_TOKEN_PATH = 'issue-refresh-token'; + +/// Header that carries the short-lived `session_token` returned by +/// `auth/login` when a follow-up step (currently only 2FA) is still pending. +const HEADLESS_SESSION_TOKEN_HEADER = 'X-Session-Token'; + +/// HTTP client used by the auth notifier. Override in tests. +final authHttpClientProvider = Provider((ref) => http.Client()); + +@Riverpod(keepAlive: true) +class AuthNotifier extends _$AuthNotifier { + final _logger = Logger('AuthNotifier'); + late http.Client _client; + late AuthCredentialsStorage _storage; + late ServerGating _gating; + + /// Holds the in-flight refresh future so concurrent callers share a single + /// network roundtrip. Cleared in `whenComplete` so the next refresh starts + /// a fresh request. + Future? _refreshInFlight; + + /// Completes when the most recent background revalidation has finished. + /// Exposed so tests can deterministically await the fire-and-forget task. + @visibleForTesting + Future? revalidationDone; + + /// Number of times the user-switch DB wipe has fired since the notifier + /// was built. Exposed so tests can assert the user-mismatch path ran + /// without having to instrument PowerSync or the filesystem. + @visibleForTesting + int userSwitchWipeCount = 0; + + @override + Future build() async { + _client = ref.read(authHttpClientProvider); + _storage = ref.read(authCredentialsStorageProvider); + _gating = ref.read(serverGatingProvider); + return _tryAutoLogin(); + } + + /// Registers a new user and logs in via the `allauth.headless` signup + /// endpoint. The response already carries the access + refresh tokens, + /// so no separate login call is needed. + Future register({ + required String username, + required String password, + required String email, + required String serverUrl, + String locale = 'en', + }) async { + final appVersion = _currentOrBlank().applicationVersion ?? await PackageInfo.fromPlatform(); + final version = await _gateBeforeAuth(serverUrl, appVersion); + if (version.tooOld) { + return LoginActions.update; + } + final body = {'username': username, 'password': password}; + if (email.isNotEmpty) { + body['email'] = email; + } + + final response = await _client.post( + makeHeadlessUri(serverUrl, HEADLESS_AUTH_SIGNUP_PATH), + headers: jsonApiHeaders(appVersion, {HttpHeaders.acceptLanguageHeader: locale}), + body: json.encode(body), + ); + final creds = _consumeHeadlessAuthResponse(response); + return _completeLogin(creds, serverUrl, appVersion, serverVersion: version.version); + } + + /// Authenticates a user. + /// + /// Two modes: + /// 1. [refreshToken] is non-empty → treated as a refresh token the user + /// minted on the wger website. Exchanged immediately for a fresh + /// access token via the `allauth.headless` `tokens/refresh` endpoint; + /// the rotated bundle is persisted as a [JwtCredential]. + /// 2. Otherwise the `auth/login` endpoint is used with username + + /// password. A pending second-factor flow surfaces as + /// [MfaRequiredException] for the caller to route to the 2FA + /// challenge screen. + Future login( + String username, + String password, + String serverUrl, + String? refreshToken, + ) async { + final appVersion = _currentOrBlank().applicationVersion ?? await PackageInfo.fromPlatform(); + final version = await _gateBeforeAuth(serverUrl, appVersion); + if (version.tooOld) { + return LoginActions.update; + } + final creds = await _obtainCredentials( + username, + password, + serverUrl, + refreshToken, + appVersion, + ); + return _completeLogin(creds, serverUrl, appVersion, serverVersion: version.version); + } + + /// Completes a pending second-factor challenge started by [login]. + /// + /// Sends [code] (a TOTP code or a recovery code) plus the [sessionToken] + /// returned by the prior 401 to `auth/2fa/authenticate`. On success the + /// server issues the access + refresh tokens and the rest of the login + /// flow (persist, gating chain, PowerSync reconnect) runs unchanged. + /// + /// The caller is expected to have an active [AuthState.serverUrl] from + /// the preceding login attempt; pass it explicitly so the call works + /// even before any state has been written. + Future completeMfa({ + required String sessionToken, + required String code, + required String serverUrl, + }) async { + final appVersion = _currentOrBlank().applicationVersion ?? await PackageInfo.fromPlatform(); + final version = await _gateBeforeAuth(serverUrl, appVersion); + if (version.tooOld) { + return LoginActions.update; + } + final response = await _client.post( + makeHeadlessUri(serverUrl, HEADLESS_AUTH_MFA_AUTHENTICATE_PATH), + headers: jsonApiHeaders(appVersion, {HEADLESS_SESSION_TOKEN_HEADER: sessionToken}), + body: json.encode({'code': code}), + ); + final creds = _consumeHeadlessAuthResponse(response); + return _completeLogin(creds, serverUrl, appVersion, serverVersion: version.version); + } + + /// Checks the server version before authenticating and, when the server is + /// too old to log into, publishes the server-update state so the router + /// shows the update screen. Returns the gate result either way; the caller + /// carries the version into the logged-in state when it proceeds. + Future<({String? version, bool tooOld})> _gateBeforeAuth( + String serverUrl, + PackageInfo appVersion, + ) async { + final gate = await _gating.serverVersionGate(serverUrl); + if (gate.tooOld) { + _logger.info('login blocked: server ${gate.version} below $MIN_SERVER_VERSION'); + state = AsyncData( + AuthState( + status: AuthStatus.serverUpdateRequired, + serverUrl: serverUrl, + serverVersion: gate.version, + applicationVersion: appVersion, + ), + ); + } + return gate; + } + + Future<_FreshCredentials> _obtainCredentials( + String username, + String password, + String serverUrl, + String? pastedRefreshToken, + PackageInfo appVersion, + ) async { + if (pastedRefreshToken != null && pastedRefreshToken.isNotEmpty) { + return _exchangePastedRefreshToken(pastedRefreshToken, serverUrl, appVersion); + } + + final response = await _client.post( + makeHeadlessUri(serverUrl, HEADLESS_AUTH_LOGIN_PATH), + headers: jsonApiHeaders(appVersion), + body: json.encode({'username': username, 'password': password}), + ); + return _consumeHeadlessAuthResponse(response); + } + + /// Exchanges a manually-pasted refresh token for a fresh access + refresh + /// bundle. Rotation is on by default server-side, so the pasted token is + /// invalidated as part of this call and the new refresh token is what + /// ends up persisted in secure storage. Throws [WgerHttpException] when + /// the server rejects the pasted token. + Future<_FreshCredentials> _exchangePastedRefreshToken( + String refreshToken, + String serverUrl, + PackageInfo appVersion, + ) async { + final response = await _client.post( + makeHeadlessUri(serverUrl, HEADLESS_TOKENS_REFRESH_PATH), + headers: jsonApiHeaders(appVersion), + body: json.encode({'refresh_token': refreshToken}), + ); + return _consumeHeadlessAuthResponse(response); + } + + /// Parses the standard `allauth.headless` auth response envelope. + /// + /// Returns a populated [_FreshCredentials] on 200 (tokens carried in + /// `meta`). + /// + /// Throws: + /// - [MfaRequiredException] on a 401 that carries `meta.session_token`, + /// signalling that the user must complete a second factor before tokens + /// are issued. + /// - [WgerHttpException] for any other status, or for malformed / partial + /// bodies on otherwise-successful responses. + _FreshCredentials _consumeHeadlessAuthResponse(http.Response response) { + final Map body; + try { + body = json.decode(response.body) as Map; + } catch (_) { + throw WgerHttpException(response); + } + + if (response.statusCode == 401) { + final meta = body['meta'] as Map?; + final sessionToken = meta?['session_token'] as String?; + if (sessionToken != null && sessionToken.isNotEmpty) { + final flows = (body['data'] as Map?)?['flows'] as List?; + final factors = + flows + ?.whereType>() + .where( + (f) => f['id'] == 'mfa_authenticate' && (f['is_pending'] as bool? ?? false), + ) + .expand((f) => (f['types'] as List?)?.cast() ?? const []) + .toList() ?? + const []; + throw MfaRequiredException(sessionToken: sessionToken, availableFactors: factors); + } + throw WgerHttpException(response); + } + + if (response.statusCode != 200) { + throw WgerHttpException(response); + } + + // auth/login and auth/signup return the tokens under `meta`, while + // tokens/refresh returns them under `data` (see allauth.headless source: + // base/response.py vs tokens/response.py). Read both so this parser + // works for either response shape. + final meta = body['meta'] as Map?; + final data = body['data'] as Map?; + final accessToken = (meta?['access_token'] ?? data?['access_token']) as String?; + if (accessToken == null || accessToken.isEmpty) { + // 200 without tokens, likely a still-pending flow we don't know how + // to drive. Surface as an HTTP error so the caller renders something. + throw WgerHttpException(response); + } + return ( + credential: JwtCredential( + accessToken: accessToken, + expiresAt: jwtExp(decodeJwtPayload(accessToken)), + ), + refreshToken: (meta?['refresh_token'] ?? data?['refresh_token']) as String?, + ); + } + + /// Shared post-credentials path: persist the new bundle, run the gating + /// chain, swap PowerSync's connector if it was already up, invalidate the + /// data providers so they refetch with the new auth. + /// + /// When the incoming JWT belongs to a different user than the one whose + /// data sits in the local PowerSync DB, the DB is wiped before + /// reconnecting. Otherwise queued CRUD ops from the previous user would + /// be uploaded under the new user's credentials, which is both a leak + /// and would corrupt data ownership server-side. + Future _completeLogin( + _FreshCredentials creds, + String serverUrl, + PackageInfo appVersion, { + String? serverVersion, + }) async { + // Compare the durable DB-owner marker against the incoming user. null + // on the owner side means "no user data on disk" (fresh install, or the + // DB was wiped), so there is nothing to leak; we only wipe on a + // confirmed mismatch between two known users. + final dbOwnerUserId = await _storage.dbOwnerUserId(); + final newUserId = creds.credential.userId; + final userChanged = dbOwnerUserId != null && newUserId != null && dbOwnerUserId != newUserId; + + await _storage.saveJwt( + credential: creds.credential, + refreshToken: creds.refreshToken, + serverUrl: serverUrl, + ); + + final status = await _gating.resolve( + credential: creds.credential, + serverUrl: serverUrl, + appVersion: appVersion, + ); + var newState = AuthState( + status: status, + credential: creds.credential, + serverUrl: serverUrl, + serverVersion: serverVersion, + applicationVersion: appVersion, + ); + + if (newState.status == AuthStatus.loggedIn && + !await _gating.serverConfigSane(serverUrl: serverUrl, credential: creds.credential)) { + newState = newState.copyWith(serverConfigWarning: true); + } + + // Wipe the previous user's local DB BEFORE publishing the logged-in state, + // so no listener can react to the new identity while the old user's data + // and queued CRUD ops are still on disk (and uploadable under the new + // credentials). Mirrors the wipe-before-publish order of _resetSession. + if (newState.status == AuthStatus.loggedIn && userChanged) { + _logger.info( + 'different user logging in (was $dbOwnerUserId, now $newUserId), wiping local DB', + ); + await _wipeOnUserSwitch(); + } + + // Claim DB ownership for the new user. Written AFTER any wipe (and before + // the state publish) so a crash mid-login can never leave the marker + // pointing at a user whose data is still on disk under old ownership. + if (newState.status == AuthStatus.loggedIn && newUserId != null) { + await _storage.setDbOwnerUserId(newUserId); + } + + state = AsyncData(newState); + + if (newState.status == AuthStatus.loggedIn) { + await _reconnectPowerSyncIfBuilt(serverUrl); + _invalidatePostLoginProviders(); + } + + return switch (newState.status) { + AuthStatus.serverUpdateRequired || AuthStatus.appUpdateRequired => LoginActions.update, + _ => LoginActions.proceed, + }; + } + + /// Clears the server config warning flag, called from the auth screen after + /// the corresponding warning dialog has been shown to the user, so it doesn't + /// re-appear on the next state read. + void clearServerConfigWarning() { + final current = state.asData?.value; + if (current != null && current.serverConfigWarning) { + state = AsyncData(current.copyWith(serverConfigWarning: false)); + } + } + + /// Re-runs the auto-login flow. Used by the recovery screens + /// (`ServerUnreachableScreen`, `PowerSyncUnreachableScreen`) so the user + /// can retry without restarting the app. + Future retryAutoLogin() async { + state = const AsyncLoading(); + state = await AsyncValue.guard(_tryAutoLogin); + } + + Future _tryAutoLogin() async { + // One-shot migration: if a legacy DRF token is still on disk, swap it + // for a JWT bundle now so the rest of the auto-login can take the + // JWT happy path. On any failure the legacy blob is left alone and the + // user falls back to the still-supported legacy code path; the next + // start will try again. + await _maybeMigrateLegacyToJwt(); + final stored = await _storage.load(); + if (stored == null) { + _logger.info('autologin failed, no saved session'); + return const AuthState(); + } + final appVersion = await PackageInfo.fromPlatform(); + return _resolveStoredSession(stored, appVersion); + } + + /// Exchanges a legacy DRF API token for a headless-JWT bundle and + /// persists the result. No-op when no legacy blob is present. + /// + /// Sequence: + /// 1. POST to [ISSUE_REFRESH_TOKEN_PATH] authenticated with the legacy + /// `Token ` header. The server mints a long-lived refresh token + /// backed by a fresh Django session. + /// 2. Exchange that refresh token at the standard headless + /// `tokens/refresh` endpoint for the full access bundle (reuses + /// [_exchangePastedRefreshToken]). + /// 3. Persist the bundle. [AuthCredentialsStorage.saveJwt] wipes the + /// legacy `PREFS_USER` blob as a side effect, so the next load sees + /// the JWT path. + /// + /// Failure handling — all branches log and return without touching + /// state, so a re-attempt happens on the next app start: + /// - Network error: keep the DRF token, the user continues working + /// against the legacy code path until connectivity returns. + /// - 401 / 403: the DRF token has been revoked server-side. Wipe the + /// legacy blob so the user is routed to login (they have no usable + /// credential left). + /// - 5xx / malformed body / refresh exchange failure: keep the legacy + /// blob and retry on the next start. The server-side session row + /// minted in step 1 stays orphaned but is harmless. + Future _maybeMigrateLegacyToJwt() async { + final stored = await _storage.load(); + if (stored == null || stored.credential is! LegacyCredential) { + return; + } + final legacyCred = stored.credential as LegacyCredential; + final serverUrl = stored.serverUrl; + final appVersion = await PackageInfo.fromPlatform(); + + _logger.info('Legacy DRF token present, attempting JWT migration'); + + final http.Response response; + try { + response = await _client.post( + makeUri(serverUrl, ISSUE_REFRESH_TOKEN_PATH, trailingSlash: false), + headers: jsonApiHeaders(appVersion, { + HttpHeaders.authorizationHeader: legacyCred.authHeaderValue, + }), + ); + } on Exception catch (e, s) { + if (isNetworkError(e)) { + _logger.info('Legacy migration: server unreachable, keeping DRF token'); + return; + } + _logger.warning('Legacy migration: exchange POST threw', e, s); + return; + } + + if (_isAuthRejection(response.statusCode)) { + _logger.warning( + 'Legacy migration: DRF token rejected (${response.statusCode}), wiping legacy blob', + ); + await _storage.clearLegacy(); + return; + } + if (response.statusCode != 200) { + _logger.warning( + 'Legacy migration: unexpected status ${response.statusCode}, will retry next start', + ); + return; + } + + final String refreshToken; + try { + final body = json.decode(response.body) as Map; + refreshToken = body['refresh_token'] as String; + } catch (e, s) { + _logger.warning('Legacy migration: malformed response body', e, s); + return; + } + if (refreshToken.isEmpty) { + _logger.warning('Legacy migration: empty refresh_token in response'); + return; + } + + final _FreshCredentials freshCreds; + try { + freshCreds = await _exchangePastedRefreshToken(refreshToken, serverUrl, appVersion); + } on Exception catch (e, s) { + _logger.warning('Legacy migration: refresh token exchange failed', e, s); + return; + } + + await _storage.saveJwt( + credential: freshCreds.credential, + refreshToken: freshCreds.refreshToken, + serverUrl: serverUrl, + ); + // Claim DB ownership for the migrated user: this path logs in without + // going through _completeLogin, so otherwise the marker would stay null + // and a later different-user login wouldn't wipe. + final migratedUserId = freshCreds.credential.userId; + if (migratedUserId != null) { + await _storage.setDbOwnerUserId(migratedUserId); + } + _logger.info('Legacy migration: successful, DRF token replaced with JWT'); + } + + /// Common path for both the headless-JWT and the legacy auto-login flows: + /// probe the server, then run the full gating chain. Wipes the matching + /// stored credentials on a definitive 4xx so the user is routed to login. + Future _autoLoginWith(StoredAuth stored, PackageInfo appVersion) async { + final response = await _gating.probe( + credential: stored.credential, + serverUrl: stored.serverUrl, + appVersion: appVersion, + ); + // Server unreachable at startup. The user already has a saved session, so + // let them straight in to keep working offline. + if (response == null) { + _logger.info('autologin: server unreachable, continuing offline'); + return _restoredSessionState(stored, appVersion); + } + + // The server actively rejected our token: wipe the matching credential + // bundle and route to login. Only 401/403 count, a transient 5xx must not + // log the user out. + if (_isAuthRejection(response.statusCode)) { + _logger.info('autologin failed, token rejected: ${response.statusCode}'); + await _clearStoredCredential(stored.credential); + return AuthState(applicationVersion: appVersion); + } + + // Any other non-200 (5xx etc.) is transient: keep the saved session. + if (response.statusCode != 200) { + _logger.warning( + 'autologin: probe returned ${response.statusCode}, keeping saved session', + ); + return _restoredSessionState(stored, appVersion); + } + + final versionGate = await _gating.serverVersionGate(stored.serverUrl); + final status = versionGate.tooOld + ? AuthStatus.serverUpdateRequired + : await _gating.resolve( + credential: stored.credential, + serverUrl: stored.serverUrl, + appVersion: appVersion, + ); + final newState = AuthState( + status: status, + credential: stored.credential, + serverUrl: stored.serverUrl, + serverVersion: versionGate.version, + applicationVersion: appVersion, + ); + if (newState.status == AuthStatus.loggedIn) { + _logger.info('autologin successful'); + } + return newState; + } + + /// Decides how a stored session enters the app. A previously synced session + /// goes straight in (offline-capable) and is revalidated in the background; + /// a never-synced session has no local data yet, so the server must be + /// reached first through the blocking [_autoLoginWith] path. + Future _resolveStoredSession(StoredAuth stored, PackageInfo appVersion) async { + if (!await _storage.hasEverSynced()) { + return _autoLoginWith(stored, appVersion); + } + + _logger.info('autologin: session restored, revalidating in background'); + _scheduleRevalidation(); + return _restoredSessionState(stored, appVersion); + } + + /// Builds a logged-in [AuthState] for a stored session. Polymorphism in + /// [AuthCredential] keeps this branch-free across credential variants. + AuthState _restoredSessionState(StoredAuth stored, PackageInfo appVersion) { + return AuthState( + status: AuthStatus.loggedIn, + credential: stored.credential, + serverUrl: stored.serverUrl, + applicationVersion: appVersion, + ); + } + + /// Whether [statusCode] means the server actively rejected our token, as + /// opposed to a transient error that must not invalidate the session. + bool _isAuthRejection(int statusCode) => statusCode == 401 || statusCode == 403; + + /// Clears only the storage rows that back the given credential. Used on a + /// definitive auth-rejection by the server so the next start routes the + /// user to the login screen without touching the *other* credential + /// shape (which a parallel user on the same device might still rely on). + Future _clearStoredCredential(AuthCredential credential) => switch (credential) { + LegacyCredential() => _storage.clearLegacy(), + JwtCredential() => _storage.clearJwt(), + }; + + /// Schedules a non-blocking revalidation of the restored session. + /// + /// The first run is deferred to a fresh event-loop task so [build] has + /// completed first. It then re-runs whenever connectivity is regained, so a + /// session restored while offline still gets validated without an app + /// restart. Connectivity is observed directly rather than through + /// networkStatusProvider: the revalidation only needs a "connection returned" + /// trigger, and auth invalidates networkStatusProvider after login (see + /// [_invalidatePostLoginProviders]), so it deliberately doesn't depend on it. + void _scheduleRevalidation() { + revalidationDone = Future(_revalidate); + + final sub = Connectivity().onConnectivityChanged.listen((results) { + final online = results.any((r) => r != ConnectivityResult.none); + if (online) { + revalidationDone = _revalidate(); + } + }); + ref.onDispose(sub.cancel); + } + + /// Revalidates the restored session against the server. Fire-and-forget: it + /// never throws and only changes the state on a genuine problem (a revoked + /// token, or an outdated app/server). Transient failures (offline, 5xx, + /// network errors) leave the user logged in. + Future _revalidate() async { + try { + var current = state.asData?.value; + if (current == null || current.status != AuthStatus.loggedIn) { + return; + } + + // If the access token has expired (typical after a longer offline + // period) refresh first, so a still-valid refresh token isn't wasted + // by a 401 on the probe below. The refresh's own failure paths will + // clear the session if the refresh token is also dead. Legacy + // credentials are no-op here ([AuthCredential.needsRefresh] returns + // false for them). + if (current.credential?.needsRefresh(refreshLeeway) ?? false) { + _logger.fine('revalidation: access token within leeway, refreshing first'); + await refreshAccessToken(); + current = state.asData?.value; + if (current == null || current.status != AuthStatus.loggedIn) { + return; + } + } + + final credential = current.credential; + final serverUrl = current.serverUrl; + if (credential == null || serverUrl == null) { + return; + } + final appVersion = current.applicationVersion ?? await PackageInfo.fromPlatform(); + + final response = await _gating.probe( + credential: credential, + serverUrl: serverUrl, + appVersion: appVersion, + ); + if (response == null) { + _logger.fine('revalidation: server unreachable, keeping session'); + return; + } + if (_isAuthRejection(response.statusCode)) { + _logger.info( + 'revalidation: token rejected (${response.statusCode}), clearing session', + ); + await clearSessionOnly(); + showSessionExpiredSnackbar(); + return; + } + if (response.statusCode != 200) { + _logger.warning( + 'revalidation: probe returned ${response.statusCode}, keeping session', + ); + return; + } + + final versionGate = await _gating.serverVersionGate(serverUrl); + if (versionGate.tooOld) { + _logger.info('revalidation: server update required'); + state = AsyncData( + current.copyWith( + status: AuthStatus.serverUpdateRequired, + serverVersion: versionGate.version, + ), + ); + return; + } + if (await _gating.applicationUpdateRequired(serverUrl, appVersion.version)) { + _logger.info('revalidation: app update required'); + state = AsyncData( + current.copyWith( + status: AuthStatus.appUpdateRequired, + serverVersion: versionGate.version, + ), + ); + return; + } + + _logger.fine('revalidation: session still valid'); + } catch (e, s) { + _logger.warning('revalidation failed', e, s); + } + } + + /// Returns the current state value or a blank default. Callers that + /// mutate state should always compose on top of this. + AuthState _currentOrBlank() => state.asData?.value ?? const AuthState(); + + /// Invalidates every notifier that depends on the authenticated HTTP base + /// provider. Call this after a successful login so the providers refetch + /// with the new token instead of replaying their pre-login error state. + void _invalidatePostLoginProviders() { + _logger.fine('Invalidating data providers after login'); + ref.invalidate(accountProvider); + ref.invalidate(userProfileProvider); + ref.invalidate(routinesRiverpodProvider); + ref.invalidate(nutritionProvider); + ref.invalidate(trophyStateProvider); + ref.invalidate(galleryProvider); + // Re-probe reachability against the new server. NetworkStatus relies on + // this invalidation to pick up the post-login server URL immediately. + ref.invalidate(networkStatusProvider); + } + + /// Exchanges the persisted refresh token for a fresh access/refresh pair. + /// + /// Single-flight: concurrent callers share one HTTP request. On any + /// failure (missing refresh token, missing serverUrl, network error, + /// non-200 response, malformed body) the session is cleared via + /// [clearSessionOnly] so the user can re-authenticate without losing + /// local data. Pure network errors keep the session intact so offline + /// use continues to work. + /// + /// On success: `state.credential` is updated to the new JWT, the rotated + /// refresh token (when present) is written to secure storage, and the + /// new access token + its expiry are written to shared preferences. + Future refreshAccessToken() { + return _refreshInFlight ??= _runRefresh().whenComplete(() { + _refreshInFlight = null; + }); + } + + Future _runRefresh() async { + _logger.fine('refreshAccessToken: starting'); + final current = _currentOrBlank(); + final serverUrl = current.serverUrl; + if (serverUrl == null) { + _logger.warning('refreshAccessToken: no serverUrl in state, clearing session'); + await clearSessionOnly(); + return; + } + + final String? refreshToken; + try { + refreshToken = await _storage.readRefreshToken(); + } on Exception catch (e, s) { + // Secure storage can fail to decrypt the token, e.g. after an Android + // backup/restore onto a new device leaves the encrypted blob behind, etc. + _logger.warning('refreshAccessToken: secure storage read failed, clearing session', e, s); + await clearSessionOnly(); + showSessionExpiredSnackbar(); + return; + } + if (refreshToken == null || refreshToken.isEmpty) { + _logger.warning('refreshAccessToken: no refresh token in secure storage, clearing session'); + await clearSessionOnly(); + return; + } + + final appVersion = current.applicationVersion ?? await PackageInfo.fromPlatform(); + final http.Response response; + try { + response = await _client.post( + makeHeadlessUri(serverUrl, HEADLESS_TOKENS_REFRESH_PATH), + headers: jsonApiHeaders(appVersion), + body: json.encode({'refresh_token': refreshToken}), + ); + } on Exception catch (e, s) { + _logger.warning( + 'refreshAccessToken: network error, keeping session so local data stays accessible', + e, + s, + ); + return; + } + + if (response.statusCode != 200) { + final bodySnippet = response.body.length > 200 + ? '${response.body.substring(0, 200)}...' + : response.body; + _logger.warning( + 'refreshAccessToken: status ${response.statusCode}, body: $bodySnippet, clearing session', + ); + await clearSessionOnly(); + showSessionExpiredSnackbar(); + return; + } + + final String newAccess; + final String? newRefresh; + final DateTime? newExp; + try { + final body = json.decode(response.body) as Map; + // tokens/refresh returns the new tokens under `data` (see + // allauth.headless.tokens.response.RefreshTokenResponse); auth/login + // returns them under `meta`. Read whichever is present so this code + // keeps working if either response shape changes. + final data = body['data'] as Map?; + final meta = body['meta'] as Map?; + newAccess = (data?['access_token'] ?? meta?['access_token']) as String; + newRefresh = (data?['refresh_token'] ?? meta?['refresh_token']) as String?; + newExp = jwtExp(decodeJwtPayload(newAccess)); + } catch (e, s) { + // Don't log the body: on the success-shaped path it holds the rotated + // refresh token + _logger.warning( + 'refreshAccessToken: malformed response body, clearing session. ' + 'Status: ${response.statusCode}, body length: ${response.body.length}', + e, + s, + ); + await clearSessionOnly(); + showSessionExpiredSnackbar(); + return; + } + _logger.fine( + 'refreshAccessToken: success, new expiry $newExp, ' + 'rotated refresh token: ${newRefresh != null}', + ); + + final newCred = JwtCredential(accessToken: newAccess, expiresAt: newExp); + await _storage.updateJwt(credential: newCred, refreshToken: newRefresh); + state = AsyncData(current.copyWith(credential: newCred)); + } + + /// User-driven logout. Always wipes credentials; the local PowerSync data is + /// kept by default and only wiped when the user opts out + /// ([AuthCredentialsStorage.keepDataOnLogout]). + /// Keeping it lets the same user sign back in and resume the sync + /// incrementally instead of re-downloading everything; the DB-owner marker is + /// preserved so a *different* user signing in still triggers a wipe. + /// + /// Use for the explicit "Logout" buttons in the UI. For an involuntary + /// session loss (refresh-token expired, repeated 401, etc.) call + /// [clearSessionOnly] instead, which always keeps the local DB so the user + /// can re-authenticate without losing queued writes or cached read data. + Future logout() async { + final keepData = await _storage.keepDataOnLogout(); + await _resetSession(wipeLocalData: !keepData); + } + + /// Involuntary session loss: clears credentials but **keeps** the local + /// PowerSync DB so the user can sign back in without losing queued + /// writes or cached read data. PowerSync is disconnected, not cleared, + /// and [PREFS_HAS_EVER_SYNCED] is preserved so the next auto-login + /// takes the offline-friendly restored-session path. + /// + /// Called from refresh-token failures, repeated 401s on the HTTP + /// client, and revalidation rejections. The UI logout button must use + /// [logout] instead, which performs a full wipe. + Future clearSessionOnly() => _resetSession(wipeLocalData: false); + + /// Shared body for [logout] and [clearSessionOnly]. PowerSync is touched + /// before the state mutation so a reader observing the post-reset state + /// can never race ahead and re-attach to a DB we're about to wipe. + Future _resetSession({required bool wipeLocalData}) async { + _logger.fine(wipeLocalData ? 'logging out' : 'clearing session, keeping local DB'); + + // A failed wipe still logs the user out, but the data is left on disk: the + // owner marker must then survive so a later different user is detected as a + // switch and re-wipes, rather than docking onto the leftover data. + var wiped = true; + if (wipeLocalData) { + try { + await _wipeLocalDb(); + } catch (e, s) { + _logger.severe('logout wipe failed, keeping owner marker', e, s); + wiped = false; + } + } else { + await _disconnectPowerSyncIfBuilt(); + } + + state = AsyncData(AuthState(applicationVersion: _currentOrBlank().applicationVersion)); + if (wipeLocalData) { + await _storage.clearAll(); + // Drop the marker only when the data was actually removed, keeping the + // "null marker ⟺ no data" invariant. Kept on the credentials-only path + // so a returning user is recognised. + if (wiped) { + await _storage.setDbOwnerUserId(null); + } + } else { + await _storage.clearCredentials(); + } + } + + /// Disconnects an already-built PowerSync DB but keeps its data on + /// disk so a subsequent login can re-attach to the same database. + /// No-op when PowerSync hasn't been built yet. + Future _disconnectPowerSyncIfBuilt() async { + final db = builtPowerSyncInstance; + if (db == null) { + return; + } + try { + await db.disconnect(); + } catch (e, s) { + _logger.warning('PowerSync disconnect failed', e, s); + } + } + + /// Wipes the local PowerSync data when a different user logs in. + Future _wipeOnUserSwitch() async { + userSwitchWipeCount++; + await _wipeLocalDb(); + } + + /// Removes the local PowerSync data whether or not the DB has been built: + /// when the instance exists we use PowerSync's own `disconnectAndClear`, + /// otherwise (cold start, before any data widget has built it) we delete + /// the on-disk files directly so no data survives. + /// + /// Throws if the wipe fails. Callers must abort before advancing the DB + /// owner marker, otherwise the previous user's data stay on disk + Future _wipeLocalDb() async { + final db = builtPowerSyncInstance; + if (db != null) { + try { + await db.disconnectAndClear(); + } catch (e, s) { + _logger.severe('local DB wipe via disconnectAndClear failed', e, s); + rethrow; + } + return; + } + try { + await deletePowerSyncDatabaseFile(); + } catch (e, s) { + _logger.severe('local DB wipe via file delete failed', e, s); + rethrow; + } + } + + /// Reconnects an already-built PowerSync DB with a fresh connector for the + /// given [serverUrl]. No-op when PowerSync hasn't been built yet: the next + /// access will build it with the current (post-login) auth state. + Future _reconnectPowerSyncIfBuilt(String serverUrl) async { + final db = builtPowerSyncInstance; + if (db == null) { + return; + } + try { + connectPowerSync(db, serverUrl, ref.read(authenticatedHttpClientProvider)); + } catch (e, s) { + _logger.warning('PowerSync reconnect failed', e, s); + } + } + + /// Refreshes the server version into the state. + Future setServerVersion() async { + final current = _currentOrBlank(); + if (current.serverUrl == null) { + return; + } + final v = await _gating.fetchServerVersion(current.serverUrl!); + state = AsyncData(current.copyWith(serverVersion: v)); + } + + /// Loads the last server URL the user successfully logged in with. + static Future getServerUrlFromPrefs() async { + final prefs = PreferenceHelper.asyncPref; + if (!(await prefs.containsKey(PREFS_LAST_SERVER))) { + return DEFAULT_SERVER_PROD; + } + + final userData = json.decode((await prefs.getString(PREFS_LAST_SERVER))!); + return userData['serverUrl'] as String; + } +} + +/// In-memory bundle returned by the login / signup flows. Always carries a +/// [JwtCredential] (fresh logins go through `allauth.headless`); the refresh +/// token is the one the caller still needs to write to secure storage. +typedef _FreshCredentials = ({JwtCredential credential, String? refreshToken}); + +/// User-agent header string identifying the app/version/platform. +String getAppNameHeader(PackageInfo? applicationVersion) { + String out = ''; + if (applicationVersion != null) { + out = + '/${applicationVersion.version} ' + '(${applicationVersion.packageName}; ' + 'build: ${applicationVersion.buildNumber}; ' + 'platform: ${Platform.operatingSystem})' + ' - https://github.com/wger-project'; + } + return 'wger App$out'; +} + +/// Standard JSON-API headers for the auth endpoints. The `Accept` header keeps +/// a bot wall (e.g. Anubis) from serving an HTML challenge to these endpoints +/// instead of JSON. [extra] adds per-request headers (session token, auth, ...). +Map jsonApiHeaders(PackageInfo? appVersion, [Map? extra]) { + return { + HttpHeaders.contentTypeHeader: 'application/json; charset=utf-8', + HttpHeaders.acceptHeader: 'application/json', + HttpHeaders.userAgentHeader: getAppNameHeader(appVersion), + ...?extra, + }; +} diff --git a/lib/core/network/auth_notifier.g.dart b/lib/core/network/auth_notifier.g.dart new file mode 100644 index 000000000..d1cfe2bb9 --- /dev/null +++ b/lib/core/network/auth_notifier.g.dart @@ -0,0 +1,53 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'auth_notifier.dart'; + +// ************************************************************************** +// RiverpodGenerator +// ************************************************************************** + +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint, type=warning + +@ProviderFor(AuthNotifier) +final authProvider = AuthNotifierProvider._(); + +final class AuthNotifierProvider extends $AsyncNotifierProvider { + AuthNotifierProvider._() + : super( + from: null, + argument: null, + retry: null, + name: r'authProvider', + isAutoDispose: false, + dependencies: null, + $allTransitiveDependencies: null, + ); + + @override + String debugGetCreateSourceHash() => _$authNotifierHash(); + + @$internal + @override + AuthNotifier create() => AuthNotifier(); +} + +String _$authNotifierHash() => r'720d6e804991e1b0c0b0bbd2a2077ed8422c0e39'; + +abstract class _$AuthNotifier extends $AsyncNotifier { + FutureOr build(); + @$mustCallSuper + @override + WhenComplete runBuild() { + final ref = this.ref as $Ref, AuthState>; + final element = + ref.element + as $ClassProviderElement< + AnyNotifier, AuthState>, + AsyncValue, + Object?, + Object? + >; + return element.handleCreate(ref, build); + } +} diff --git a/lib/core/network/auth_state.dart b/lib/core/network/auth_state.dart new file mode 100644 index 000000000..e0f282186 --- /dev/null +++ b/lib/core/network/auth_state.dart @@ -0,0 +1,75 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:freezed_annotation/freezed_annotation.dart'; +import 'package:package_info_plus/package_info_plus.dart'; +import 'package:wger/core/network/auth_credential.dart'; + +export 'package:wger/core/network/auth_credential.dart'; + +part 'auth_state.freezed.dart'; + +enum AuthStatus { + loggedOut, + loggedIn, + + // The app used to connect to a wger instance is too old and must be updated + appUpdateRequired, + + // The wger server the app is configured to connect to is too old and must be updated + serverUpdateRequired, + + /// The wger server is reachable, but the PowerSync service it points us + /// at is not, and the user has never completed a full sync, so we have + /// no local data to show. + powerSyncUnreachable, +} + +enum LoginActions { + update, + proceed, +} + +/// Storage-layer discriminator for the persisted credential bundle. Lives in +/// `PREFS_TOKEN_TYPE` so auto-login can tell which set of preference keys to +/// read on startup. Runtime code should branch on the [AuthCredential] +/// subtype (`LegacyCredential` / `JwtCredential`) instead. +enum AuthTokenType { + /// Permanent DRF token persisted under `PREFS_USER`. + legacyApiToken, + + /// Headless JWT bundle persisted under the `PREFS_ACCESS_TOKEN` family of + /// keys; refresh token lives in secure storage. + headlessJwt, +} + +@freezed +sealed class AuthState with _$AuthState { + const factory AuthState({ + @Default(AuthStatus.loggedOut) AuthStatus status, + AuthCredential? credential, + String? serverUrl, + String? serverVersion, + PackageInfo? applicationVersion, + @Default(false) bool serverConfigWarning, + }) = _AuthState; + + const AuthState._(); + + bool get isAuth => credential != null; +} diff --git a/lib/core/network/auth_state.freezed.dart b/lib/core/network/auth_state.freezed.dart new file mode 100644 index 000000000..38d05b6cb --- /dev/null +++ b/lib/core/network/auth_state.freezed.dart @@ -0,0 +1,304 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND +// coverage:ignore-file +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'auth_state.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +// dart format off +T _$identity(T value) => value; +/// @nodoc +mixin _$AuthState { + + AuthStatus get status; AuthCredential? get credential; String? get serverUrl; String? get serverVersion; PackageInfo? get applicationVersion; bool get serverConfigWarning; +/// Create a copy of AuthState +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$AuthStateCopyWith get copyWith => _$AuthStateCopyWithImpl(this as AuthState, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is AuthState&&(identical(other.status, status) || other.status == status)&&(identical(other.credential, credential) || other.credential == credential)&&(identical(other.serverUrl, serverUrl) || other.serverUrl == serverUrl)&&(identical(other.serverVersion, serverVersion) || other.serverVersion == serverVersion)&&(identical(other.applicationVersion, applicationVersion) || other.applicationVersion == applicationVersion)&&(identical(other.serverConfigWarning, serverConfigWarning) || other.serverConfigWarning == serverConfigWarning)); +} + + +@override +int get hashCode => Object.hash(runtimeType,status,credential,serverUrl,serverVersion,applicationVersion,serverConfigWarning); + +@override +String toString() { + return 'AuthState(status: $status, credential: $credential, serverUrl: $serverUrl, serverVersion: $serverVersion, applicationVersion: $applicationVersion, serverConfigWarning: $serverConfigWarning)'; +} + + +} + +/// @nodoc +abstract mixin class $AuthStateCopyWith<$Res> { + factory $AuthStateCopyWith(AuthState value, $Res Function(AuthState) _then) = _$AuthStateCopyWithImpl; +@useResult +$Res call({ + AuthStatus status, AuthCredential? credential, String? serverUrl, String? serverVersion, PackageInfo? applicationVersion, bool serverConfigWarning +}); + + +$AuthCredentialCopyWith<$Res>? get credential; + +} +/// @nodoc +class _$AuthStateCopyWithImpl<$Res> + implements $AuthStateCopyWith<$Res> { + _$AuthStateCopyWithImpl(this._self, this._then); + + final AuthState _self; + final $Res Function(AuthState) _then; + +/// Create a copy of AuthState +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? status = null,Object? credential = freezed,Object? serverUrl = freezed,Object? serverVersion = freezed,Object? applicationVersion = freezed,Object? serverConfigWarning = null,}) { + return _then(_self.copyWith( +status: null == status ? _self.status : status // ignore: cast_nullable_to_non_nullable +as AuthStatus,credential: freezed == credential ? _self.credential : credential // ignore: cast_nullable_to_non_nullable +as AuthCredential?,serverUrl: freezed == serverUrl ? _self.serverUrl : serverUrl // ignore: cast_nullable_to_non_nullable +as String?,serverVersion: freezed == serverVersion ? _self.serverVersion : serverVersion // ignore: cast_nullable_to_non_nullable +as String?,applicationVersion: freezed == applicationVersion ? _self.applicationVersion : applicationVersion // ignore: cast_nullable_to_non_nullable +as PackageInfo?,serverConfigWarning: null == serverConfigWarning ? _self.serverConfigWarning : serverConfigWarning // ignore: cast_nullable_to_non_nullable +as bool, + )); +} +/// Create a copy of AuthState +/// with the given fields replaced by the non-null parameter values. +@override +@pragma('vm:prefer-inline') +$AuthCredentialCopyWith<$Res>? get credential { + if (_self.credential == null) { + return null; + } + + return $AuthCredentialCopyWith<$Res>(_self.credential!, (value) { + return _then(_self.copyWith(credential: value)); + }); +} +} + + +/// Adds pattern-matching-related methods to [AuthState]. +extension AuthStatePatterns on AuthState { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _AuthState value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _AuthState() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _AuthState value) $default,){ +final _that = this; +switch (_that) { +case _AuthState(): +return $default(_that);} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _AuthState value)? $default,){ +final _that = this; +switch (_that) { +case _AuthState() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( AuthStatus status, AuthCredential? credential, String? serverUrl, String? serverVersion, PackageInfo? applicationVersion, bool serverConfigWarning)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _AuthState() when $default != null: +return $default(_that.status,_that.credential,_that.serverUrl,_that.serverVersion,_that.applicationVersion,_that.serverConfigWarning);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( AuthStatus status, AuthCredential? credential, String? serverUrl, String? serverVersion, PackageInfo? applicationVersion, bool serverConfigWarning) $default,) {final _that = this; +switch (_that) { +case _AuthState(): +return $default(_that.status,_that.credential,_that.serverUrl,_that.serverVersion,_that.applicationVersion,_that.serverConfigWarning);} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( AuthStatus status, AuthCredential? credential, String? serverUrl, String? serverVersion, PackageInfo? applicationVersion, bool serverConfigWarning)? $default,) {final _that = this; +switch (_that) { +case _AuthState() when $default != null: +return $default(_that.status,_that.credential,_that.serverUrl,_that.serverVersion,_that.applicationVersion,_that.serverConfigWarning);case _: + return null; + +} +} + +} + +/// @nodoc + + +class _AuthState extends AuthState { + const _AuthState({this.status = AuthStatus.loggedOut, this.credential, this.serverUrl, this.serverVersion, this.applicationVersion, this.serverConfigWarning = false}): super._(); + + +@override@JsonKey() final AuthStatus status; +@override final AuthCredential? credential; +@override final String? serverUrl; +@override final String? serverVersion; +@override final PackageInfo? applicationVersion; +@override@JsonKey() final bool serverConfigWarning; + +/// Create a copy of AuthState +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$AuthStateCopyWith<_AuthState> get copyWith => __$AuthStateCopyWithImpl<_AuthState>(this, _$identity); + + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _AuthState&&(identical(other.status, status) || other.status == status)&&(identical(other.credential, credential) || other.credential == credential)&&(identical(other.serverUrl, serverUrl) || other.serverUrl == serverUrl)&&(identical(other.serverVersion, serverVersion) || other.serverVersion == serverVersion)&&(identical(other.applicationVersion, applicationVersion) || other.applicationVersion == applicationVersion)&&(identical(other.serverConfigWarning, serverConfigWarning) || other.serverConfigWarning == serverConfigWarning)); +} + + +@override +int get hashCode => Object.hash(runtimeType,status,credential,serverUrl,serverVersion,applicationVersion,serverConfigWarning); + +@override +String toString() { + return 'AuthState(status: $status, credential: $credential, serverUrl: $serverUrl, serverVersion: $serverVersion, applicationVersion: $applicationVersion, serverConfigWarning: $serverConfigWarning)'; +} + + +} + +/// @nodoc +abstract mixin class _$AuthStateCopyWith<$Res> implements $AuthStateCopyWith<$Res> { + factory _$AuthStateCopyWith(_AuthState value, $Res Function(_AuthState) _then) = __$AuthStateCopyWithImpl; +@override @useResult +$Res call({ + AuthStatus status, AuthCredential? credential, String? serverUrl, String? serverVersion, PackageInfo? applicationVersion, bool serverConfigWarning +}); + + +@override $AuthCredentialCopyWith<$Res>? get credential; + +} +/// @nodoc +class __$AuthStateCopyWithImpl<$Res> + implements _$AuthStateCopyWith<$Res> { + __$AuthStateCopyWithImpl(this._self, this._then); + + final _AuthState _self; + final $Res Function(_AuthState) _then; + +/// Create a copy of AuthState +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? status = null,Object? credential = freezed,Object? serverUrl = freezed,Object? serverVersion = freezed,Object? applicationVersion = freezed,Object? serverConfigWarning = null,}) { + return _then(_AuthState( +status: null == status ? _self.status : status // ignore: cast_nullable_to_non_nullable +as AuthStatus,credential: freezed == credential ? _self.credential : credential // ignore: cast_nullable_to_non_nullable +as AuthCredential?,serverUrl: freezed == serverUrl ? _self.serverUrl : serverUrl // ignore: cast_nullable_to_non_nullable +as String?,serverVersion: freezed == serverVersion ? _self.serverVersion : serverVersion // ignore: cast_nullable_to_non_nullable +as String?,applicationVersion: freezed == applicationVersion ? _self.applicationVersion : applicationVersion // ignore: cast_nullable_to_non_nullable +as PackageInfo?,serverConfigWarning: null == serverConfigWarning ? _self.serverConfigWarning : serverConfigWarning // ignore: cast_nullable_to_non_nullable +as bool, + )); +} + +/// Create a copy of AuthState +/// with the given fields replaced by the non-null parameter values. +@override +@pragma('vm:prefer-inline') +$AuthCredentialCopyWith<$Res>? get credential { + if (_self.credential == null) { + return null; + } + + return $AuthCredentialCopyWith<$Res>(_self.credential!, (value) { + return _then(_self.copyWith(credential: value)); + }); +} +} + +// dart format on diff --git a/lib/providers/base_provider.dart b/lib/core/network/base_provider.dart similarity index 75% rename from lib/providers/base_provider.dart rename to lib/core/network/base_provider.dart index 2abb48477..6e1168845 100644 --- a/lib/providers/base_provider.dart +++ b/lib/core/network/base_provider.dart @@ -23,9 +23,10 @@ import 'dart:math' as math; import 'package:http/http.dart' as http; import 'package:logging/logging.dart'; +import 'package:package_info_plus/package_info_plus.dart'; import 'package:wger/core/exceptions/http_exception.dart'; -import 'package:wger/providers/auth.dart'; -import 'package:wger/providers/helpers.dart'; +import 'package:wger/core/helpers.dart'; +import 'package:wger/core/network/auth_notifier.dart' show getAppNameHeader; /// default timeout for GET requests const DEFAULT_TIMEOUT = Duration(seconds: 15); @@ -33,27 +34,31 @@ const DEFAULT_TIMEOUT = Duration(seconds: 15); /// Base provider class. /// /// Provides a couple of comfort functions so we avoid a bit of boilerplate. +/// Holds the [serverUrl] + app version snapshot and a [client] that already +/// handles authentication for every outgoing request (see `AuthHttpClient`). +/// Building the `Authorization` header is therefore *not* a responsibility +/// of this class anymore, the client owns it. class WgerBaseProvider { final _logger = Logger('WgerBaseProvider'); - AuthProvider auth; + final String? serverUrl; + final PackageInfo? applicationVersion; late http.Client client; - WgerBaseProvider(this.auth, [http.Client? client]) { - auth = auth; + WgerBaseProvider({this.serverUrl, this.applicationVersion, http.Client? client}) { this.client = client ?? http.Client(); } - Map getDefaultHeaders({bool includeAuth = false, String? language}) { + String getAppNameHeaderValue() => getAppNameHeader(applicationVersion); + + /// Default non-auth headers for outgoing requests. The `Authorization` + /// header is injected by the underlying `AuthHttpClient` + Map getDefaultHeaders({String? language}) { final out = { HttpHeaders.contentTypeHeader: 'application/json; charset=UTF-8', - HttpHeaders.userAgentHeader: auth.getAppNameHeader(), + HttpHeaders.userAgentHeader: getAppNameHeaderValue(), }; - if (includeAuth) { - out[HttpHeaders.authorizationHeader] = 'Token ${auth.token}'; - } - if (language != null) { out[HttpHeaders.acceptLanguageHeader] = language; } @@ -63,9 +68,12 @@ class WgerBaseProvider { /// Helper function to make a URL. Uri makeUrl(String path, {int? id, String? objectMethod, Map? query}) { - return makeUri(auth.serverUrl!, path, id, objectMethod, query); + return makeUri(serverUrl!, path, id: id, objectMethod: objectMethod, query: query); } + /// Builds a `/allauth/app/v1/` URL for the headless API. + Uri makeHeadlessUrl(String path) => makeHeadlessUri(serverUrl!, path); + /// Fetch and retrieve the overview list of objects, returns the JSON parsed response /// with a simple retry mechanism for transient errors. Future fetch( @@ -90,7 +98,7 @@ class WgerBaseProvider { while (true) { try { final response = await client - .get(uri, headers: getDefaultHeaders(includeAuth: true, language: language)) + .get(uri, headers: getDefaultHeaders(language: language)) .timeout(timeout); if (response.statusCode >= 400) { @@ -147,7 +155,7 @@ class WgerBaseProvider { Future> post(Map data, Uri uri) async { final response = await client.post( uri, - headers: getDefaultHeaders(includeAuth: true), + headers: getDefaultHeaders(), body: json.encode(data), ); @@ -159,11 +167,22 @@ class WgerBaseProvider { return json.decode(response.body); } + /// PUTs to the given URI. + Future> put(Map data, Uri uri) async { + final response = await client.put(uri, headers: getDefaultHeaders(), body: json.encode(data)); + + if (response.statusCode >= 400) { + throw WgerHttpException(response); + } + + return response.body.isEmpty ? {} : json.decode(response.body); + } + /// PATCHEs an existing object Future> patch(Map data, Uri uri) async { final response = await client.patch( uri, - headers: getDefaultHeaders(includeAuth: true), + headers: getDefaultHeaders(), body: json.encode(data), ); @@ -181,7 +200,7 @@ class WgerBaseProvider { final response = await client.delete( deleteUrl, - headers: getDefaultHeaders(includeAuth: true), + headers: getDefaultHeaders(), ); // Something wrong with our request diff --git a/lib/core/network/jwt.dart b/lib/core/network/jwt.dart new file mode 100644 index 000000000..a03cb4fe8 --- /dev/null +++ b/lib/core/network/jwt.dart @@ -0,0 +1,55 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'dart:convert'; + +import 'package:logging/logging.dart'; + +final _logger = Logger('jwt'); + +/// Decodes the payload (middle segment) of a JWT. +/// +/// Returns null when the input is not a three-segment token, when the middle +/// segment is not valid base64-url, or when the decoded bytes are not a JSON +/// object. The signature is not verified, so callers must treat the result +/// as untrusted data. +Map? decodeJwtPayload(String jwt) { + try { + final parts = jwt.split('.'); + if (parts.length != 3) { + return null; + } + return json.decode(utf8.decode(base64Url.decode(base64Url.normalize(parts[1])))) + as Map; + } catch (e) { + _logger.warning('Could not decode JWT payload', e); + return null; + } +} + +/// Extracts the `exp` claim (unix seconds) as a UTC [DateTime]. +/// +/// Returns null when the payload is null, when `exp` is missing, or when it is +/// not numeric. Fractional seconds are truncated. +DateTime? jwtExp(Map? payload) { + final exp = payload?['exp']; + if (exp is! num) { + return null; + } + return DateTime.fromMillisecondsSinceEpoch(exp.toInt() * 1000, isUtc: true); +} diff --git a/lib/core/network/network_provider.dart b/lib/core/network/network_provider.dart new file mode 100644 index 000000000..a4edbf7f9 --- /dev/null +++ b/lib/core/network/network_provider.dart @@ -0,0 +1,148 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'dart:async'; +import 'dart:io'; + +import 'package:connectivity_plus/connectivity_plus.dart'; +import 'package:flutter/foundation.dart'; +import 'package:http/http.dart' as http; +import 'package:logging/logging.dart'; +import 'package:riverpod_annotation/riverpod_annotation.dart'; +import 'package:wger/core/errors.dart'; +import 'package:wger/core/network/wger_base.dart'; + +part 'network_provider.g.dart'; + +/// Returns whether the wger backend is actually reachable. +/// +/// Given `probeUri` any HTTP response counts as reachable, only a +/// network-level error or timeout counts as offline. The request carries +/// `userAgent` so the probe is identifiable in server logs. When `probeUri` is +/// null (no server configured yet, e.g. on the login screen) it falls back to +/// a DNS lookup so there is still a sane online/offline signal. +/// +/// Tests can swap this for a deterministic stub via `installFakeConnectivity()` +/// so the test runner doesn't make real network calls. +@visibleForTesting +Future Function(Uri? probeUri, String? userAgent, Duration timeout) reachabilityCheck = + _defaultReachabilityCheck; + +Future _defaultReachabilityCheck( + Uri? probeUri, + String? userAgent, + Duration timeout, +) async { + // No server configured yet: fall back to a generic internet check. + if (probeUri == null) { + try { + final result = await InternetAddress.lookup('google.com').timeout(timeout); + return result.isNotEmpty && result.first.rawAddress.isNotEmpty; + } catch (_) { + return false; + } + } + + final client = http.Client(); + try { + // Any response (even 401/403) proves the server answered. HEAD keeps it + // cheap and the version endpoint does not hit the database. + await client + .head( + probeUri, + headers: userAgent != null ? {HttpHeaders.userAgentHeader: userAgent} : null, + ) + .timeout(timeout); + return true; + } catch (e) { + if (isNetworkError(e)) { + return false; + } + rethrow; + } finally { + client.close(); + } +} + +/// Interval for the active backend re-probe (see [NetworkStatus]). Tests set +/// this to `null` to disable the periodic timer; a pending timer would +/// otherwise fail the test runner. +@visibleForTesting +Duration? networkProbeInterval = const Duration(seconds: 30); + +@Riverpod(keepAlive: true) +class NetworkStatus extends _$NetworkStatus { + final _logger = Logger('NetworkStatus'); + + StreamSubscription>? _sub; + Timer? _probeTimer; + + @override + bool build() { + _logger.finer('Building NetworkStatus provider'); + _init(); + // Assume we're online until the first connectivity probe says otherwise, + // this avoids e.g. flashing an "offline" state on app start + return true; + } + + void _init() { + check(); + + _sub = Connectivity().onConnectivityChanged.listen((conn) async { + state = await _hasConnectionAndInternet(conn); + }); + + // Connectivity events only fire on adapter changes, so an active re-probe + // is needed to notice a backend that goes down (or comes back) while the + // network stays up. + final probeInterval = networkProbeInterval; + if (probeInterval != null) { + _probeTimer = Timer.periodic(probeInterval, (_) => check()); + } + + ref.onDispose(() { + _sub?.cancel(); + _probeTimer?.cancel(); + }); + } + + Future check({Duration timeout = const Duration(seconds: 1)}) async { + final conn = await Connectivity().checkConnectivity(); + final ok = await _hasConnectionAndInternet(conn, timeout: timeout); + state = ok; + return ok; + } + + Future _hasConnectionAndInternet( + List conn, { + Duration timeout = const Duration(seconds: 1), + }) async { + // Only short-circuit when there's clearly no network adapter at all. Any + // other connectivity type (wifi, ethernet, mobile, vpn, other, ...) still + // has to prove real reachability via the probe below. An empty list + // counts as "no connection" too. + if (conn.every((c) => c == ConnectivityResult.none)) { + return false; + } + + final base = ref.read(wgerBaseProvider); + final probeUri = base.serverUrl != null ? base.makeUrl('version') : null; + return reachabilityCheck(probeUri, base.getAppNameHeaderValue(), timeout); + } +} diff --git a/lib/core/network/network_provider.g.dart b/lib/core/network/network_provider.g.dart new file mode 100644 index 000000000..e84356690 --- /dev/null +++ b/lib/core/network/network_provider.g.dart @@ -0,0 +1,55 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'network_provider.dart'; + +// ************************************************************************** +// RiverpodGenerator +// ************************************************************************** + +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint, type=warning + +@ProviderFor(NetworkStatus) +final networkStatusProvider = NetworkStatusProvider._(); + +final class NetworkStatusProvider extends $NotifierProvider { + NetworkStatusProvider._() + : super( + from: null, + argument: null, + retry: null, + name: r'networkStatusProvider', + isAutoDispose: false, + dependencies: null, + $allTransitiveDependencies: null, + ); + + @override + String debugGetCreateSourceHash() => _$networkStatusHash(); + + @$internal + @override + NetworkStatus create() => NetworkStatus(); + + /// {@macro riverpod.override_with_value} + Override overrideWithValue(bool value) { + return $ProviderOverride( + origin: this, + providerOverride: $SyncValueProvider(value), + ); + } +} + +String _$networkStatusHash() => r'2abc19df2e0e679222609fec1d637ae131ef4ac1'; + +abstract class _$NetworkStatus extends $Notifier { + bool build(); + @$mustCallSuper + @override + WhenComplete runBuild() { + final ref = this.ref as $Ref; + final element = + ref.element as $ClassProviderElement, bool, Object?, Object?>; + return element.handleCreate(ref, build); + } +} diff --git a/lib/core/network/secure_token_storage.dart b/lib/core/network/secure_token_storage.dart new file mode 100644 index 000000000..49d3d2068 --- /dev/null +++ b/lib/core/network/secure_token_storage.dart @@ -0,0 +1,58 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter_riverpod/flutter_riverpod.dart' show Provider; +import 'package:flutter_secure_storage/flutter_secure_storage.dart'; +import 'package:wger/core/consts.dart'; + +/// Persists the headless refresh token in platform-level secure storage +/// (Keychain on iOS, EncryptedSharedPreferences on Android). +/// +/// Wrapped behind an interface so tests can substitute an in-memory mock +/// without touching platform channels. +abstract interface class SecureTokenStorage { + /// Persists [token] under the well-known refresh-token key. Overwrites any + /// previous value. + Future writeRefreshToken(String token); + + /// Returns the persisted refresh token, or null if none is stored. + Future readRefreshToken(); + + /// Removes the persisted refresh token. No-op when none is stored. + Future deleteRefreshToken(); +} + +class FlutterSecureTokenStorage implements SecureTokenStorage { + final FlutterSecureStorage _storage; + + const FlutterSecureTokenStorage([this._storage = const FlutterSecureStorage()]); + + @override + Future writeRefreshToken(String token) => + _storage.write(key: SECURE_STORAGE_REFRESH_TOKEN, value: token); + + @override + Future readRefreshToken() => _storage.read(key: SECURE_STORAGE_REFRESH_TOKEN); + + @override + Future deleteRefreshToken() => _storage.delete(key: SECURE_STORAGE_REFRESH_TOKEN); +} + +final secureTokenStorageProvider = Provider( + (ref) => const FlutterSecureTokenStorage(), +); diff --git a/lib/core/network/server_gating.dart b/lib/core/network/server_gating.dart new file mode 100644 index 000000000..fc099bd71 --- /dev/null +++ b/lib/core/network/server_gating.dart @@ -0,0 +1,283 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'dart:convert'; +import 'dart:io'; + +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:http/http.dart' as http; +import 'package:logging/logging.dart'; +import 'package:package_info_plus/package_info_plus.dart'; +import 'package:version/version.dart'; +import 'package:wger/core/consts.dart'; +import 'package:wger/core/errors.dart'; +import 'package:wger/core/helpers.dart'; +import 'package:wger/core/network/auth_credentials_storage.dart'; +import 'package:wger/core/network/auth_notifier.dart'; +import 'package:wger/core/network/auth_state.dart'; + +/// `/api/v2/` endpoints used by the gating chain. +const _MIN_APP_VERSION_PATH = 'min-app-version'; +const _SERVER_VERSION_PATH = 'version'; + +/// Server-side reachability and version checks that gate "we have valid +/// credentials" from "the user can actually use the app". +class ServerGating { + final http.Client _client; + final AuthCredentialsStorage _storage; + final _logger = Logger('ServerGating'); + + ServerGating(this._client, this._storage); + + /// Runs the credential-dependent gates: minimum app version, then PowerSync + /// reachability (only on the first-time path). The server-version gate runs + /// separately via [serverVersionGate], so callers check the version once and + /// pass it into the auth state themselves. + Future resolve({ + required AuthCredential credential, + required String serverUrl, + required PackageInfo appVersion, + }) async { + if (await applicationUpdateRequired(serverUrl, appVersion.version)) { + return AuthStatus.appUpdateRequired; + } + if (!await isPowerSyncReachable(serverUrl: serverUrl, credential: credential)) { + return AuthStatus.powerSyncUnreachable; + } + return AuthStatus.loggedIn; + } + + /// The single place the server version is fetched and checked. Returns the + /// fetched `version` (for the auth state; null when unreadable) and whether + /// it's `tooOld` for this app. Lenient: `tooOld` is false on an unreadable + /// version. + Future<({String? version, bool tooOld})> serverVersionGate(String serverUrl) async { + final version = await fetchServerVersion(serverUrl); + return (version: version, tooOld: serverUpdateRequired(version)); + } + + /// HEAD probe against `/routine` to confirm the server is reachable + /// and accepts our credential. Returns null when the request couldn't + /// leave the device (offline, TLS handshake failure, etc.) so callers + /// can distinguish "we couldn't reach the server" from "the server said + /// no". Only the latter is grounds for logging the user out. + Future probe({ + required AuthCredential credential, + required String serverUrl, + required PackageInfo appVersion, + }) async { + try { + return await _client.head( + makeUri(serverUrl, 'routine'), + headers: { + HttpHeaders.contentTypeHeader: 'application/json; charset=UTF-8', + HttpHeaders.userAgentHeader: getAppNameHeader(appVersion), + HttpHeaders.authorizationHeader: credential.authHeaderValue, + }, + ); + } on Exception catch (e, s) { + if (isNetworkError(e)) { + _logger.warning('wger probe: server unreachable: $e', e, s); + return null; + } + rethrow; + } + } + + /// Detects reverse-proxy misconfiguration on the wger server by + /// confirming pagination URLs returned by the API point back to the + /// same host and scheme as the configured [serverUrl]. Returns true + /// when the configuration looks fine (or the check could not be + /// completed conclusively, so the caller defaults to permissive). + Future serverConfigSane({ + required String serverUrl, + required AuthCredential credential, + }) async { + try { + final baseUri = Uri.parse(serverUrl); + final response = await _client.get( + Uri.parse('$serverUrl/api/v2/exercise/?limit=1'), + headers: { + HttpHeaders.authorizationHeader: credential.authHeaderValue, + HttpHeaders.acceptHeader: 'application/json', + }, + ); + + if (response.statusCode != 200) { + return true; + } + + final data = json.decode(response.body) as Map; + final nextUrl = data['next'] as String?; + if (nextUrl == null) { + return true; + } + + final nextUri = Uri.parse(nextUrl); + return nextUri.host.toLowerCase() == baseUri.host.toLowerCase() && + nextUri.scheme == baseUri.scheme; + } catch (e) { + _logger.info('serverConfigSane check failed: $e'); + return true; + } + } + + /// Tries to reach the PowerSync service and returns true if it looks + /// alive. Only runs the first time a user logs in (subsequent calls + /// short-circuit via [AuthCredentialsStorage.hasEverSynced]); on + /// success the flag is set so future starts skip the probe. + Future isPowerSyncReachable({ + required String serverUrl, + required AuthCredential credential, + }) async { + if (await _storage.hasEverSynced()) { + return true; + } + + try { + final tokenResponse = await _client.get( + makeUri(serverUrl, 'powersync-token', trailingSlash: false), + headers: { + HttpHeaders.contentTypeHeader: 'application/json', + HttpHeaders.authorizationHeader: credential.authHeaderValue, + }, + ); + if (tokenResponse.statusCode != 200) { + _logger.warning( + 'PowerSync probe: token endpoint returned ${tokenResponse.statusCode}', + ); + return false; + } + final body = json.decode(tokenResponse.body) as Map; + final powerSyncUrl = body['powersync_url'] as String?; + if (powerSyncUrl == null || powerSyncUrl.isEmpty) { + _logger.warning('PowerSync probe: empty powersync_url in token response'); + return false; + } + + final probeUri = Uri.parse( + '$powerSyncUrl${powerSyncUrl.endsWith('/') ? '' : '/'}probes/liveness', + ); + final probeResponse = await _client.get(probeUri); + if (probeResponse.statusCode == 200) { + await _storage.markEverSynced(); + return true; + } + _logger.warning('PowerSync probe: liveness returned ${probeResponse.statusCode}'); + return false; + } on Exception catch (e, s) { + _logger.warning('PowerSync probe failed: $e', e, s); + return false; + } + } + + /// Fetches the server's reported version, or null when it can't be read + /// (non-200, unparseable body, or network error). Null is handled leniently + /// by [serverUpdateRequired], so a transient blip doesn't gate the user out. + Future fetchServerVersion(String serverUrl) async { + try { + final response = await _client.get(makeUri(serverUrl, _SERVER_VERSION_PATH)); + if (response.statusCode != 200) { + _logger.warning('fetchServerVersion: status ${response.statusCode}, skipping check'); + return null; + } + final decoded = json.decode(response.body); + return decoded is String ? decoded : null; + } on Exception catch (e, s) { + _logger.warning('fetchServerVersion failed: $e', e, s); + return null; + } + } + + /// Whether the server requires a newer app build. Lenient: on a non-200, + /// unparseable body, or network error the check is skipped (returns false), + /// so a transient blip doesn't lock the user out. + Future applicationUpdateRequired(String serverUrl, String appVersion) async { + try { + final response = await _client.get(makeUri(serverUrl, _MIN_APP_VERSION_PATH)); + if (response.statusCode != 200) { + _logger.warning( + 'applicationUpdateRequired: status ${response.statusCode}, skipping check', + ); + return false; + } + final decoded = json.decode(response.body); + if (decoded is! String) { + _logger.warning('applicationUpdateRequired: unexpected body, skipping check'); + return false; + } + final current = Version.parse(appVersion); + final required = Version.parse(decoded); + final needUpdate = required > current; + if (needUpdate) { + _logger.fine('Application update required: $required > $current'); + } + return needUpdate; + } on Exception catch (e, s) { + _logger.warning('applicationUpdateRequired failed: $e', e, s); + return false; + } + } +} + +/// Checks whether the connected server meets the minimum version required +/// by this build of the app. +/// +/// Returns false (lenient) when the version cannot be read or parsed, so +/// users aren't locked out on unexpected server configurations. +bool serverUpdateRequired(String? rawVersion) { + final logger = Logger('ServerGating'); + if (rawVersion == null) { + logger.warning('serverUpdateRequired: serverVersion is null, skipping check'); + return false; + } + + // Strip common non-semver suffixes emitted by Python/Django backends, + // e.g. '2.5.0a2' → '2.5.0', '2.3.0 (git-abc1234)' → '2.3.0'. + final sanitized = rawVersion + .replaceFirst(RegExp(r'\s.*$'), '') + .replaceFirst(RegExp(r'[a-zA-Z].*$'), ''); + + final Version current; + try { + current = Version.parse(sanitized); + } on FormatException { + logger.warning( + 'serverUpdateRequired: could not parse server version "$rawVersion" ' + '(sanitized: "$sanitized"), skipping check', + ); + return false; + } + final required = Version.parse(MIN_SERVER_VERSION); + final needUpdate = current < required; + if (needUpdate) { + logger.fine('Server update required: server $current < minimum $required'); + } + return needUpdate; +} + +/// Provider over the singleton gating service. Uses the raw HTTP client +/// from [authHttpClientProvider] (probes are unauthenticated or carry the +/// credential explicitly, so the auth-injecting wrapper is the wrong +/// dependency here). +final serverGatingProvider = Provider( + (ref) => ServerGating( + ref.read(authHttpClientProvider), + ref.read(authCredentialsStorageProvider), + ), +); diff --git a/lib/core/network/wger_base.dart b/lib/core/network/wger_base.dart new file mode 100644 index 000000000..d603e92f9 --- /dev/null +++ b/lib/core/network/wger_base.dart @@ -0,0 +1,60 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2025 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:wger/core/helpers.dart'; +import 'package:wger/core/media_url_prefix_notifier.dart'; +import 'package:wger/core/network/auth_http_client.dart'; +import 'package:wger/core/network/auth_notifier.dart'; +import 'package:wger/core/network/base_provider.dart'; + +/// Central provider that builds a [WgerBaseProvider] from the current +/// [AuthNotifier] state. Consumers read this to make authenticated HTTP +/// requests. Rebuilds whenever the auth state changes. +/// +/// Deliberately does *not* depend on [mediaUrlPrefixProvider], that +/// would create a cycle, since the prefix notifier reads +/// [wgerBaseProvider] when probing. Consumers that need the resolved +/// media URL go through [mediaUrlBuilderProvider] instead. +final wgerBaseProvider = Provider((ref) { + final auth = ref.watch(authProvider).value; + return WgerBaseProvider( + serverUrl: auth?.serverUrl, + applicationVersion: auth?.applicationVersion, + client: ref.watch(authenticatedHttpClientProvider), + ); +}); + +/// Returns a function that builds the absolute URL for a server-side +/// media file given its relative DB path (e.g. `ingredients/42/foo.jpg`). +/// Combines the current [authProvider]'s server URL with the probed +/// [mediaUrlPrefixProvider] value, falling back to `/media/` +/// when no prefix has been detected yet. +/// +/// Returns `null` when the user is not logged in (no server URL) or +/// when `path` is null/empty. +final mediaUrlBuilderProvider = Provider((ref) { + final serverUrl = ref.watch(authProvider).asData?.value.serverUrl; + final prefix = ref.watch(mediaUrlPrefixProvider).asData?.value; + return (path) { + if (serverUrl == null) { + return null; + } + return mediaUri(serverUrl, path, absolutePrefix: prefix); + }; +}); diff --git a/lib/core/number_input.dart b/lib/core/number_input.dart new file mode 100644 index 000000000..a81cd5b4a --- /dev/null +++ b/lib/core/number_input.dart @@ -0,0 +1,81 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/services.dart'; + +/// A [TextInputFormatter] for non-negative decimal numbers. +/// +/// A numeric keyboard cannot be pinned to a locale, so a user may only be able +/// to type '.' even when the locale expects ','. This formatter accepts both +/// '.' and ',' and rewrites the separator to [decimalSeparator], so the field +/// content always matches the active locale and parses correctly with +/// `NumberFormat.parse`. Digits are kept, at most one separator is allowed, +/// at most [maxDecimalPlaces] digits are kept after it, and every other +/// character (grouping separators, spaces, letters) is dropped. +class LocalizedDecimalInputFormatter extends TextInputFormatter { + LocalizedDecimalInputFormatter(this.decimalSeparator, {this.maxDecimalPlaces = 2}); + + /// Decimal separator of the active locale, e.g. obtained from + /// `NumberFormat.decimalPattern(locale).symbols.DECIMAL_SEP`. + final String decimalSeparator; + + /// Maximum digits kept after the separator; extra fractional digits are + /// dropped, mirroring the backend's `decimal_places`. + final int maxDecimalPlaces; + + @override + TextEditingValue formatEditUpdate(TextEditingValue oldValue, TextEditingValue newValue) { + final text = newValue.text; + final filtered = _filter(text); + + final base = newValue.selection.baseOffset; + final cursor = (base < 0 || base > text.length) + ? filtered.length + : _filter(text.substring(0, base)).length; + + return TextEditingValue( + text: filtered, + selection: TextSelection.collapsed(offset: cursor), + ); + } + + String _filter(String input) { + const digits = '0123456789'; + final buffer = StringBuffer(); + var hasSeparator = false; + var decimals = 0; + for (var i = 0; i < input.length; i++) { + final char = input[i]; + if (digits.contains(char)) { + if (hasSeparator) { + if (decimals >= maxDecimalPlaces) { + continue; + } + decimals++; + } + buffer.write(char); + } else if (char == '.' || char == ',') { + if (!hasSeparator) { + buffer.write(decimalSeparator); + hasSeparator = true; + } + } + } + return buffer.toString(); + } +} diff --git a/lib/helpers/platform.dart b/lib/core/platform.dart similarity index 100% rename from lib/helpers/platform.dart rename to lib/core/platform.dart diff --git a/lib/core/powersync_unreachable_screen.dart b/lib/core/powersync_unreachable_screen.dart new file mode 100644 index 000000000..198caa642 --- /dev/null +++ b/lib/core/powersync_unreachable_screen.dart @@ -0,0 +1,69 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:wger/core/consts.dart'; +import 'package:wger/core/misc.dart'; +import 'package:wger/core/network/auth_notifier.dart'; +import 'package:wger/l10n/generated/app_localizations.dart'; + +/// Shown when the wger server is reachable but PowerSync is not, AND the +/// user has never completed a sync (i.e. has no usable local data). +class PowerSyncUnreachableScreen extends ConsumerWidget { + const PowerSyncUnreachableScreen({super.key}); + + static const routeName = '/powersync-unreachable'; + + @override + Widget build(BuildContext context, WidgetRef ref) { + final i18n = AppLocalizations.of(context); + + return Scaffold( + body: Center( + child: AlertDialog( + title: Text( + i18n.powerSyncUnreachableTitle, + style: Theme.of(context).textTheme.headlineSmall, + ), + content: SingleChildScrollView( + child: Text(i18n.powerSyncUnreachableContent), + ), + actions: [ + TextButton( + onPressed: () async { + final navigator = Navigator.of(context); + await ref.read(authProvider.notifier).logout(); + navigator.pushReplacementNamed('/'); + }, + child: Text(i18n.logout), + ), + TextButton( + onPressed: () => launchURL(READTHEDOCS_URL, context), + child: Text(i18n.aboutViewDocsTitle), + ), + FilledButton( + onPressed: () => ref.read(authProvider.notifier).retryAutoLogin(), + child: Text(i18n.serverUnreachableRetry), + ), + ], + ), + ), + ); + } +} diff --git a/lib/models/core/search_options.dart b/lib/core/search_options.dart similarity index 100% rename from lib/models/core/search_options.dart rename to lib/core/search_options.dart diff --git a/lib/screens/settings_dashboard_widgets_screen.dart b/lib/core/settings_dashboard_widgets_screen.dart similarity index 94% rename from lib/screens/settings_dashboard_widgets_screen.dart rename to lib/core/settings_dashboard_widgets_screen.dart index d3be77718..433229c3c 100644 --- a/lib/screens/settings_dashboard_widgets_screen.dart +++ b/lib/core/settings_dashboard_widgets_screen.dart @@ -18,8 +18,8 @@ import 'package:flutter/material.dart'; import 'package:wger/core/wide_screen_wrapper.dart'; +import 'package:wger/features/account/widgets/settings/dashboard_visibility.dart'; import 'package:wger/l10n/generated/app_localizations.dart'; -import 'package:wger/widgets/core/settings/dashboard_visibility.dart'; class ConfigureDashboardWidgetsScreen extends StatelessWidget { static const routeName = '/ConfigureDashboardWidgetScreen'; diff --git a/lib/helpers/shared_preferences.dart b/lib/core/shared_preferences.dart similarity index 77% rename from lib/helpers/shared_preferences.dart rename to lib/core/shared_preferences.dart index f4fc0c9b3..fe03c3179 100644 --- a/lib/helpers/shared_preferences.dart +++ b/lib/core/shared_preferences.dart @@ -1,9 +1,9 @@ import 'package:shared_preferences/shared_preferences.dart'; import 'package:shared_preferences/util/legacy_to_async_migration_util.dart'; -import 'package:wger/models/core/search_options.dart'; -import 'package:wger/models/exercises/exercise_filters.dart'; -import 'package:wger/models/nutrition/ingredient.dart'; -import 'package:wger/models/nutrition/ingredient_filters.dart'; +import 'package:wger/core/search_options.dart'; +import 'package:wger/features/exercises/models/exercise_filters.dart'; +import 'package:wger/features/nutrition/models/ingredient.dart'; +import 'package:wger/features/nutrition/models/ingredient_filters.dart'; /// A helper class that manages preferences using SharedPreferencesAsync /// and handles migration from the legacy SharedPreferences to @@ -23,7 +23,7 @@ class PreferenceHelper { /// SharedPreferences is migrated to SharedPreferencesAsync. This migration /// only happens once, as checked by the migrationCompletedKey. /// - /// [migrationCompletedKey] is used to track if the migration has been + /// `migrationCompletedKey` is used to track if the migration has been /// completed. Future migrationSupportFunctionForSharedPreferences() async { const SharedPreferencesOptions sharedPreferencesOptions = SharedPreferencesOptions(); @@ -132,4 +132,31 @@ class PreferenceHelper { orElse: () => fallback.searchMode, ); } + + // --- Health sync --- + + static const _healthSyncEnabledKey = 'healthSyncEnabled'; + static const _lastHealthSyncTimestampKey = 'lastHealthSyncTimestamp'; + + Future setHealthSyncEnabled(bool value) async { + await PreferenceHelper.asyncPref.setBool(_healthSyncEnabledKey, value); + } + + Future getHealthSyncEnabled() async { + final value = await PreferenceHelper.asyncPref.getBool(_healthSyncEnabledKey); + return value ?? false; + } + + Future setLastHealthSyncTimestamp(String value) async { + await PreferenceHelper.asyncPref.setString(_lastHealthSyncTimestampKey, value); + } + + Future getLastHealthSyncTimestamp() async { + return PreferenceHelper.asyncPref.getString(_lastHealthSyncTimestampKey); + } + + Future clearHealthSyncPreferences() async { + await PreferenceHelper.asyncPref.remove(_healthSyncEnabledKey); + await PreferenceHelper.asyncPref.remove(_lastHealthSyncTimestampKey); + } } diff --git a/lib/providers/wger_base_riverpod.dart b/lib/core/snackbar.dart similarity index 57% rename from lib/providers/wger_base_riverpod.dart rename to lib/core/snackbar.dart index 0c73cbd23..3a855cbb5 100644 --- a/lib/providers/wger_base_riverpod.dart +++ b/lib/core/snackbar.dart @@ -1,6 +1,6 @@ /* * This file is part of wger Workout Manager . - * Copyright (c) 2025 - 2025 wger Team + * Copyright (c) 2026 - 2026 wger Team * * wger Workout Manager is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by @@ -16,16 +16,19 @@ * along with this program. If not, see . */ -import 'package:flutter_riverpod/flutter_riverpod.dart'; -import 'package:wger/providers/auth.dart'; -import 'package:wger/providers/base_provider.dart'; +import 'package:flutter/material.dart'; -/// Central provider that maps an existing [AuthProvider] (from the provider package) -/// to a [WgerBaseProvider] used by repositories. -/// -/// Usage: ref.watch(wgerBaseProvider(authProvider)) -final wgerBaseProvider = Provider((ref) { - throw UnimplementedError( - 'Override wgerBaseProvider in a ProviderScope with your existing WgerBaseProvider instance', +/// Shows a plain text snackbar via the nearest [ScaffoldMessenger]. +void showSnackbar( + BuildContext context, + String message, { + bool center = false, + Duration? duration, +}) { + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text(message, textAlign: center ? TextAlign.center : null), + duration: duration ?? const Duration(milliseconds: 4000), + ), ); -}); +} diff --git a/lib/screens/splash_screen.dart b/lib/core/splash_screen.dart similarity index 100% rename from lib/screens/splash_screen.dart rename to lib/core/splash_screen.dart diff --git a/lib/screens/update_app_screen.dart b/lib/core/update_app_screen.dart similarity index 100% rename from lib/screens/update_app_screen.dart rename to lib/core/update_app_screen.dart diff --git a/lib/screens/update_server_screen.dart b/lib/core/update_server_screen.dart similarity index 93% rename from lib/screens/update_server_screen.dart rename to lib/core/update_server_screen.dart index 6f5e1d68e..1620a9a8b 100644 --- a/lib/screens/update_server_screen.dart +++ b/lib/core/update_server_screen.dart @@ -17,11 +17,11 @@ */ import 'package:flutter/material.dart'; -import 'package:wger/helpers/consts.dart'; +import 'package:wger/core/consts.dart'; import 'package:wger/l10n/generated/app_localizations.dart'; /// Screen shown when the connected server's version is below the minimum -/// required by this build of the app. Mirrors [UpdateAppScreen] but surfaces +/// required by this build of the app. Mirrors `UpdateAppScreen` but surfaces /// to the user that they need to ask their server administrator to upgrade, /// rather than updating the app itself. class UpdateServerScreen extends StatelessWidget { diff --git a/lib/helpers/uuid.dart b/lib/core/uuid.dart similarity index 100% rename from lib/helpers/uuid.dart rename to lib/core/uuid.dart diff --git a/lib/core/validators.dart b/lib/core/validators.dart index c9e3e8357..ee8a8bb61 100644 --- a/lib/core/validators.dart +++ b/lib/core/validators.dart @@ -1,5 +1,33 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import 'package:wger/l10n/generated/app_localizations.dart'; +/// Validates that [end], when set, is not before [start]. Returns a localized +/// error message on failure, or null when the range is valid (including when +/// [end] is null). +String? validateDateRange(DateTime start, DateTime? end, AppLocalizations i18n) { + if (end != null && end.isBefore(start)) { + return i18n.endBeforeStart; + } + return null; +} + String? validateUrl(String? value, AppLocalizations i18n, {bool required = true}) { // Required? if (required && (value == null || value.trim().isEmpty)) { @@ -15,10 +43,12 @@ String? validateUrl(String? value, AppLocalizations i18n, {bool required = true} return i18n.invalidUrl; } - // Try to parse as URI + // Try to parse as URI. The earlier startsWith check guarantees a scheme + // and the `//` authority delimiter, but `Uri.parse('http://')` still + // succeeds with an empty host which we reject explicitly try { final uri = Uri.parse(value); - if (!uri.hasScheme || !uri.hasAuthority) { + if (uri.host.isEmpty) { return i18n.invalidUrl; } } catch (e) { diff --git a/lib/core/wide_screen_wrapper.dart b/lib/core/wide_screen_wrapper.dart index 68e773b3e..f78dd26c3 100644 --- a/lib/core/wide_screen_wrapper.dart +++ b/lib/core/wide_screen_wrapper.dart @@ -1,6 +1,6 @@ /* * This file is part of wger Workout Manager . - * Copyright (c) 2020, 2025 wger Team + * Copyright (c) 2020 - 2026 wger Team * * wger Workout Manager is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by @@ -17,7 +17,7 @@ */ import 'package:flutter/material.dart'; -import 'package:wger/helpers/material.dart'; +import 'package:wger/core/material.dart'; class WidescreenWrapper extends StatelessWidget { final Widget child; @@ -26,7 +26,8 @@ class WidescreenWrapper extends StatelessWidget { @override Widget build(BuildContext context) { - return Center( + return Align( + alignment: Alignment.topCenter, child: ConstrainedBox( constraints: const BoxConstraints(maxWidth: MATERIAL_MD_BREAKPOINT), child: child, diff --git a/lib/widgets/core/about.dart b/lib/core/widgets/about.dart similarity index 79% rename from lib/widgets/core/about.dart rename to lib/core/widgets/about.dart index 5ad652df4..87a7de5a0 100644 --- a/lib/widgets/core/about.dart +++ b/lib/core/widgets/about.dart @@ -19,18 +19,19 @@ import 'dart:io'; import 'package:flutter/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; -import 'package:provider/provider.dart'; +import 'package:wger/core/consts.dart'; +import 'package:wger/core/misc.dart'; +import 'package:wger/core/network/auth_notifier.dart'; +import 'package:wger/core/network/network_provider.dart'; import 'package:wger/core/wide_screen_wrapper.dart'; -import 'package:wger/helpers/consts.dart'; -import 'package:wger/helpers/misc.dart'; +import 'package:wger/features/exercises/screens/add_exercise_screen.dart'; import 'package:wger/l10n/generated/app_localizations.dart'; -import 'package:wger/providers/auth.dart'; -import 'package:wger/screens/add_exercise_screen.dart'; import 'log_overview.dart'; -class AboutPage extends StatelessWidget { +class AboutPage extends ConsumerWidget { static String routeName = '/AboutPage'; const AboutPage({super.key}); @@ -49,8 +50,9 @@ class AboutPage extends StatelessWidget { } @override - Widget build(BuildContext context) { - final authProvider = Provider.of(context, listen: false); + Widget build(BuildContext context, WidgetRef ref) { + final authState = ref.watch(authProvider).value; + final isOnline = ref.watch(networkStatusProvider); final i18n = AppLocalizations.of(context); final today = DateTime.now(); @@ -83,8 +85,8 @@ class AboutPage extends StatelessWidget { ), ), Text( - 'App: ${authProvider.applicationVersion?.version ?? 'N/A'}\n' - 'Server: ${authProvider.serverVersion ?? 'N/A'}', + 'App: ${authState?.applicationVersion?.version ?? 'N/A'}\n' + 'Server: ${authState?.serverVersion ?? 'N/A'}', style: Theme.of(context).textTheme.bodySmall, ), Padding( @@ -108,27 +110,36 @@ class AboutPage extends StatelessWidget { Text(i18n.aboutContributeText), ListTile( leading: const Icon(Icons.bug_report), + trailing: const Icon(Icons.arrow_outward), title: Text(i18n.aboutBugsListTitle), contentPadding: EdgeInsets.zero, onTap: () => launchURL(GITHUB_ISSUES_URL, context), ), ListTile( leading: const Icon(Icons.translate), + trailing: const Icon(Icons.arrow_outward), title: Text(i18n.aboutTranslationListTitle), contentPadding: EdgeInsets.zero, onTap: () => launchURL(WEBLATE_URL, context), ), ListTile( leading: const Icon(Icons.code), + trailing: const Icon(Icons.arrow_outward), title: Text(i18n.aboutSourceListTitle), contentPadding: EdgeInsets.zero, onTap: () => launchURL(GITHUB_PROJECT_URL, context), ), ListTile( + enabled: isOnline, leading: const FaIcon(FontAwesomeIcons.dumbbell, size: 18), title: Text(i18n.contributeExercise), + trailing: isOnline + ? null + : Icon(Icons.cloud_off, color: Theme.of(context).colorScheme.outline), contentPadding: EdgeInsets.zero, - onTap: () => Navigator.of(context).pushNamed(AddExerciseScreen.routeName), + onTap: isOnline + ? () => Navigator.of(context).pushNamed(AddExerciseScreen.routeName) + : null, ), // Don't show the donate section under iOS. The app was rejected once because @@ -201,27 +212,34 @@ class AboutPage extends StatelessWidget { ListTile( leading: const Icon(Icons.article), trailing: const Icon(Icons.chevron_right), - title: const Text('View Licenses'), + title: Text(i18n.aboutViewLicensesTitle), contentPadding: EdgeInsets.zero, onTap: () { showLicensePage( context: context, applicationName: 'wger', applicationVersion: - 'App: ${authProvider.applicationVersion?.version ?? 'N/A'} ' - 'Server: ${authProvider.serverVersion ?? 'N/A'}', + 'App: ${authState?.applicationVersion?.version ?? 'N/A'} / ' + 'Server: ${authState?.serverVersion ?? 'N/A'}', applicationLegalese: '\u{a9} ${today.year} wger contributors', - applicationIcon: Padding( - padding: const EdgeInsets.only(top: 10), - child: Image.asset( - 'assets/images/logo.png', - width: 60, - semanticLabel: 'wger logo', - ), - ), + // applicationIcon: Padding( + // padding: const EdgeInsets.only(top: 10), + // child: Image.asset( + // 'assets/images/logo.png', + // width: 60, + // semanticLabel: 'wger logo', + // ), + // ), ); }, ), + ListTile( + leading: const Icon(Icons.article), + trailing: const Icon(Icons.arrow_outward), + title: Text(i18n.aboutViewDocsTitle), + contentPadding: EdgeInsets.zero, + onTap: () => launchURL(READTHEDOCS_URL, context), + ), ], ), ), diff --git a/lib/widgets/core/app_bar.dart b/lib/core/widgets/app_bar.dart similarity index 59% rename from lib/widgets/core/app_bar.dart rename to lib/core/widgets/app_bar.dart index be52f0638..f6bffddbd 100644 --- a/lib/widgets/core/app_bar.dart +++ b/lib/core/widgets/app_bar.dart @@ -17,27 +17,29 @@ */ import 'package:flutter/material.dart'; -import 'package:provider/provider.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:wger/core/form_screen.dart'; +import 'package:wger/core/network/auth_notifier.dart'; +import 'package:wger/core/network/network_provider.dart'; +import 'package:wger/core/settings_dashboard_widgets_screen.dart'; +import 'package:wger/core/widgets/about.dart'; +import 'package:wger/core/widgets/sync_status_dialog.dart'; +import 'package:wger/database/powersync/powersync.dart' show syncStatus; +import 'package:wger/features/account/providers/account_notifier.dart'; +import 'package:wger/features/account/widgets/forms.dart'; +import 'package:wger/features/account/widgets/settings.dart'; import 'package:wger/l10n/generated/app_localizations.dart'; -import 'package:wger/providers/auth.dart'; -import 'package:wger/providers/body_weight.dart'; -import 'package:wger/providers/gallery.dart'; -import 'package:wger/providers/nutrition.dart'; -import 'package:wger/providers/routines.dart'; -import 'package:wger/providers/user.dart'; -import 'package:wger/screens/form_screen.dart'; -import 'package:wger/screens/settings_dashboard_widgets_screen.dart'; -import 'package:wger/widgets/core/about.dart'; -import 'package:wger/widgets/core/settings.dart'; -import 'package:wger/widgets/user/forms.dart'; -class MainAppBar extends StatelessWidget implements PreferredSizeWidget { +class MainAppBar extends ConsumerWidget implements PreferredSizeWidget { final String _title; const MainAppBar(this._title); @override - Widget build(BuildContext context) { + Widget build(BuildContext context, WidgetRef ref) { + final syncState = ref.watch(syncStatus); + final status = syncStatusIconAndLabel(syncState, AppLocalizations.of(context)); + return AppBar( title: Text(_title), actions: [ @@ -47,6 +49,13 @@ class MainAppBar extends StatelessWidget implements PreferredSizeWidget { Navigator.of(context).pushNamed(ConfigureDashboardWidgetsScreen.routeName); }, ), + IconButton( + icon: Icon(status.icon), + onPressed: () => showDialog( + context: context, + builder: (_) => SyncStatusDialog(syncState), + ), + ), IconButton( icon: const Icon(Icons.settings), onPressed: () async { @@ -66,11 +75,13 @@ class MainAppBar extends StatelessWidget implements PreferredSizeWidget { Size get preferredSize => const Size.fromHeight(kToolbarHeight); } -class MainSettingsDialog extends StatelessWidget { +class MainSettingsDialog extends ConsumerWidget { const MainSettingsDialog({super.key}); @override - Widget build(BuildContext context) { + Widget build(BuildContext context, WidgetRef ref) { + final isOnline = ref.watch(networkStatusProvider); + return AlertDialog( title: Text(AppLocalizations.of(context).optionsLabel), actions: [ @@ -89,16 +100,20 @@ class MainSettingsDialog extends StatelessWidget { //dense: true, leading: const Icon(Icons.person), title: Text(AppLocalizations.of(context).userProfile), - onTap: () => Navigator.pushNamed( - context, - FormScreen.routeName, - arguments: FormScreenArguments( - AppLocalizations.of(context).userProfile, - UserProfileForm( - context.read().profile!, + enabled: isOnline, + trailing: isOnline + ? null + : Icon(Icons.cloud_off, color: Theme.of(context).colorScheme.outline), + onTap: () { + Navigator.pushNamed( + context, + FormScreen.routeName, + arguments: FormScreenArguments( + AppLocalizations.of(context).userProfile, + const UserProfileForm(), ), - ), - ), + ); + }, ), ListTile( leading: const Icon(Icons.settings), @@ -115,16 +130,18 @@ class MainSettingsDialog extends StatelessWidget { //dense: true, leading: const Icon(Icons.exit_to_app), title: Text(AppLocalizations.of(context).logout), - onTap: () { - context.read().logout(); - context.read().clear(); - context.read().clear(); - context.read().clear(); - context.read().clear(); - context.read().clear(); + onTap: () async { + final navigator = Navigator.of(context); - Navigator.of(context).pop(); - Navigator.of(context).pushReplacementNamed('/'); + // Auth logout wipes the local PowerSync DB as part of its + // lifecycle. Await it so we don't race the navigation. Gallery + // state lives in PowerSync now and gets cleared along with the + // rest of the synced tables. + await ref.read(authProvider.notifier).logout(); + ref.read(accountProvider.notifier).clear(); + + navigator.pop(); + navigator.pushReplacementNamed('/'); }, ), ], diff --git a/lib/core/widgets/async_value_widget.dart b/lib/core/widgets/async_value_widget.dart new file mode 100644 index 000000000..f08f10867 --- /dev/null +++ b/lib/core/widgets/async_value_widget.dart @@ -0,0 +1,78 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:logging/logging.dart'; +import 'package:wger/core/widgets/error.dart'; +import 'package:wger/core/widgets/progress_indicator.dart'; + +/// Renders an [AsyncValue] with sensible defaults for the loading and error +/// states. +/// +/// Defaults: +/// * loading → [BoxedProgressIndicator] +/// * error → [StreamErrorIndicator] (and the error is logged at warning level) +/// +/// Override [loading] or [errorBuilder] when you need a more compact rendering +/// (e.g. inside a list tile or a small card). +/// +/// Example: +/// ```dart +/// AsyncValueWidget( +/// value: ref.watch(routinesRiverpodProvider), +/// data: (state) => RoutineList(state.routines), +/// ) +/// ``` +class AsyncValueWidget extends StatelessWidget { + static final _logger = Logger('AsyncValueWidget'); + + const AsyncValueWidget({ + required this.value, + required this.data, + this.loading, + this.errorBuilder, + this.loggerName, + super.key, + }); + + final AsyncValue value; + final Widget Function(T data) data; + + /// Custom widget for the loading state. Defaults to [BoxedProgressIndicator]. + final Widget? loading; + + /// Custom builder for the error state. Defaults to [StreamErrorIndicator]. + final Widget Function(Object error, StackTrace? stack)? errorBuilder; + + /// Optional context tag included in the warning log line. Helps when an + /// app-wide grep on the logs needs to point back at the offending screen. + final String? loggerName; + + @override + Widget build(BuildContext context) { + return value.when( + data: data, + loading: () => loading ?? const BoxedProgressIndicator(), + error: (e, st) { + _logger.warning(loggerName == null ? 'Async error' : 'Async error in $loggerName', e, st); + return errorBuilder?.call(e, st) ?? StreamErrorIndicator(e, stacktrace: st); + }, + ); + } +} diff --git a/lib/widgets/core/cards.dart b/lib/core/widgets/cards.dart similarity index 70% rename from lib/widgets/core/cards.dart rename to lib/core/widgets/cards.dart index f95b3f2fa..3c56f9e3a 100644 --- a/lib/widgets/core/cards.dart +++ b/lib/core/widgets/cards.dart @@ -1,6 +1,6 @@ /* * This file is part of wger Workout Manager . - * Copyright (C) wger Team + * Copyright (c) 2020, 2020- wger Team * * wger Workout Manager is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by @@ -31,7 +31,27 @@ class InfoCard extends StatelessWidget { color: theme.colorScheme.primaryContainer, child: ListTile( leading: Icon(Icons.info, color: theme.colorScheme.primary), - subtitle: Text(text), + title: Text(text), + ), + ); + } +} + +class WarningCard extends StatelessWidget { + final String text; + + const WarningCard({super.key, this.text = ''}); + + @override + Widget build(BuildContext context) { + final theme = Theme.of(context); + + return Card( + color: theme.colorScheme.errorContainer, + child: ListTile( + dense: true, + leading: Icon(Icons.info_outline, color: theme.colorScheme.primary), + title: Text(text), ), ); } diff --git a/lib/core/widgets/confirm_delete_dialog.dart b/lib/core/widgets/confirm_delete_dialog.dart new file mode 100644 index 000000000..c62a44e8b --- /dev/null +++ b/lib/core/widgets/confirm_delete_dialog.dart @@ -0,0 +1,70 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; +import 'package:wger/core/snackbar.dart'; +import 'package:wger/l10n/generated/app_localizations.dart'; + +/// Shows a "confirm delete" dialog for [itemName]. +/// +/// On confirm it awaits [onConfirm], closes the dialog, calls [onDeleted] (for +/// extra navigation, e.g. popping a detail screen) and shows a "deleted" +/// snackbar. Cancelling or dismissing does nothing. Pass [title] for the few +/// callers that want a heading above the message. +Future showConfirmDeleteDialog( + BuildContext context, { + required String itemName, + required Future Function() onConfirm, + String? title, + VoidCallback? onDeleted, +}) { + return showDialog( + context: context, + builder: (dialogContext) { + final i18n = AppLocalizations.of(dialogContext); + return AlertDialog( + title: title != null ? Text(title) : null, + content: Text(i18n.confirmDelete(itemName)), + actions: [ + TextButton( + key: const ValueKey('cancel-button'), + child: Text(MaterialLocalizations.of(dialogContext).cancelButtonLabel), + onPressed: () => Navigator.of(dialogContext).pop(), + ), + TextButton( + key: const ValueKey('delete-button'), + child: Text( + i18n.delete, + style: TextStyle(color: Theme.of(dialogContext).colorScheme.error), + ), + onPressed: () async { + await onConfirm(); + if (dialogContext.mounted) { + Navigator.of(dialogContext).pop(); + } + if (context.mounted) { + onDeleted?.call(); + showSnackbar(context, i18n.successfullyDeleted, center: true); + } + }, + ), + ], + ); + }, + ); +} diff --git a/lib/widgets/core/core.dart b/lib/core/widgets/core.dart similarity index 95% rename from lib/widgets/core/core.dart rename to lib/core/widgets/core.dart index 12a545537..5a45407e1 100644 --- a/lib/widgets/core/core.dart +++ b/lib/core/widgets/core.dart @@ -1,13 +1,13 @@ /* * This file is part of wger Workout Manager . - * Copyright (C) 2020, 2021 wger Team + * Copyright (c) 2020 - 2026 wger Team * * wger Workout Manager is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * wger Workout Manager is distributed in the hope that it will be useful, + * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. diff --git a/lib/core/widgets/dashboard/calendar.dart b/lib/core/widgets/dashboard/calendar.dart new file mode 100644 index 000000000..719a2a4ae --- /dev/null +++ b/lib/core/widgets/dashboard/calendar.dart @@ -0,0 +1,268 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart' as riverpod; +import 'package:table_calendar/table_calendar.dart'; +import 'package:wger/core/consts.dart'; +import 'package:wger/core/date.dart'; +import 'package:wger/core/formatting/formatting.dart'; +import 'package:wger/core/json.dart'; +import 'package:wger/core/widgets/progress_indicator.dart'; +import 'package:wger/features/measurements/models/measurement_category.dart'; +import 'package:wger/features/measurements/providers/measurement_notifier.dart'; +import 'package:wger/features/nutrition/models/nutritional_plan.dart'; +import 'package:wger/features/nutrition/providers/nutrition_notifier.dart'; +import 'package:wger/features/routines/models/session.dart'; +import 'package:wger/features/routines/providers/routines_notifier.dart'; +import 'package:wger/features/weight/models/weight_entry.dart'; +import 'package:wger/features/weight/providers/body_weight_notifier.dart'; +import 'package:wger/l10n/generated/app_localizations.dart'; +import 'package:wger/theme/theme.dart'; + +/// Types of events +enum EventType { weight, measurement, session, caloriesDiary } + +/// An event in the dashboard calendar +class Event { + final EventType _type; + final String _description; + + const Event(this._type, this._description); + + String get description { + return _description; + } + + EventType get type { + return _type; + } +} + +class DashboardCalendarWidget extends riverpod.ConsumerStatefulWidget { + const DashboardCalendarWidget(); + + @override + _DashboardCalendarWidgetState createState() => _DashboardCalendarWidgetState(); +} + +class _DashboardCalendarWidgetState extends riverpod.ConsumerState + with TickerProviderStateMixin { + RangeSelectionMode _rangeSelectionMode = RangeSelectionMode.toggledOff; + DateTime _focusedDay = DateTime.now(); + DateTime? _selectedDay; + DateTime? _rangeStart; + DateTime? _rangeEnd; + + @override + void initState() { + super.initState(); + _selectedDay = _focusedDay; + } + + /// Builds the date → events map from already-loaded provider data + Map> _buildEvents({ + required BuildContext context, + required List entries, + required List categories, + required List sessions, + required List plans, + }) { + final numberFormat = localizedNumberFormat(context); + final i18n = AppLocalizations.of(context); + final events = >{}; + + for (final entry in entries) { + final date = DateFormatLists.format(entry.date); + events.putIfAbsent(date, () => []); + events[date]!.add(Event(EventType.weight, '${numberFormat.format(entry.weight)} kg')); + } + + for (final category in categories) { + for (final entry in category.entries) { + final date = DateFormatLists.format(entry.date); + events.putIfAbsent(date, () => []); + events[date]!.add( + Event( + EventType.measurement, + '${category.name}: ${numberFormat.format(entry.value)} ${category.unit}', + ), + ); + } + } + + for (final session in sessions) { + final date = DateFormatLists.format(session.date); + events.putIfAbsent(date, () => []); + var time = ''; + if (session.timeStart != null && session.timeEnd != null) { + time = '(${timeToString(session.timeStart)} - ${timeToString(session.timeEnd)})'; + } + events[date]!.add( + Event( + EventType.session, + '${i18n.impression}: ${session.impression.localized(context)} $time', + ), + ); + } + + for (final plan in plans) { + for (final entry in plan.logEntriesValues.entries) { + final date = DateFormatLists.format(entry.key); + events.putIfAbsent(date, () => []); + events[date]!.add( + Event(EventType.caloriesDiary, i18n.kcalValue(entry.value.energy.toStringAsFixed(0))), + ); + } + } + + return events; + } + + List _getEventsForDay(Map> events, DateTime day) { + return events[DateFormatLists.format(day)] ?? []; + } + + List _getEventsForRange(Map> events, DateTime start, DateTime end) { + final days = daysInRange(start, end); + return [for (final d in days) ..._getEventsForDay(events, d)]; + } + + void _onDaySelected(DateTime selectedDay, DateTime focusedDay) { + if (!isSameDay(_selectedDay, selectedDay)) { + setState(() { + _selectedDay = selectedDay; + _focusedDay = focusedDay; + _rangeStart = null; + _rangeEnd = null; + _rangeSelectionMode = RangeSelectionMode.toggledOff; + }); + } + } + + void _onRangeSelected(DateTime? start, DateTime? end, DateTime focusedDay) { + setState(() { + _selectedDay = null; + _focusedDay = focusedDay; + _rangeStart = start; + _rangeEnd = end; + _rangeSelectionMode = RangeSelectionMode.toggledOn; + }); + } + + Widget _shell(BuildContext context, Widget body) { + return Card( + child: Column( + children: [ + ListTile( + title: Text( + AppLocalizations.of(context).calendar, + style: Theme.of(context).textTheme.headlineMedium, + ), + leading: Icon( + Icons.calendar_today, + color: Theme.of(context).textTheme.headlineMedium!.color, + ), + ), + body, + ], + ), + ); + } + + @override + Widget build(BuildContext context) { + final entries = ref.watch(weightEntryProvider).value; + final categories = ref.watch(measurementProvider).value; + final routinesState = ref.watch(routinesRiverpodProvider).value; + final nutritionState = ref.watch(nutritionProvider).value; + + // Show a spinner until every source has produced at least one value. Same + // pattern as the other dashboard widgets via [AsyncValueWidget]. + if (entries == null || categories == null || routinesState == null || nutritionState == null) { + return _shell(context, const BoxedProgressIndicator()); + } + + final events = _buildEvents( + context: context, + entries: entries, + categories: categories, + sessions: routinesState.sessions, + plans: nutritionState.plans, + ); + + final selectedEvents = _selectedDay != null + ? _getEventsForDay(events, _selectedDay!) + : (_rangeStart != null && _rangeEnd != null) + ? _getEventsForRange(events, _rangeStart!, _rangeEnd!) + : const []; + + return _shell( + context, + Column( + children: [ + TableCalendar( + locale: Localizations.localeOf(context).languageCode, + firstDay: DateTime.now().subtract(const Duration(days: 1000)), + lastDay: DateTime.now().add(const Duration(days: 365)), + focusedDay: _focusedDay, + selectedDayPredicate: (day) => isSameDay(_selectedDay, day), + rangeStartDay: _rangeStart, + rangeEndDay: _rangeEnd, + calendarFormat: CalendarFormat.month, + availableGestures: AvailableGestures.horizontalSwipe, + availableCalendarFormats: const {CalendarFormat.month: ''}, + rangeSelectionMode: _rangeSelectionMode, + eventLoader: (day) => _getEventsForDay(events, day), + startingDayOfWeek: StartingDayOfWeek.monday, + calendarStyle: getWgerCalendarStyle(Theme.of(context)), + onDaySelected: _onDaySelected, + onRangeSelected: _onRangeSelected, + onPageChanged: (focusedDay) { + _focusedDay = focusedDay; + }, + ), + const SizedBox(height: 8.0), + Column( + children: [ + ...selectedEvents.map( + (event) => ListTile( + title: Text( + (() { + switch (event.type) { + case EventType.caloriesDiary: + return AppLocalizations.of(context).nutritionalDiary; + case EventType.session: + return AppLocalizations.of(context).workoutSession; + case EventType.weight: + return AppLocalizations.of(context).weight; + case EventType.measurement: + return AppLocalizations.of(context).measurement; + } + })(), + ), + subtitle: Text(event.description), + ), + ), + ], + ), + ], + ), + ); + } +} diff --git a/lib/core/widgets/dashboard/widgets/measurements.dart b/lib/core/widgets/dashboard/widgets/measurements.dart new file mode 100644 index 000000000..75eabbcb6 --- /dev/null +++ b/lib/core/widgets/dashboard/widgets/measurements.dart @@ -0,0 +1,139 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:carousel_slider/carousel_slider.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:font_awesome_flutter/font_awesome_flutter.dart'; +import 'package:wger/core/widgets/async_value_widget.dart'; +import 'package:wger/core/widgets/dashboard/widgets/nothing_found.dart'; +import 'package:wger/features/measurements/models/measurement_category.dart'; +import 'package:wger/features/measurements/providers/measurement_notifier.dart'; +import 'package:wger/features/measurements/screens/measurement_categories_screen.dart'; +import 'package:wger/features/measurements/widgets/categories_card.dart'; +import 'package:wger/features/measurements/widgets/forms.dart'; +import 'package:wger/l10n/generated/app_localizations.dart'; + +class DashboardMeasurementWidget extends ConsumerStatefulWidget { + const DashboardMeasurementWidget(); + + @override + _DashboardMeasurementWidgetState createState() => _DashboardMeasurementWidgetState(); +} + +class _DashboardMeasurementWidgetState extends ConsumerState { + int _current = 0; + final _controller = CarouselSliderController(); + + @override + Widget build(BuildContext context) { + return AsyncValueWidget>( + value: ref.watch(measurementProvider), + loggerName: 'DashboardMeasurementWidget', + data: (categoriesList) { + if (categoriesList.isEmpty) { + return NothingFound( + AppLocalizations.of(context).moreMeasurementEntries, + AppLocalizations.of(context).newEntry, + const MeasurementCategoryForm(), + ); + } + + return Card( + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + ListTile( + title: Text( + AppLocalizations.of(context).measurements, + style: Theme.of(context).textTheme.headlineSmall, + ), + leading: FaIcon( + FontAwesomeIcons.chartLine, + color: Theme.of(context).textTheme.headlineSmall!.color, + ), + // TODO: this icon feels out of place and inconsistent with all + // other dashboard widgets. + // maybe we should just add a "Go to all" at the bottom of the widget + trailing: IconButton( + icon: const Icon(Icons.arrow_forward), + onPressed: () => Navigator.pushNamed( + context, + MeasurementCategoriesScreen.routeName, + ), + ), + ), + Column( + children: [ + Column( + children: [ + CarouselSlider( + items: categoriesList + .map((item) => CategoriesCard(item, elevation: 0)) + .toList(), + carouselController: _controller, + options: CarouselOptions( + autoPlay: false, + enlargeCenterPage: false, + viewportFraction: 1, + enableInfiniteScroll: false, + aspectRatio: 1.1, + onPageChanged: (index, reason) { + setState(() { + _current = index; + }); + }, + ), + ), + Padding( + padding: const EdgeInsets.only(bottom: 10), + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + children: categoriesList.asMap().entries.map((entry) { + return GestureDetector( + onTap: () => _controller.animateToPage(entry.key), + child: Container( + width: 12.0, + height: 12.0, + margin: const EdgeInsets.symmetric( + vertical: 8.0, + horizontal: 4.0, + ), + decoration: BoxDecoration( + shape: BoxShape.circle, + color: Theme.of(context).textTheme.headlineSmall!.color! + .withValues( + alpha: _current == entry.key ? 0.9 : 0.4, + ), + ), + ), + ); + }).toList(), + ), + ), + ], + ), + ], + ), + ], + ), + ); + }, + ); + } +} diff --git a/lib/widgets/dashboard/widgets/nothing_found.dart b/lib/core/widgets/dashboard/widgets/nothing_found.dart similarity index 97% rename from lib/widgets/dashboard/widgets/nothing_found.dart rename to lib/core/widgets/dashboard/widgets/nothing_found.dart index 86afc1405..06189d197 100644 --- a/lib/widgets/dashboard/widgets/nothing_found.dart +++ b/lib/core/widgets/dashboard/widgets/nothing_found.dart @@ -17,7 +17,7 @@ */ import 'package:flutter/material.dart'; -import 'package:wger/screens/form_screen.dart'; +import 'package:wger/core/form_screen.dart'; import 'package:wger/theme/theme.dart'; class NothingFound extends StatelessWidget { diff --git a/lib/core/widgets/dashboard/widgets/nutrition.dart b/lib/core/widgets/dashboard/widgets/nutrition.dart new file mode 100644 index 000000000..c39762bdd --- /dev/null +++ b/lib/core/widgets/dashboard/widgets/nutrition.dart @@ -0,0 +1,187 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:flutter_svg_icons/flutter_svg_icons.dart'; +import 'package:wger/core/form_screen.dart'; +import 'package:wger/core/formatting/formatting.dart'; +import 'package:wger/core/widgets/async_value_widget.dart'; +import 'package:wger/core/widgets/dashboard/widgets/nothing_found.dart'; +import 'package:wger/core/widgets/error.dart'; +import 'package:wger/features/nutrition/providers/nutrition_notifier.dart'; +import 'package:wger/features/nutrition/screens/log_meals_screen.dart'; +import 'package:wger/features/nutrition/screens/nutritional_plan_screen.dart'; +import 'package:wger/features/nutrition/widgets/charts.dart'; +import 'package:wger/features/nutrition/widgets/forms.dart'; +import 'package:wger/l10n/generated/app_localizations.dart'; + +class DashboardNutritionWidget extends ConsumerWidget { + const DashboardNutritionWidget(); + + /// Renders the dashboard card shell so loading / error / empty / data + /// states all share the same outline (icon + title) instead of the card + /// hopping around. The trailing widget changes per state. + Widget _shell( + BuildContext context, { + required String title, + required String subtitle, + Widget? trailing, + Widget? child, + }) { + return Card( + child: Column( + children: [ + ListTile( + title: Text(title, style: Theme.of(context).textTheme.headlineSmall), + subtitle: Text(subtitle), + leading: Icon( + Icons.restaurant, + color: Theme.of(context).textTheme.headlineSmall!.color, + ), + trailing: trailing, + ), + ?child, + ], + ), + ); + } + + @override + Widget build(BuildContext context, WidgetRef ref) { + final i18n = AppLocalizations.of(context); + + return AsyncValueWidget( + value: ref.watch(nutritionProvider), + loggerName: 'DashboardNutritionWidget', + loading: _shell( + context, + title: i18n.nutritionalPlan, + subtitle: '', + trailing: const SizedBox( + height: 20, + width: 20, + child: CircularProgressIndicator(strokeWidth: 2), + ), + ), + errorBuilder: (e, st) => _shell( + context, + title: i18n.nutritionalPlan, + subtitle: i18n.anErrorOccurred, + trailing: const Icon(Icons.error_outline, color: Colors.red), + child: StreamErrorIndicator(e, stacktrace: st), + ), + data: (state) { + final plan = state.currentPlan; + if (plan == null) { + return _shell( + context, + title: i18n.nutritionalPlan, + subtitle: '', + child: NothingFound( + i18n.noNutritionalPlans, + i18n.newNutritionalPlan, + PlanForm(), + ), + ); + } + + return Card( + child: Column( + children: [ + ListTile( + title: Text(plan.description, style: Theme.of(context).textTheme.headlineSmall), + subtitle: Text( + localizedDate(context).format(plan.creationDate), + ), + leading: Icon( + Icons.restaurant, + color: Theme.of(context).textTheme.headlineSmall!.color, + ), + ), + Padding( + padding: const EdgeInsets.symmetric(horizontal: 10), + child: Container( + padding: const EdgeInsets.symmetric(horizontal: 5, vertical: 15), + child: FlNutritionalPlanGoalWidget(nutritionalPlan: plan), + ), + ), + LayoutBuilder( + builder: (context, constraints) { + return SingleChildScrollView( + scrollDirection: Axis.horizontal, + child: ConstrainedBox( + constraints: BoxConstraints(minWidth: constraints.maxWidth), + child: Row( + mainAxisSize: MainAxisSize.max, + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + TextButton( + child: Text(i18n.goToDetailPage), + onPressed: () { + Navigator.of(context).pushNamed( + NutritionalPlanScreen.routeName, + arguments: plan.id, + ); + }, + ), + Row( + children: [ + IconButton( + icon: const SvgIcon( + icon: SvgIconData('assets/icons/ingredient-diary.svg'), + ), + tooltip: i18n.logIngredient, + onPressed: () { + Navigator.pushNamed( + context, + FormScreen.routeName, + arguments: FormScreenArguments( + i18n.logIngredient, + getIngredientLogForm(plan), + hasListView: true, + ), + ); + }, + ), + IconButton( + icon: const SvgIcon( + icon: SvgIconData('assets/icons/meal-diary.svg'), + ), + tooltip: i18n.logMeal, + onPressed: () { + Navigator.of( + context, + ).pushNamed(LogMealsScreen.routeName, arguments: plan); + }, + ), + ], + ), + ], + ), + ), + ); + }, + ), + ], + ), + ); + }, + ); + } +} diff --git a/lib/core/widgets/dashboard/widgets/routines.dart b/lib/core/widgets/dashboard/widgets/routines.dart new file mode 100644 index 000000000..73926efce --- /dev/null +++ b/lib/core/widgets/dashboard/widgets/routines.dart @@ -0,0 +1,310 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:wger/core/date.dart'; +import 'package:wger/core/formatting/formatting.dart'; +import 'package:wger/core/network/network_provider.dart'; +import 'package:wger/core/widgets/async_value_widget.dart'; +import 'package:wger/core/widgets/core.dart'; +import 'package:wger/core/widgets/dashboard/widgets/nothing_found.dart'; +import 'package:wger/core/widgets/error.dart'; +import 'package:wger/features/routines/models/day_data.dart'; +import 'package:wger/features/routines/models/routine.dart'; +import 'package:wger/features/routines/providers/routines_notifier.dart'; +import 'package:wger/features/routines/screens/gym_mode.dart'; +import 'package:wger/features/routines/screens/routine_screen.dart'; +import 'package:wger/features/routines/widgets/forms/routine.dart'; +import 'package:wger/l10n/generated/app_localizations.dart'; +import 'package:wger/theme/theme.dart'; + +class DashboardRoutineWidget extends ConsumerStatefulWidget { + const DashboardRoutineWidget(); + + @override + _DashboardRoutineWidgetState createState() => _DashboardRoutineWidgetState(); +} + +class _DashboardRoutineWidgetState extends ConsumerState { + var _showDetail = false; + + /// Renders the dashboard card shell so loading / error / empty / data + /// states all share the same outline (icon + title) instead of the card + /// hopping around. The trailing widget changes per state. + Widget _shell( + BuildContext context, { + required String title, + required String subtitle, + required Widget trailing, + Widget? child, + }) { + return Card( + child: Column( + children: [ + ListTile( + title: Text(title, style: Theme.of(context).textTheme.headlineSmall), + subtitle: Text(subtitle), + leading: Icon( + Icons.fitness_center, + color: Theme.of(context).textTheme.headlineSmall!.color, + ), + trailing: trailing, + ), + ?child, + ], + ), + ); + } + + @override + Widget build(BuildContext context) { + final dateFormat = localizedDate(context); + final i18n = AppLocalizations.of(context); + + final asyncState = ref.watch(routinesRiverpodProvider); + final isOnline = ref.watch(networkStatusProvider); + + // Auto-hydrate the current routine once it appears in the sparse list + // + // Gate the watch on the routine's own `isHydrated` flag (which lives on the + // keep-alive routines provider and survives remounts) so a completed load + // never re-fires. While offline the structure fetch is unavailable, so it + // is skipped. A reconnect re-runs build and starts the load. + final currentRoutine = asyncState.value?.currentRoutine; + final currentId = currentRoutine?.id; + final hydration = isOnline && currentId != null && !currentRoutine!.isHydrated + ? ref.watch(routineHydrationProvider(currentId)) + : null; + + return AsyncValueWidget( + value: asyncState, + loggerName: 'DashboardRoutineWidget', + loading: _shell( + context, + title: i18n.labelWorkoutPlan, + subtitle: '', + trailing: const SizedBox( + height: 20, + width: 20, + child: CircularProgressIndicator(strokeWidth: 2), + ), + ), + errorBuilder: (e, st) => _shell( + context, + title: i18n.labelWorkoutPlan, + subtitle: i18n.anErrorOccurred, + trailing: const Icon(Icons.error_outline, color: Colors.red), + child: StreamErrorIndicator(e, stacktrace: st), + ), + data: (state) { + final routine = state.currentRoutine; + + // Offline and never fetched: the structure is unavailable, so lock + // the detail UI instead of showing an empty block. + final detailsLocked = routine != null && !isOnline && !routine.isHydrated; + + if (routine == null) { + return _shell( + context, + title: i18n.labelWorkoutPlan, + subtitle: '', + trailing: const SizedBox(), + child: NothingFound( + i18n.noRoutines, + i18n.newRoutine, + RoutineForm(Routine.empty()), + ), + ); + } + + final isHydrating = hydration?.isLoading ?? false; + + return Card( + child: Column( + children: [ + ListTile( + title: Text(routine.name, style: Theme.of(context).textTheme.headlineSmall), + subtitle: Text( + '${dateFormat.format(routine.start)} - ${dateFormat.format(routine.end)}', + ), + leading: Icon( + Icons.fitness_center, + color: Theme.of(context).textTheme.headlineSmall!.color, + ), + trailing: isHydrating + ? const SizedBox( + height: 20, + width: 20, + child: CircularProgressIndicator(strokeWidth: 2), + ) + : detailsLocked + ? Icon(Icons.cloud_off, color: Theme.of(context).colorScheme.outline) + : Tooltip( + message: i18n.toggleDetails, + child: _showDetail + ? const Icon(Icons.info) + : const Icon(Icons.info_outline), + ), + // The toggle is meaningless while the day data is still + // loading or unavailable offline, so disable the tap then. + onTap: isHydrating || detailsLocked + ? null + : () { + setState(() { + _showDetail = !_showDetail; + }); + }, + ), + if (isHydrating) + const Padding( + padding: EdgeInsets.symmetric(vertical: 24), + child: Center(child: CircularProgressIndicator()), + ) + else if (!detailsLocked) + Padding( + padding: const EdgeInsets.symmetric(horizontal: 10), + child: DetailContentWidget( + routine.dayDataCurrentIterationFiltered, + _showDetail, + ), + ), + Row( + mainAxisAlignment: MainAxisAlignment.start, + children: [ + TextButton( + onPressed: detailsLocked + ? null + : () { + Navigator.of(context).pushNamed( + RoutineScreen.routeName, + arguments: routine.id, + ); + }, + child: Text(i18n.goToDetailPage), + ), + ], + ), + ], + ), + ); + }, + ); + } +} + +class DetailContentWidget extends StatelessWidget { + final List dayDataList; + final bool showDetail; + + const DetailContentWidget(this.dayDataList, this.showDetail, {super.key}); + + @override + Widget build(BuildContext context) { + return Column( + children: [ + ...dayDataList.where((dayData) => dayData.day != null).map((dayData) { + return Column( + children: [ + SizedBox( + width: double.infinity, + child: Row( + children: [ + if (dayData.date.isSameDayAs(DateTime.now())) const Icon(Icons.today), + Expanded( + child: Text( + dayData.day == null || dayData.day!.isRest + ? AppLocalizations.of(context).restDay + : dayData.day!.nameWithType, + style: const TextStyle(fontWeight: FontWeight.bold), + overflow: TextOverflow.ellipsis, + ), + ), + Expanded( + child: MutedText( + dayData.day != null ? dayData.day!.description : '', + textAlign: TextAlign.right, + overflow: TextOverflow.ellipsis, + ), + ), + if (dayData.day == null || dayData.day!.isRest) + const Icon(Icons.hotel) + else + IconButton( + icon: const Icon(Icons.play_arrow), + color: wgerPrimaryButtonColor, + onPressed: () { + Navigator.of(context).pushNamed( + GymModeScreen.routeName, + arguments: GymModeArguments( + dayData.day!.routineId, + dayData.day!.id!, + dayData.iteration, + ), + ); + }, + ), + ], + ), + ), + ...dayData.slots.map( + (slotData) => SizedBox( + width: double.infinity, + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + ...slotData.setConfigs.map( + (s) => showDetail + ? Column( + children: [ + Row( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + s.exercise + .getTranslation( + Localizations.localeOf(context).languageCode, + ) + .name, + ), + const SizedBox(width: 10), + Expanded( + child: MutedText( + s.textRepr, + overflow: TextOverflow.ellipsis, + ), + ), + ], + ), + const SizedBox(height: 10), + ], + ) + : Container(), + ), + ], + ), + ), + ), + const Divider(), + ], + ); + }), + ], + ); + } +} diff --git a/lib/widgets/dashboard/widgets/trophies.dart b/lib/core/widgets/dashboard/widgets/trophies.dart similarity index 80% rename from lib/widgets/dashboard/widgets/trophies.dart rename to lib/core/widgets/dashboard/widgets/trophies.dart index 42e1cfd4f..db2db6dfa 100644 --- a/lib/widgets/dashboard/widgets/trophies.dart +++ b/lib/core/widgets/dashboard/widgets/trophies.dart @@ -18,17 +18,21 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:wger/core/network/network_provider.dart'; +import 'package:wger/core/widgets/core.dart'; +import 'package:wger/core/widgets/wger_image.dart'; +import 'package:wger/features/trophies/models/trophy.dart'; +import 'package:wger/features/trophies/providers/trophy_notifier.dart'; +import 'package:wger/features/trophies/screens/trophy_screen.dart'; import 'package:wger/l10n/generated/app_localizations.dart'; -import 'package:wger/models/trophies/trophy.dart'; -import 'package:wger/providers/trophies.dart'; -import 'package:wger/screens/trophy_screen.dart'; class DashboardTrophiesWidget extends ConsumerWidget { const DashboardTrophiesWidget(); @override Widget build(BuildContext context, WidgetRef ref) { - final trophiesState = ref.read(trophyStateProvider); + final trophiesState = ref.watch(trophyStateProvider); + final isOnline = ref.watch(networkStatusProvider); final i18n = AppLocalizations.of(context); return Card( @@ -46,7 +50,9 @@ class DashboardTrophiesWidget extends ConsumerWidget { i18n.trophies, style: Theme.of(context).textTheme.headlineSmall, ), - // leading: Icon(Icons.widgets_outlined), + trailing: isOnline + ? null + : Icon(Icons.cloud_off, color: Theme.of(context).colorScheme.outline), ), Padding( padding: const EdgeInsets.all(8.0), @@ -105,9 +111,16 @@ class TrophyCard extends StatelessWidget { children: [ Row( children: [ - CircleAvatar( - radius: 30, - backgroundImage: NetworkImage(trophy.image), + WgerImage( + mediaPath: trophy.image, + width: 60, + height: 60, + cacheWidth: 180, + borderRadius: BorderRadius.circular(30), + errorWidget: const CircleIconAvatar( + Icon(Icons.emoji_events, color: Colors.grey), + radius: 30, + ), ), const SizedBox(width: 10), Expanded( diff --git a/lib/core/widgets/dashboard/widgets/weight.dart b/lib/core/widgets/dashboard/widgets/weight.dart new file mode 100644 index 000000000..efe3caf1f --- /dev/null +++ b/lib/core/widgets/dashboard/widgets/weight.dart @@ -0,0 +1,168 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:font_awesome_flutter/font_awesome_flutter.dart'; +import 'package:wger/core/form_screen.dart'; +import 'package:wger/core/widgets/dashboard/widgets/nothing_found.dart'; +import 'package:wger/core/widgets/error.dart'; +import 'package:wger/core/widgets/progress_indicator.dart'; +import 'package:wger/features/account/models/user_profile.dart'; +import 'package:wger/features/account/providers/user_profile_notifier.dart'; +import 'package:wger/features/measurements/widgets/charts.dart'; +import 'package:wger/features/measurements/widgets/helpers.dart'; +import 'package:wger/features/weight/models/weight_entry.dart'; +import 'package:wger/features/weight/providers/body_weight_notifier.dart'; +import 'package:wger/features/weight/screens/weight_screen.dart'; +import 'package:wger/features/weight/widgets/forms.dart'; +import 'package:wger/l10n/generated/app_localizations.dart'; + +class DashboardWeightWidget extends ConsumerWidget { + const DashboardWeightWidget(); + + Widget _shell(BuildContext context, Widget body) { + return Card( + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + ListTile( + title: Text( + AppLocalizations.of(context).weight, + style: Theme.of(context).textTheme.headlineSmall, + ), + leading: FaIcon( + FontAwesomeIcons.weightScale, + color: Theme.of(context).textTheme.headlineSmall!.color, + ), + ), + body, + ], + ), + ); + } + + @override + Widget build(BuildContext context, WidgetRef ref) { + final entriesAsync = ref.watch(weightEntryProvider); + final profileAsync = ref.watch(userProfileProvider); + + // Composite loading / error / data resolution. We need both providers + // ready before we can render the chart (entries → series, profile → + // unit). Treating them independently with a nested .when() is what gave + // us the eternal-spinner bug when fetchProfile() returned null, so we + // funnel everything through a single decision tree here. + if (entriesAsync.isLoading || profileAsync.isLoading) { + return _shell(context, const BoxedProgressIndicator()); + } + if (entriesAsync.hasError) { + return _shell( + context, + StreamErrorIndicator(entriesAsync.error!, stacktrace: entriesAsync.stackTrace), + ); + } + if (profileAsync.hasError) { + return _shell( + context, + StreamErrorIndicator(profileAsync.error!, stacktrace: profileAsync.stackTrace), + ); + } + final profile = profileAsync.value; + if (profile == null) { + // Loaded successfully but the API returned no profile, treat the same + // way we treat a server error so the user isn't stuck on a spinner. + return _shell(context, const StreamErrorIndicator('User profile is unavailable')); + } + + return _shell(context, _buildContent(context, entriesAsync.value!, profile)); + } + + Widget _buildContent( + BuildContext context, + List entriesList, + UserProfile profile, + ) { + if (entriesList.isEmpty) { + return NothingFound( + AppLocalizations.of(context).noWeightEntries, + AppLocalizations.of(context).newEntry, + WeightForm(), + ); + } + + final (entriesAll, entries7dAvg) = sensibleRange( + entriesList.map((e) => MeasurementChartEntry(e.weight, e.date)).toList(), + ); + + return Column( + children: [ + SizedBox( + height: 200, + child: MeasurementChartWidgetFl( + entriesAll, + weightUnit(profile.isMetric, context), + avgs: entries7dAvg, + ), + ), + if (entries7dAvg.isNotEmpty) + MeasurementOverallChangeWidget( + entries7dAvg.first, + entries7dAvg.last, + weightUnit(profile.isMetric, context), + ), + LayoutBuilder( + builder: (context, constraints) { + return SingleChildScrollView( + scrollDirection: Axis.horizontal, + child: ConstrainedBox( + constraints: BoxConstraints(minWidth: constraints.maxWidth), + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + TextButton( + child: Text( + AppLocalizations.of(context).goToDetailPage, + overflow: TextOverflow.ellipsis, + ), + onPressed: () { + Navigator.of(context).pushNamed(WeightScreen.routeName); + }, + ), + IconButton( + icon: const Icon(Icons.add), + onPressed: () { + Navigator.pushNamed( + context, + FormScreen.routeName, + arguments: FormScreenArguments( + AppLocalizations.of(context).newEntry, + WeightForm(), + ), + ); + }, + ), + ], + ), + ), + ); + }, + ), + ], + ); + } +} diff --git a/lib/core/widgets/datetime_input.dart b/lib/core/widgets/datetime_input.dart new file mode 100644 index 000000000..1dab063dc --- /dev/null +++ b/lib/core/widgets/datetime_input.dart @@ -0,0 +1,223 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; +import 'package:wger/core/formatting/formatting.dart'; + +/// Read-only field that opens a time picker on tap. +/// +/// The selected time is reported through [onChanged]; the caller keeps the +/// source of truth and decides how to store it. The displayed text uses the +/// active locale's time format (12h with AM/PM where the device prefers it), +/// so it must never be parsed back into a [TimeOfDay]. +/// +/// When [onCleared] is provided, a clear button is shown while a value is set. +class TimeInputWidget extends StatefulWidget { + const TimeInputWidget({ + required this.value, + required this.onChanged, + required this.labelText, + this.onCleared, + this.validator, + super.key, + }); + + /// The currently selected time, or null when unset. + final TimeOfDay? value; + + /// Called with the time picked from the dialog. + final ValueChanged onChanged; + + final String labelText; + + /// When provided, a clear button is shown while [value] is set; tapping it + /// invokes this callback. + final VoidCallback? onCleared; + + /// Optional form validator. The argument is the displayed text; cross-field + /// rules should read the source of truth from the surrounding state instead. + final FormFieldValidator? validator; + + @override + State createState() => _TimeInputWidgetState(); +} + +class _TimeInputWidgetState extends State { + TimeOfDay? _value; + + @override + void initState() { + super.initState(); + _value = widget.value; + } + + @override + void didUpdateWidget(TimeInputWidget oldWidget) { + super.didUpdateWidget(oldWidget); + if (widget.value != oldWidget.value) { + _value = widget.value; + } + } + + @override + Widget build(BuildContext context) { + // Keyed initialValue, not a controller: a controller notifies the enclosing + // Form on assignment, which crashes if that happens during a build. + return TextFormField( + key: ValueKey(_value), + readOnly: true, + initialValue: _value?.format(context) ?? '', + validator: widget.validator, + decoration: InputDecoration( + labelText: widget.labelText, + errorMaxLines: 2, + suffixIcon: widget.onCleared != null && _value != null + ? IconButton( + icon: const Icon(Icons.clear), + onPressed: () { + setState(() => _value = null); + widget.onCleared!(); + }, + ) + : const Icon(Icons.access_time_outlined), + ), + onTap: () async { + // Stop the keyboard from appearing for the read-only field. + FocusScope.of(context).requestFocus(FocusNode()); + + final picked = await showTimePicker( + context: context, + initialTime: _value ?? TimeOfDay.now(), + ); + if (picked != null && context.mounted) { + setState(() => _value = picked); + widget.onChanged(picked); + } + }, + ); + } +} + +/// Read-only field that opens a date picker on tap. +/// +/// The selected date is reported through [onChanged]; the caller keeps the +/// source of truth and decides how to store it. The displayed text uses the +/// active locale's date format. +/// +/// When [onCleared] is provided, a clear button is shown while a value is set. +class DateInputWidget extends StatefulWidget { + const DateInputWidget({ + required this.value, + required this.onChanged, + required this.labelText, + this.firstDate, + this.lastDate, + this.onCleared, + this.validator, + this.helperText, + super.key, + }); + + /// The currently selected date, or null when unset. + final DateTime? value; + + /// Called with the date picked from the dialog. + final ValueChanged onChanged; + + final String labelText; + + /// Optional hint shown below the field. + final String? helperText; + + /// Earliest selectable date. Defaults to the year 2000. + final DateTime? firstDate; + + /// Latest selectable date. Defaults to the year 2100. + final DateTime? lastDate; + + /// When provided, a clear button is shown while [value] is set; tapping it + /// invokes this callback. + final VoidCallback? onCleared; + + /// Optional form validator. The argument is the displayed text; cross-field + /// rules should read the source of truth from the surrounding state instead. + final FormFieldValidator? validator; + + @override + State createState() => _DateInputWidgetState(); +} + +class _DateInputWidgetState extends State { + DateTime? _value; + + @override + void initState() { + super.initState(); + _value = widget.value; + } + + @override + void didUpdateWidget(DateInputWidget oldWidget) { + super.didUpdateWidget(oldWidget); + if (widget.value != oldWidget.value) { + _value = widget.value; + } + } + + @override + Widget build(BuildContext context) { + final dateFormat = localizedDate(context); + // Keyed initialValue, not a controller: a controller notifies the enclosing + // Form on assignment, which crashes if that happens during a build. + return TextFormField( + key: ValueKey(_value), + readOnly: true, + initialValue: _value != null ? dateFormat.format(_value!) : '', + validator: widget.validator, + decoration: InputDecoration( + labelText: widget.labelText, + helperText: widget.helperText, + errorMaxLines: 2, + suffixIcon: widget.onCleared != null && _value != null + ? IconButton( + icon: const Icon(Icons.clear), + onPressed: () { + setState(() => _value = null); + widget.onCleared!(); + }, + ) + : const Icon(Icons.calendar_today), + ), + onTap: () async { + // Stop the keyboard from appearing for the read-only field. + FocusScope.of(context).requestFocus(FocusNode()); + + final picked = await showDatePicker( + context: context, + initialDate: _value ?? DateTime.now(), + firstDate: widget.firstDate ?? DateTime(2000), + lastDate: widget.lastDate ?? DateTime(2100), + ); + if (picked != null && context.mounted) { + setState(() => _value = picked); + widget.onChanged(picked); + } + }, + ); + } +} diff --git a/lib/core/widgets/decimal_input.dart b/lib/core/widgets/decimal_input.dart new file mode 100644 index 000000000..625806b08 --- /dev/null +++ b/lib/core/widgets/decimal_input.dart @@ -0,0 +1,94 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; +import 'package:wger/core/consts.dart'; +import 'package:wger/core/formatting/formatting.dart'; +import 'package:wger/core/number_input.dart'; +import 'package:wger/l10n/generated/app_localizations.dart'; + +/// Locale-aware decimal text field. +/// +/// Renders [value] with the active locale's number format and reports edits +/// through [onChanged] as a parsed [num], or null when the field is empty. +/// Display and parsing always go through the same NumberFormat, so a value can +/// never be mis-read because of a decimal-separator mismatch between locales. +class DecimalInputWidget extends StatelessWidget { + const DecimalInputWidget({ + required this.value, + required this.onChanged, + required this.labelText, + this.suffixText, + this.isRequired = false, + this.min, + this.max, + super.key, + }); + + /// The current value, or null when unset. + final num? value; + + /// Called with the parsed value on every edit, or null when the field is + /// cleared or its contents cannot be parsed. + final ValueChanged onChanged; + + final String labelText; + + final String? suffixText; + + /// When true, an empty field fails validation instead of being accepted. + final bool isRequired; + + /// Optional inclusive lower bound. When both [min] and [max] are set, a + /// parsed value outside the range fails validation. + final num? min; + + /// Optional inclusive upper bound. See [min]. + final num? max; + + @override + Widget build(BuildContext context) { + final i18n = AppLocalizations.of(context); + final numberFormat = localizedNumberFormat(context); + + return TextFormField( + initialValue: value == null ? '' : numberFormat.format(value), + decoration: InputDecoration(labelText: labelText, suffixText: suffixText), + keyboardType: textInputTypeDecimal, + inputFormatters: [LocalizedDecimalInputFormatter(numberFormat.symbols.DECIMAL_SEP)], + onChanged: (text) { + final trimmed = text.trim(); + onChanged(trimmed.isEmpty ? null : numberFormat.tryParse(trimmed)); + }, + validator: (text) { + final trimmed = text?.trim() ?? ''; + if (trimmed.isEmpty) { + return isRequired ? i18n.enterValue : null; + } + final parsed = numberFormat.tryParse(trimmed); + if (parsed == null) { + return i18n.enterValidNumber; + } + if (min != null && max != null && (parsed < min! || parsed > max!)) { + return i18n.formMinMaxValues(min!.toInt(), max!.toInt()); + } + return null; + }, + ); + } +} diff --git a/lib/core/widgets/error.dart b/lib/core/widgets/error.dart new file mode 100644 index 000000000..7009551de --- /dev/null +++ b/lib/core/widgets/error.dart @@ -0,0 +1,164 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; +import 'package:wger/core/error_dialogs.dart' show ServerHtmlError; +import 'package:wger/core/exceptions/http_exception.dart'; +import 'package:wger/l10n/generated/app_localizations.dart'; + +/// Maximum visible height for the inline error display. Long stack traces or +/// HTML pages scroll inside this box rather than blowing up the parent card. +const double _kMaxErrorHeight = 280; + +/// Inline error indicator used by `AsyncValueWidget` +/// +/// Accepts the raw error object so we can introspect it - if it's a +/// [WgerHttpException] with [ErrorType.html] (typical for Django's debug +/// pages and 500 errors served as HTML), the widget renders a Preview / Raw +/// toggle so the user can see the page as styled HTML or copy the source. +/// Anything else (plain strings, JSON, generic exceptions) renders as +/// scrollable monospace text. +class StreamErrorIndicator extends StatelessWidget { + const StreamErrorIndicator(this.error, {this.stacktrace, super.key}); + + final Object error; + final StackTrace? stacktrace; + + @override + Widget build(BuildContext context) { + final theme = Theme.of(context); + final i18n = AppLocalizations.of(context); + + return Padding( + padding: const EdgeInsets.all(8), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisSize: MainAxisSize.min, + children: [ + Row( + children: [ + Icon(Icons.error_outline, color: theme.colorScheme.error, size: 20), + const SizedBox(width: 8), + Expanded( + child: Text( + i18n.anErrorOccurred, + style: theme.textTheme.bodyMedium?.copyWith( + color: theme.colorScheme.error, + fontWeight: FontWeight.w600, + ), + ), + ), + ], + ), + const SizedBox(height: 8), + ConstrainedBox( + constraints: const BoxConstraints(maxHeight: _kMaxErrorHeight), + child: _buildBody(context), + ), + ], + ), + ); + } + + Widget _buildBody(BuildContext context) { + final error = this.error; + if (error is WgerHttpException && error.type == ErrorType.html) { + return _HtmlErrorBody(html: error.htmlError); + } + return _PlainErrorBody(text: error.toString(), stacktrace: stacktrace); + } +} + +/// Preview / Raw toggle for HTML errors. Mirrors the pattern used by the +/// markdown editor so the UI feels familiar. +class _HtmlErrorBody extends StatelessWidget { + const _HtmlErrorBody({required this.html}); + + final String html; + + @override + Widget build(BuildContext context) { + final i18n = AppLocalizations.of(context); + final theme = Theme.of(context); + + return DefaultTabController( + length: 2, + child: Column( + crossAxisAlignment: CrossAxisAlignment.stretch, + mainAxisSize: MainAxisSize.min, + children: [ + TabBar( + labelColor: theme.colorScheme.primary, + unselectedLabelColor: theme.textTheme.bodySmall?.color, + tabs: [ + Tab(text: i18n.preview), + Tab(text: i18n.errorRawSource), + ], + ), + const SizedBox(height: 8), + Expanded( + child: TabBarView( + children: [ + SingleChildScrollView(child: ServerHtmlError(data: html)), + SingleChildScrollView( + child: SelectableText( + html, + style: const TextStyle(fontFamily: 'monospace', fontSize: 12), + ), + ), + ], + ), + ), + ], + ), + ); + } +} + +/// Plain-text error body (anything that's not HTML). Renders the message +/// and an optional stacktrace, both scrollable and selectable so the user +/// can copy them into a bug report. +class _PlainErrorBody extends StatelessWidget { + const _PlainErrorBody({required this.text, this.stacktrace}); + + final String text; + final StackTrace? stacktrace; + + @override + Widget build(BuildContext context) { + return SingleChildScrollView( + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisSize: MainAxisSize.min, + children: [ + SelectableText( + text, + style: const TextStyle(fontFamily: 'monospace', fontSize: 12), + ), + if (stacktrace != null) ...[ + const SizedBox(height: 8), + SelectableText( + stacktrace.toString(), + style: const TextStyle(fontFamily: 'monospace', fontSize: 11, color: Colors.grey), + ), + ], + ], + ), + ); + } +} diff --git a/lib/core/widgets/form_submit_button.dart b/lib/core/widgets/form_submit_button.dart new file mode 100644 index 000000000..f2ad5a7c7 --- /dev/null +++ b/lib/core/widgets/form_submit_button.dart @@ -0,0 +1,89 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; +import 'package:wger/core/error_dialogs.dart'; +import 'package:wger/core/exceptions/http_exception.dart'; +import 'package:wger/core/widgets/progress_indicator.dart'; + +/// Submit button that owns the saving and error state of an async form action. +/// +/// While [onPressed] is in flight the button is disabled and renders a +/// [FormProgressIndicator], which also prevents a double submit. A +/// [WgerHttpException] thrown by [onPressed] is caught and rendered as a +/// [FormHttpErrorsWidget] directly above the button, other errors propagate +/// to the global error handler. Set [enabled] to false to disable the button +/// for other reasons, e.g. while offline. +class FormSubmitButton extends StatefulWidget { + const FormSubmitButton({ + required this.onPressed, + required this.label, + this.enabled = true, + super.key, + }); + + /// Async submit action. The spinner is shown until the returned future + /// completes. A [WgerHttpException] is rendered inline; any other error is + /// left to propagate. + final Future Function() onPressed; + + final String label; + + /// When false the button is disabled regardless of the saving state. + final bool enabled; + + @override + State createState() => _FormSubmitButtonState(); +} + +class _FormSubmitButtonState extends State { + bool _isSaving = false; + WgerHttpException? _error; + + Future _handlePressed() async { + setState(() { + _isSaving = true; + _error = null; + }); + try { + await widget.onPressed(); + } on WgerHttpException catch (error) { + if (mounted) { + setState(() => _error = error); + } + } finally { + if (mounted) { + setState(() => _isSaving = false); + } + } + } + + @override + Widget build(BuildContext context) { + return Column( + mainAxisSize: MainAxisSize.min, + children: [ + if (_error != null) FormHttpErrorsWidget(_error!), + ElevatedButton( + onPressed: _isSaving || !widget.enabled ? null : _handlePressed, + child: _isSaving ? const FormProgressIndicator() : Text(widget.label), + ), + ], + ); + } +} diff --git a/lib/widgets/core/image.dart b/lib/core/widgets/image.dart similarity index 73% rename from lib/widgets/core/image.dart rename to lib/core/widgets/image.dart index 7e315946d..22ad59ae2 100644 --- a/lib/widgets/core/image.dart +++ b/lib/core/widgets/image.dart @@ -10,23 +10,20 @@ Widget handleImageError( StackTrace? stackTrace, String imageUrl, ) { - final imageFormat = imageUrl.split('.').last.toUpperCase(); + final path = Uri.tryParse(imageUrl)?.path ?? imageUrl; + final imageFormat = path.contains('.') ? path.split('.').last.toUpperCase() : 'UNKNOWN'; final logger = Logger('handleImageError'); logger.warning('Failed to load image $imageUrl: $error, $stackTrace'); // NOTE: for the moment the other error messages are not localized - String message = ''; - switch (error) { - case NetworkImageLoadException _: - message = 'Network error'; - case HttpException _: - message = 'Http error'; - case FormatException _: - //TODO: not sure if this is the right exception for unsupported image formats? - message = AppLocalizations.of(context).imageFormatNotSupported(imageFormat); - default: - message = 'Other exception'; - } + final message = switch (error) { + NetworkImageLoadException _ => 'Network error', + HttpException _ => 'Server connection failed', + SocketException _ => 'No internet connection', + //TODO: not sure if this is the right exception for unsupported image formats? + FormatException _ => AppLocalizations.of(context).imageFormatNotSupported(imageFormat), + _ => 'An unexpected error occurred', + }; return AspectRatio( aspectRatio: 1, diff --git a/lib/widgets/search/language_dropdown.dart b/lib/core/widgets/language_dropdown.dart similarity index 93% rename from lib/widgets/search/language_dropdown.dart rename to lib/core/widgets/language_dropdown.dart index 9a1090d71..3a4bb9140 100644 --- a/lib/widgets/search/language_dropdown.dart +++ b/lib/core/widgets/language_dropdown.dart @@ -17,14 +17,14 @@ */ import 'package:flutter/material.dart'; -import 'package:wger/helpers/consts.dart'; +import 'package:wger/core/consts.dart'; +import 'package:wger/core/search_options.dart'; import 'package:wger/l10n/generated/app_localizations.dart'; -import 'package:wger/models/core/search_options.dart'; /// Dropdown that lets the user pick which language(s) to search in. /// /// Shared between exercise and ingredient search filters. The widget is -/// purely presentational — the caller passes the currently [selected] value +/// purely presentational, the caller passes the currently [selected] value /// and an [onChanged] callback to react to user input. class SearchLanguageDropdown extends StatelessWidget { final SearchLanguage selected; diff --git a/lib/widgets/core/log_overview.dart b/lib/core/widgets/log_overview.dart similarity index 98% rename from lib/widgets/core/log_overview.dart rename to lib/core/widgets/log_overview.dart index 2e335ebb0..61c128b82 100644 --- a/lib/widgets/core/log_overview.dart +++ b/lib/core/widgets/log_overview.dart @@ -18,7 +18,7 @@ import 'package:flutter/material.dart'; import 'package:logging/logging.dart'; -import 'package:wger/helpers/logs.dart'; +import 'package:wger/core/logs.dart'; import 'package:wger/l10n/generated/app_localizations.dart'; class LogOverviewPage extends StatelessWidget { diff --git a/lib/core/widgets/object_gone_redirect.dart b/lib/core/widgets/object_gone_redirect.dart new file mode 100644 index 000000000..bb0266943 --- /dev/null +++ b/lib/core/widgets/object_gone_redirect.dart @@ -0,0 +1,45 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; + +/// Leaves a detail screen whose object was deleted and dropped from the live +/// stream while it was open. Returns a blank placeholder and pops on the next +/// microtask (navigation isn't allowed mid-build), but only when this is the +/// current route, so an open child route (form, dialog) is left alone. Pops +/// every screen beneath it about the same object too, matched by equal route +/// argument (e.g. a routine's logs view on its detail), landing on the list. +Widget objectGoneRedirect(BuildContext context) { + Future.microtask(() { + if (!context.mounted) { + return; + } + final route = ModalRoute.of(context); + if (route == null || !route.isCurrent) { + return; + } + final navigator = Navigator.of(context); + final goneArg = route.settings.arguments; + if (goneArg == null) { + navigator.pop(); + return; + } + navigator.popUntil((r) => r.settings.arguments != goneArg); + }); + return const SizedBox.shrink(); +} diff --git a/lib/core/widgets/progress_indicator.dart b/lib/core/widgets/progress_indicator.dart new file mode 100644 index 000000000..69f7bab50 --- /dev/null +++ b/lib/core/widgets/progress_indicator.dart @@ -0,0 +1,55 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; + +class BoxedProgressIndicator extends StatelessWidget { + const BoxedProgressIndicator({super.key}); + + @override + Widget build(BuildContext context) { + return const SizedBox( + height: 200, + child: Center(child: CircularProgressIndicator()), + ); + } +} + +class CenteredProgressIndicator extends StatelessWidget { + const CenteredProgressIndicator({super.key}); + + @override + Widget build(BuildContext context) { + return const Center(child: CircularProgressIndicator()); + } +} + +class FormProgressIndicator extends StatelessWidget { + const FormProgressIndicator({super.key}); + + @override + Widget build(BuildContext context) { + return const SizedBox( + height: 20, + width: 20, + child: CircularProgressIndicator( + valueColor: AlwaysStoppedAnimation(Colors.white), + ), + ); + } +} diff --git a/lib/widgets/core/server_config_warning_dialog.dart b/lib/core/widgets/server_config_warning_dialog.dart similarity index 97% rename from lib/widgets/core/server_config_warning_dialog.dart rename to lib/core/widgets/server_config_warning_dialog.dart index 693e87aa1..753617b83 100644 --- a/lib/widgets/core/server_config_warning_dialog.dart +++ b/lib/core/widgets/server_config_warning_dialog.dart @@ -9,7 +9,7 @@ */ import 'package:flutter/material.dart'; -import 'package:wger/helpers/misc.dart'; +import 'package:wger/core/misc.dart'; import 'package:wger/l10n/generated/app_localizations.dart'; /// Shows a warning dialog when server misconfiguration is detected diff --git a/lib/core/widgets/sync_status_dialog.dart b/lib/core/widgets/sync_status_dialog.dart new file mode 100644 index 000000000..f3ca58427 --- /dev/null +++ b/lib/core/widgets/sync_status_dialog.dart @@ -0,0 +1,182 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:flutter/material.dart'; +import 'package:powersync/powersync.dart' + show CredentialsException, PowerSyncProtocolException, SyncResponseException, SyncStatus; +import 'package:wger/core/formatting/formatting.dart'; +import 'package:wger/l10n/generated/app_localizations.dart'; +import 'package:wger/powersync/connector.dart' show RetryableUploadException; + +/// Maps an HTTP status code to a short English category label. +String _categoriseHttpStatus(int statusCode) { + if (statusCode == 401 || statusCode == 403) { + return 'Authentication error'; + } + if (statusCode >= 500) { + return 'Server error'; + } + return 'HTTP $statusCode'; +} + +/// Classifies a sync error into a short English category label +String? _categoriseSyncError(Object error) { + if (error is CredentialsException) { + return 'Authentication error'; + } + + if (error is PowerSyncProtocolException) { + return 'Protocol error'; + } + + if (error is SyncResponseException) { + return _categoriseHttpStatus(error.statusCode); + } + if (error is RetryableUploadException) { + return _categoriseHttpStatus(error.statusCode); + } + + final typeName = error.runtimeType.toString(); + if (typeName.endsWith('SocketException') || + typeName == 'WebSocketChannelException' || + typeName == 'ClientException' || + typeName == 'HttpException') { + return 'Connection error'; + } + + return null; +} + +({IconData icon, String label}) syncStatusIconAndLabel( + SyncStatus status, + AppLocalizations i18n, +) { + if (status.anyError != null) { + return ( + icon: status.connected ? Icons.sync_problem : Icons.cloud_off, + label: i18n.syncStatusError, + ); + } else if (status.connecting) { + // Distinct from the active-sync icon below: "queue" reads as + // "trying to establish a connection", not "transferring data". + return (icon: Icons.cloud_queue, label: i18n.syncStatusConnecting); + } else if (!status.connected) { + return (icon: Icons.cloud_off, label: i18n.syncStatusDisconnected); + } else if (status.uploading && status.downloading) { + // The status changes often between downloading, uploading and both, + // so we use the same icon for all three + return (icon: Icons.cloud_sync_outlined, label: i18n.syncStatusSyncing); + } else if (status.uploading) { + return (icon: Icons.cloud_upload_outlined, label: i18n.syncStatusUploading); + } else if (status.downloading) { + return (icon: Icons.cloud_download_outlined, label: i18n.syncStatusDownloading); + } else { + return (icon: Icons.cloud_done_outlined, label: i18n.syncStatusConnected); + } +} + +/// Shows the current powersync status +class SyncStatusDialog extends StatelessWidget { + final SyncStatus _status; + + const SyncStatusDialog(this._status, {super.key}); + + @override + Widget build(BuildContext context) { + final i18n = AppLocalizations.of(context); + final theme = Theme.of(context); + final status = syncStatusIconAndLabel(_status, i18n); + final lastSynced = _status.lastSyncedAt; + final errorCategory = _status.anyError == null ? null : _categoriseSyncError(_status.anyError!); + + return AlertDialog( + title: Text(i18n.syncStatusDialogTitle), + content: Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Row( + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Icon(status.icon, size: 28), + const SizedBox(width: 12), + Expanded( + child: Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text(status.label, style: theme.textTheme.titleMedium), + if (errorCategory != null) + Text( + errorCategory, + style: theme.textTheme.bodySmall?.copyWith( + color: theme.colorScheme.onSurfaceVariant, + ), + ), + ], + ), + ), + ], + ), + const SizedBox(height: 16), + + // Last sync timestamp if available + Text(i18n.syncStatusLastSynced, style: theme.textTheme.labelMedium), + const SizedBox(height: 4), + Text( + lastSynced == null + ? '-/-' + : localizedDate(context).add_Hms().format(lastSynced.toLocal()), + ), + + // Raw error in an expandable section. Only shown when an error + // actually exists; otherwise we don't render the tile at all, + // so the dialog stays compact in the happy case. + if (_status.anyError != null) ...[ + const SizedBox(height: 8), + Theme( + // ExpansionTile draws its own dividers; suppress the default + // divider colour so the tile blends with the dialog content. + data: theme.copyWith(dividerColor: Colors.transparent), + child: ExpansionTile( + tilePadding: EdgeInsets.zero, + childrenPadding: const EdgeInsets.only(bottom: 8), + title: Text(i18n.syncStatusErrorDetails), + children: [ + SelectableText( + _status.anyError!.toString(), + style: theme.textTheme.bodySmall?.copyWith( + fontFamily: 'monospace', + color: theme.colorScheme.error, + ), + ), + ], + ), + ), + ], + ], + ), + actions: [ + TextButton( + onPressed: () => Navigator.of(context).pop(), + child: Text(MaterialLocalizations.of(context).closeButtonLabel), + ), + ], + ); + } +} diff --git a/lib/widgets/core/text_prompt.dart b/lib/core/widgets/text_prompt.dart similarity index 100% rename from lib/widgets/core/text_prompt.dart rename to lib/core/widgets/text_prompt.dart diff --git a/lib/core/widgets/wger_image.dart b/lib/core/widgets/wger_image.dart new file mode 100644 index 000000000..601f9e53a --- /dev/null +++ b/lib/core/widgets/wger_image.dart @@ -0,0 +1,128 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:extended_image/extended_image.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:wger/core/network/wger_base.dart'; +import 'package:wger/core/widgets/image.dart'; +import 'package:wger/core/widgets/progress_indicator.dart'; + +/// Displays a server-hosted image with disk + memory caching. +/// +/// [mediaPath] is whatever the server stores in a Django `ImageField` +/// (e.g. `ingredients/42/foo.jpg`) or, transparently, an already +/// absolute URL. If [mediaPath] is null, empty, or the user is not logged in, +/// the [errorWidget] (or a default broken-image icon) is shown. +/// +/// [cacheWidth] / [cacheHeight] are passed to the underlying decoder +/// so the cached bytes are scaled to display size, use this for +/// avatars and thumbnails to avoid keeping multi-megapixel originals +/// in the cache. Both are pixel values, not logical pixels. +/// +class WgerImage extends ConsumerWidget { + /// Relative DB path or absolute URL. Null/empty renders [errorWidget]. + final String? mediaPath; + + final double? width; + final double? height; + final BoxFit fit; + + /// Pixel-size hint for the decoder. + final int? cacheWidth; + final int? cacheHeight; + + /// Shown while loading. Defaults to a centred [CircularProgressIndicator]. + final Widget? placeholder; + + /// Shown on load failure or when [mediaPath] cannot be resolved. + /// Defaults to an [Icons.broken_image]. + final Widget? errorWidget; + + /// Optional rounded clipping. For circular avatars prefer wrapping in + /// [CircleAvatar] at the call site. + final BorderRadius? borderRadius; + + const WgerImage({ + super.key, + required this.mediaPath, + this.width, + this.height, + this.fit = BoxFit.cover, + this.cacheWidth, + this.cacheHeight, + this.placeholder, + this.errorWidget, + this.borderRadius, + }); + + @override + Widget build(BuildContext context, WidgetRef ref) { + final url = ref.watch(mediaUrlBuilderProvider)(mediaPath); + if (url == null) { + return _wrapClip(_sized(errorWidget ?? const ImageError(''))); + } + + final image = ExtendedImage.network( + url.toString(), + width: width, + height: height, + fit: fit, + cache: true, + cacheWidth: cacheWidth, + cacheHeight: cacheHeight, + handleLoadingProgress: true, + loadStateChanged: (state) { + switch (state.extendedImageLoadState) { + case LoadState.loading: + return _sized(placeholder ?? const CenteredProgressIndicator()); + case LoadState.failed: + return _sized( + errorWidget ?? + ImageError( + 'Network error', + errorMessage: state.lastException?.toString(), + ), + ); + case LoadState.completed: + // Returning null lets ExtendedImage render the loaded image. + return null; + } + }, + ); + + return _wrapClip(image); + } + + Widget _wrapClip(Widget child) { + if (borderRadius == null) { + return child; + } + return ClipRRect(borderRadius: borderRadius!, child: child); + } + + /// Constrains the placeholder/error widget to the same box as the image + /// would occupy, so layouts don't jump between states. Pass-through if + /// the caller didn't specify a size. + Widget _sized(Widget child) { + if (width == null && height == null) { + return child; + } + return SizedBox(width: width, height: height, child: child); + } +} diff --git a/lib/database/converters/date_only_text_converter.dart b/lib/database/converters/date_only_text_converter.dart new file mode 100644 index 000000000..7507c216b --- /dev/null +++ b/lib/database/converters/date_only_text_converter.dart @@ -0,0 +1,44 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:drift/drift.dart'; + +/// Persists a Django `DateField` (a calendar day, no time, no zone) as a +/// `YYYY-MM-DD` string, the format the backend stores and syncs back. Without +/// it drift would write the local day as a full ISO timestamp, so a row written +/// here and the same row after a server round-trip would no longer compare +/// equal. Reading takes the leading day, so timestamps written before this +/// converter still map to the correct date. +/// +/// Use only on columns backed by a Django `DateField`. For `DateTimeField` +/// columns use `UtcDateTimeConverter` instead. +class DateOnlyTextConverter extends TypeConverter { + const DateOnlyTextConverter(); + + @override + DateTime fromSql(String fromDb) { + final day = DateTime.parse(fromDb.substring(0, 10)); + return DateTime.utc(day.year, day.month, day.day); + } + + @override + String toSql(DateTime value) => + '${value.year.toString().padLeft(4, '0')}-' + '${value.month.toString().padLeft(2, '0')}-' + '${value.day.toString().padLeft(2, '0')}'; +} diff --git a/lib/database/converters/exercise_image_style_converter.dart b/lib/database/converters/exercise_image_style_converter.dart new file mode 100644 index 000000000..428ead304 --- /dev/null +++ b/lib/database/converters/exercise_image_style_converter.dart @@ -0,0 +1,32 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:drift/drift.dart'; +import 'package:wger/features/exercises/models/image.dart'; + +/// Maps an [ExerciseImageStyle] to and from the Django wire format +/// (`'1'`–`'5'`). +class ExerciseImageStyleConverter extends TypeConverter { + const ExerciseImageStyleConverter(); + + @override + ExerciseImageStyle fromSql(String fromDb) => ExerciseImageStyle.fromWire(fromDb); + + @override + String toSql(ExerciseImageStyle value) => value.wireValue; +} diff --git a/lib/database/converters/measurement_metric_type_converter.dart b/lib/database/converters/measurement_metric_type_converter.dart new file mode 100644 index 000000000..da716261c --- /dev/null +++ b/lib/database/converters/measurement_metric_type_converter.dart @@ -0,0 +1,31 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:drift/drift.dart'; +import 'package:wger/features/measurements/models/measurement_category.dart'; + +/// Maps a [MetricType] to and from the SQLite string format. +class MeasurementMetricTypeConverter extends TypeConverter { + const MeasurementMetricTypeConverter(); + + @override + MetricType fromSql(String fromDb) => MetricType.fromWire(fromDb); + + @override + String toSql(MetricType value) => value.wireValue; +} diff --git a/lib/database/converters/time_of_day_converter.dart b/lib/database/converters/time_of_day_converter.dart new file mode 100644 index 000000000..885653610 --- /dev/null +++ b/lib/database/converters/time_of_day_converter.dart @@ -0,0 +1,35 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020, 2020- wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:drift/drift.dart'; +import 'package:flutter/material.dart'; +import 'package:wger/core/json.dart'; + +class TimeOfDayConverter extends TypeConverter { + const TimeOfDayConverter(); + + @override + TimeOfDay fromSql(String fromDb) { + return stringToTimeNull(fromDb)!; + } + + @override + String toSql(TimeOfDay value) { + return timeToString(value)!; + } +} diff --git a/lib/database/converters/utc_datetime_converter.dart b/lib/database/converters/utc_datetime_converter.dart new file mode 100644 index 000000000..2e150fbb3 --- /dev/null +++ b/lib/database/converters/utc_datetime_converter.dart @@ -0,0 +1,35 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2026 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:drift/drift.dart'; + +/// Persists [DateTime] values as UTC and returns them in the device's local zone. +/// +/// Use only on columns backed by a Django `DateTimeField`. Date-only +/// (`DateField`) columns must not use it, or their calendar day would shift in +/// zones west or east of UTC. The local conversion on read is required because +/// both local writes and server sync store instants as UTC +class UtcDateTimeConverter extends TypeConverter { + const UtcDateTimeConverter(); + + @override + DateTime fromSql(DateTime fromDb) => fromDb.toLocal(); + + @override + DateTime toSql(DateTime value) => value.toUtc(); +} diff --git a/lib/database/converters/workout_impression_converter.dart b/lib/database/converters/workout_impression_converter.dart new file mode 100644 index 000000000..df4681058 --- /dev/null +++ b/lib/database/converters/workout_impression_converter.dart @@ -0,0 +1,32 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:drift/drift.dart'; +import 'package:wger/features/routines/models/session.dart'; + +/// Maps a [WorkoutImpression] to and from the Django wire format +/// (`'1'`, `'2'`, `'3'`). +class WorkoutImpressionConverter extends TypeConverter { + const WorkoutImpressionConverter(); + + @override + WorkoutImpression fromSql(String fromDb) => WorkoutImpression.fromWire(fromDb); + + @override + String toSql(WorkoutImpression value) => value.wireValue; +} diff --git a/lib/database/exercises/exercise_database.dart b/lib/database/exercises/exercise_database.dart deleted file mode 100644 index 1cbff2113..000000000 --- a/lib/database/exercises/exercise_database.dart +++ /dev/null @@ -1,129 +0,0 @@ -/* - * This file is part of wger Workout Manager . - * Copyright (c) 2026 wger Team - * - * wger Workout Manager is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - -import 'package:drift/drift.dart'; -import 'package:drift_flutter/drift_flutter.dart'; -import 'package:logging/logging.dart'; -import 'package:wger/database/exercises/type_converters.dart'; -import 'package:wger/models/exercises/category.dart'; -import 'package:wger/models/exercises/equipment.dart'; -import 'package:wger/models/exercises/language.dart'; -import 'package:wger/models/exercises/muscle.dart'; - -part 'exercise_database.g.dart'; - -@DataClassName('ExerciseTable') -class Exercises extends Table { - const Exercises(); - - IntColumn get id => integer()(); - - TextColumn get data => text()(); - - // TextColumn get data => text().map(const ExerciseBaseConverter())(); - - DateTimeColumn get lastUpdate => dateTime()(); - - /// The date when the exercise was last fetched from the API. While we know - /// when the exercise itself was last updated in `lastUpdate`, we can save - /// ourselves a lot of requests if we don't check too often - DateTimeColumn get lastFetched => dateTime()(); -} - -@DataClassName('MuscleTable') -class Muscles extends Table { - const Muscles(); - - IntColumn get id => integer()(); - - TextColumn get data => text().map(const MuscleConverter())(); -} - -@DataClassName('CategoryTable') -class Categories extends Table { - const Categories(); - - IntColumn get id => integer()(); - - TextColumn get data => text().map(const ExerciseCategoryConverter())(); -} - -@DataClassName('LanguagesTable') -class Languages extends Table { - const Languages(); - - IntColumn get id => integer()(); - - TextColumn get data => text().map(const LanguageConverter())(); -} - -@DataClassName('EquipmentTable') -class Equipments extends Table { - const Equipments(); - - IntColumn get id => integer()(); - - TextColumn get data => text().map(const EquipmentConverter())(); -} - -@DriftDatabase(tables: [Exercises, Muscles, Equipments, Categories, Languages]) -class ExerciseDatabase extends _$ExerciseDatabase { - final _logger = Logger('ExerciseDatabase'); - - ExerciseDatabase() : super(_openConnection()); - - // Named constructor for creating in-memory database - ExerciseDatabase.inMemory(super.e); - - /// Note that this needs to be bumped if the JSON response from the server changes - @override - int get schemaVersion => 4; - - /// There is not really a migration strategy. If we bump the version - /// number, delete everything and recreate the new tables. The provider - /// will fetch everything as needed from the server - @override - MigrationStrategy get migration => MigrationStrategy( - onUpgrade: (m, from, to) async { - // no-op, but needs to be defined - return; - }, - beforeOpen: (openingDetails) async { - if (openingDetails.hadUpgrade) { - final m = createMigrator(); - for (final table in allTables) { - await m.deleteTable(table.actualTableName); - await m.createTable(table); - } - } - }, - ); - - Future deleteEverything() { - return transaction(() async { - for (final table in allTables) { - _logger.info('Deleting db cache table ${table.actualTableName}'); - await delete(table).go(); - } - }); - } -} - -QueryExecutor _openConnection() { - return driftDatabase(name: 'exercises'); -} diff --git a/lib/database/exercises/exercise_database.g.dart b/lib/database/exercises/exercise_database.g.dart deleted file mode 100644 index bfe8ad6e5..000000000 --- a/lib/database/exercises/exercise_database.g.dart +++ /dev/null @@ -1,1854 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -part of 'exercise_database.dart'; - -// ignore_for_file: type=lint -class $ExercisesTable extends Exercises with TableInfo<$ExercisesTable, ExerciseTable> { - @override - final GeneratedDatabase attachedDatabase; - final String? _alias; - $ExercisesTable(this.attachedDatabase, [this._alias]); - static const VerificationMeta _idMeta = const VerificationMeta('id'); - @override - late final GeneratedColumn id = GeneratedColumn( - 'id', - aliasedName, - false, - type: DriftSqlType.int, - requiredDuringInsert: true, - ); - static const VerificationMeta _dataMeta = const VerificationMeta('data'); - @override - late final GeneratedColumn data = GeneratedColumn( - 'data', - aliasedName, - false, - type: DriftSqlType.string, - requiredDuringInsert: true, - ); - static const VerificationMeta _lastUpdateMeta = const VerificationMeta( - 'lastUpdate', - ); - @override - late final GeneratedColumn lastUpdate = GeneratedColumn( - 'last_update', - aliasedName, - false, - type: DriftSqlType.dateTime, - requiredDuringInsert: true, - ); - static const VerificationMeta _lastFetchedMeta = const VerificationMeta( - 'lastFetched', - ); - @override - late final GeneratedColumn lastFetched = GeneratedColumn( - 'last_fetched', - aliasedName, - false, - type: DriftSqlType.dateTime, - requiredDuringInsert: true, - ); - @override - List get $columns => [id, data, lastUpdate, lastFetched]; - @override - String get aliasedName => _alias ?? actualTableName; - @override - String get actualTableName => $name; - static const String $name = 'exercises'; - @override - VerificationContext validateIntegrity( - Insertable instance, { - bool isInserting = false, - }) { - final context = VerificationContext(); - final data = instance.toColumns(true); - if (data.containsKey('id')) { - context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); - } else if (isInserting) { - context.missing(_idMeta); - } - if (data.containsKey('data')) { - context.handle( - _dataMeta, - this.data.isAcceptableOrUnknown(data['data']!, _dataMeta), - ); - } else if (isInserting) { - context.missing(_dataMeta); - } - if (data.containsKey('last_update')) { - context.handle( - _lastUpdateMeta, - lastUpdate.isAcceptableOrUnknown(data['last_update']!, _lastUpdateMeta), - ); - } else if (isInserting) { - context.missing(_lastUpdateMeta); - } - if (data.containsKey('last_fetched')) { - context.handle( - _lastFetchedMeta, - lastFetched.isAcceptableOrUnknown( - data['last_fetched']!, - _lastFetchedMeta, - ), - ); - } else if (isInserting) { - context.missing(_lastFetchedMeta); - } - return context; - } - - @override - Set get $primaryKey => const {}; - @override - ExerciseTable map(Map data, {String? tablePrefix}) { - final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; - return ExerciseTable( - id: attachedDatabase.typeMapping.read( - DriftSqlType.int, - data['${effectivePrefix}id'], - )!, - data: attachedDatabase.typeMapping.read( - DriftSqlType.string, - data['${effectivePrefix}data'], - )!, - lastUpdate: attachedDatabase.typeMapping.read( - DriftSqlType.dateTime, - data['${effectivePrefix}last_update'], - )!, - lastFetched: attachedDatabase.typeMapping.read( - DriftSqlType.dateTime, - data['${effectivePrefix}last_fetched'], - )!, - ); - } - - @override - $ExercisesTable createAlias(String alias) { - return $ExercisesTable(attachedDatabase, alias); - } -} - -class ExerciseTable extends DataClass implements Insertable { - final int id; - final String data; - final DateTime lastUpdate; - - /// The date when the exercise was last fetched from the API. While we know - /// when the exercise itself was last updated in `lastUpdate`, we can save - /// ourselves a lot of requests if we don't check too often - final DateTime lastFetched; - const ExerciseTable({ - required this.id, - required this.data, - required this.lastUpdate, - required this.lastFetched, - }); - @override - Map toColumns(bool nullToAbsent) { - final map = {}; - map['id'] = Variable(id); - map['data'] = Variable(data); - map['last_update'] = Variable(lastUpdate); - map['last_fetched'] = Variable(lastFetched); - return map; - } - - ExercisesCompanion toCompanion(bool nullToAbsent) { - return ExercisesCompanion( - id: Value(id), - data: Value(data), - lastUpdate: Value(lastUpdate), - lastFetched: Value(lastFetched), - ); - } - - factory ExerciseTable.fromJson( - Map json, { - ValueSerializer? serializer, - }) { - serializer ??= driftRuntimeOptions.defaultSerializer; - return ExerciseTable( - id: serializer.fromJson(json['id']), - data: serializer.fromJson(json['data']), - lastUpdate: serializer.fromJson(json['lastUpdate']), - lastFetched: serializer.fromJson(json['lastFetched']), - ); - } - @override - Map toJson({ValueSerializer? serializer}) { - serializer ??= driftRuntimeOptions.defaultSerializer; - return { - 'id': serializer.toJson(id), - 'data': serializer.toJson(data), - 'lastUpdate': serializer.toJson(lastUpdate), - 'lastFetched': serializer.toJson(lastFetched), - }; - } - - ExerciseTable copyWith({ - int? id, - String? data, - DateTime? lastUpdate, - DateTime? lastFetched, - }) => ExerciseTable( - id: id ?? this.id, - data: data ?? this.data, - lastUpdate: lastUpdate ?? this.lastUpdate, - lastFetched: lastFetched ?? this.lastFetched, - ); - ExerciseTable copyWithCompanion(ExercisesCompanion data) { - return ExerciseTable( - id: data.id.present ? data.id.value : this.id, - data: data.data.present ? data.data.value : this.data, - lastUpdate: data.lastUpdate.present ? data.lastUpdate.value : this.lastUpdate, - lastFetched: data.lastFetched.present ? data.lastFetched.value : this.lastFetched, - ); - } - - @override - String toString() { - return (StringBuffer('ExerciseTable(') - ..write('id: $id, ') - ..write('data: $data, ') - ..write('lastUpdate: $lastUpdate, ') - ..write('lastFetched: $lastFetched') - ..write(')')) - .toString(); - } - - @override - int get hashCode => Object.hash(id, data, lastUpdate, lastFetched); - @override - bool operator ==(Object other) => - identical(this, other) || - (other is ExerciseTable && - other.id == this.id && - other.data == this.data && - other.lastUpdate == this.lastUpdate && - other.lastFetched == this.lastFetched); -} - -class ExercisesCompanion extends UpdateCompanion { - final Value id; - final Value data; - final Value lastUpdate; - final Value lastFetched; - final Value rowid; - const ExercisesCompanion({ - this.id = const Value.absent(), - this.data = const Value.absent(), - this.lastUpdate = const Value.absent(), - this.lastFetched = const Value.absent(), - this.rowid = const Value.absent(), - }); - ExercisesCompanion.insert({ - required int id, - required String data, - required DateTime lastUpdate, - required DateTime lastFetched, - this.rowid = const Value.absent(), - }) : id = Value(id), - data = Value(data), - lastUpdate = Value(lastUpdate), - lastFetched = Value(lastFetched); - static Insertable custom({ - Expression? id, - Expression? data, - Expression? lastUpdate, - Expression? lastFetched, - Expression? rowid, - }) { - return RawValuesInsertable({ - if (id != null) 'id': id, - if (data != null) 'data': data, - if (lastUpdate != null) 'last_update': lastUpdate, - if (lastFetched != null) 'last_fetched': lastFetched, - if (rowid != null) 'rowid': rowid, - }); - } - - ExercisesCompanion copyWith({ - Value? id, - Value? data, - Value? lastUpdate, - Value? lastFetched, - Value? rowid, - }) { - return ExercisesCompanion( - id: id ?? this.id, - data: data ?? this.data, - lastUpdate: lastUpdate ?? this.lastUpdate, - lastFetched: lastFetched ?? this.lastFetched, - rowid: rowid ?? this.rowid, - ); - } - - @override - Map toColumns(bool nullToAbsent) { - final map = {}; - if (id.present) { - map['id'] = Variable(id.value); - } - if (data.present) { - map['data'] = Variable(data.value); - } - if (lastUpdate.present) { - map['last_update'] = Variable(lastUpdate.value); - } - if (lastFetched.present) { - map['last_fetched'] = Variable(lastFetched.value); - } - if (rowid.present) { - map['rowid'] = Variable(rowid.value); - } - return map; - } - - @override - String toString() { - return (StringBuffer('ExercisesCompanion(') - ..write('id: $id, ') - ..write('data: $data, ') - ..write('lastUpdate: $lastUpdate, ') - ..write('lastFetched: $lastFetched, ') - ..write('rowid: $rowid') - ..write(')')) - .toString(); - } -} - -class $MusclesTable extends Muscles with TableInfo<$MusclesTable, MuscleTable> { - @override - final GeneratedDatabase attachedDatabase; - final String? _alias; - $MusclesTable(this.attachedDatabase, [this._alias]); - static const VerificationMeta _idMeta = const VerificationMeta('id'); - @override - late final GeneratedColumn id = GeneratedColumn( - 'id', - aliasedName, - false, - type: DriftSqlType.int, - requiredDuringInsert: true, - ); - @override - late final GeneratedColumnWithTypeConverter data = GeneratedColumn( - 'data', - aliasedName, - false, - type: DriftSqlType.string, - requiredDuringInsert: true, - ).withConverter($MusclesTable.$converterdata); - @override - List get $columns => [id, data]; - @override - String get aliasedName => _alias ?? actualTableName; - @override - String get actualTableName => $name; - static const String $name = 'muscles'; - @override - VerificationContext validateIntegrity( - Insertable instance, { - bool isInserting = false, - }) { - final context = VerificationContext(); - final data = instance.toColumns(true); - if (data.containsKey('id')) { - context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); - } else if (isInserting) { - context.missing(_idMeta); - } - return context; - } - - @override - Set get $primaryKey => const {}; - @override - MuscleTable map(Map data, {String? tablePrefix}) { - final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; - return MuscleTable( - id: attachedDatabase.typeMapping.read( - DriftSqlType.int, - data['${effectivePrefix}id'], - )!, - data: $MusclesTable.$converterdata.fromSql( - attachedDatabase.typeMapping.read( - DriftSqlType.string, - data['${effectivePrefix}data'], - )!, - ), - ); - } - - @override - $MusclesTable createAlias(String alias) { - return $MusclesTable(attachedDatabase, alias); - } - - static TypeConverter $converterdata = const MuscleConverter(); -} - -class MuscleTable extends DataClass implements Insertable { - final int id; - final Muscle data; - const MuscleTable({required this.id, required this.data}); - @override - Map toColumns(bool nullToAbsent) { - final map = {}; - map['id'] = Variable(id); - { - map['data'] = Variable($MusclesTable.$converterdata.toSql(data)); - } - return map; - } - - MusclesCompanion toCompanion(bool nullToAbsent) { - return MusclesCompanion(id: Value(id), data: Value(data)); - } - - factory MuscleTable.fromJson( - Map json, { - ValueSerializer? serializer, - }) { - serializer ??= driftRuntimeOptions.defaultSerializer; - return MuscleTable( - id: serializer.fromJson(json['id']), - data: serializer.fromJson(json['data']), - ); - } - @override - Map toJson({ValueSerializer? serializer}) { - serializer ??= driftRuntimeOptions.defaultSerializer; - return { - 'id': serializer.toJson(id), - 'data': serializer.toJson(data), - }; - } - - MuscleTable copyWith({int? id, Muscle? data}) => - MuscleTable(id: id ?? this.id, data: data ?? this.data); - MuscleTable copyWithCompanion(MusclesCompanion data) { - return MuscleTable( - id: data.id.present ? data.id.value : this.id, - data: data.data.present ? data.data.value : this.data, - ); - } - - @override - String toString() { - return (StringBuffer('MuscleTable(') - ..write('id: $id, ') - ..write('data: $data') - ..write(')')) - .toString(); - } - - @override - int get hashCode => Object.hash(id, data); - @override - bool operator ==(Object other) => - identical(this, other) || - (other is MuscleTable && other.id == this.id && other.data == this.data); -} - -class MusclesCompanion extends UpdateCompanion { - final Value id; - final Value data; - final Value rowid; - const MusclesCompanion({ - this.id = const Value.absent(), - this.data = const Value.absent(), - this.rowid = const Value.absent(), - }); - MusclesCompanion.insert({ - required int id, - required Muscle data, - this.rowid = const Value.absent(), - }) : id = Value(id), - data = Value(data); - static Insertable custom({ - Expression? id, - Expression? data, - Expression? rowid, - }) { - return RawValuesInsertable({ - if (id != null) 'id': id, - if (data != null) 'data': data, - if (rowid != null) 'rowid': rowid, - }); - } - - MusclesCompanion copyWith({ - Value? id, - Value? data, - Value? rowid, - }) { - return MusclesCompanion( - id: id ?? this.id, - data: data ?? this.data, - rowid: rowid ?? this.rowid, - ); - } - - @override - Map toColumns(bool nullToAbsent) { - final map = {}; - if (id.present) { - map['id'] = Variable(id.value); - } - if (data.present) { - map['data'] = Variable( - $MusclesTable.$converterdata.toSql(data.value), - ); - } - if (rowid.present) { - map['rowid'] = Variable(rowid.value); - } - return map; - } - - @override - String toString() { - return (StringBuffer('MusclesCompanion(') - ..write('id: $id, ') - ..write('data: $data, ') - ..write('rowid: $rowid') - ..write(')')) - .toString(); - } -} - -class $EquipmentsTable extends Equipments with TableInfo<$EquipmentsTable, EquipmentTable> { - @override - final GeneratedDatabase attachedDatabase; - final String? _alias; - $EquipmentsTable(this.attachedDatabase, [this._alias]); - static const VerificationMeta _idMeta = const VerificationMeta('id'); - @override - late final GeneratedColumn id = GeneratedColumn( - 'id', - aliasedName, - false, - type: DriftSqlType.int, - requiredDuringInsert: true, - ); - @override - late final GeneratedColumnWithTypeConverter data = GeneratedColumn( - 'data', - aliasedName, - false, - type: DriftSqlType.string, - requiredDuringInsert: true, - ).withConverter($EquipmentsTable.$converterdata); - @override - List get $columns => [id, data]; - @override - String get aliasedName => _alias ?? actualTableName; - @override - String get actualTableName => $name; - static const String $name = 'equipments'; - @override - VerificationContext validateIntegrity( - Insertable instance, { - bool isInserting = false, - }) { - final context = VerificationContext(); - final data = instance.toColumns(true); - if (data.containsKey('id')) { - context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); - } else if (isInserting) { - context.missing(_idMeta); - } - return context; - } - - @override - Set get $primaryKey => const {}; - @override - EquipmentTable map(Map data, {String? tablePrefix}) { - final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; - return EquipmentTable( - id: attachedDatabase.typeMapping.read( - DriftSqlType.int, - data['${effectivePrefix}id'], - )!, - data: $EquipmentsTable.$converterdata.fromSql( - attachedDatabase.typeMapping.read( - DriftSqlType.string, - data['${effectivePrefix}data'], - )!, - ), - ); - } - - @override - $EquipmentsTable createAlias(String alias) { - return $EquipmentsTable(attachedDatabase, alias); - } - - static TypeConverter $converterdata = const EquipmentConverter(); -} - -class EquipmentTable extends DataClass implements Insertable { - final int id; - final Equipment data; - const EquipmentTable({required this.id, required this.data}); - @override - Map toColumns(bool nullToAbsent) { - final map = {}; - map['id'] = Variable(id); - { - map['data'] = Variable( - $EquipmentsTable.$converterdata.toSql(data), - ); - } - return map; - } - - EquipmentsCompanion toCompanion(bool nullToAbsent) { - return EquipmentsCompanion(id: Value(id), data: Value(data)); - } - - factory EquipmentTable.fromJson( - Map json, { - ValueSerializer? serializer, - }) { - serializer ??= driftRuntimeOptions.defaultSerializer; - return EquipmentTable( - id: serializer.fromJson(json['id']), - data: serializer.fromJson(json['data']), - ); - } - @override - Map toJson({ValueSerializer? serializer}) { - serializer ??= driftRuntimeOptions.defaultSerializer; - return { - 'id': serializer.toJson(id), - 'data': serializer.toJson(data), - }; - } - - EquipmentTable copyWith({int? id, Equipment? data}) => - EquipmentTable(id: id ?? this.id, data: data ?? this.data); - EquipmentTable copyWithCompanion(EquipmentsCompanion data) { - return EquipmentTable( - id: data.id.present ? data.id.value : this.id, - data: data.data.present ? data.data.value : this.data, - ); - } - - @override - String toString() { - return (StringBuffer('EquipmentTable(') - ..write('id: $id, ') - ..write('data: $data') - ..write(')')) - .toString(); - } - - @override - int get hashCode => Object.hash(id, data); - @override - bool operator ==(Object other) => - identical(this, other) || - (other is EquipmentTable && other.id == this.id && other.data == this.data); -} - -class EquipmentsCompanion extends UpdateCompanion { - final Value id; - final Value data; - final Value rowid; - const EquipmentsCompanion({ - this.id = const Value.absent(), - this.data = const Value.absent(), - this.rowid = const Value.absent(), - }); - EquipmentsCompanion.insert({ - required int id, - required Equipment data, - this.rowid = const Value.absent(), - }) : id = Value(id), - data = Value(data); - static Insertable custom({ - Expression? id, - Expression? data, - Expression? rowid, - }) { - return RawValuesInsertable({ - if (id != null) 'id': id, - if (data != null) 'data': data, - if (rowid != null) 'rowid': rowid, - }); - } - - EquipmentsCompanion copyWith({ - Value? id, - Value? data, - Value? rowid, - }) { - return EquipmentsCompanion( - id: id ?? this.id, - data: data ?? this.data, - rowid: rowid ?? this.rowid, - ); - } - - @override - Map toColumns(bool nullToAbsent) { - final map = {}; - if (id.present) { - map['id'] = Variable(id.value); - } - if (data.present) { - map['data'] = Variable( - $EquipmentsTable.$converterdata.toSql(data.value), - ); - } - if (rowid.present) { - map['rowid'] = Variable(rowid.value); - } - return map; - } - - @override - String toString() { - return (StringBuffer('EquipmentsCompanion(') - ..write('id: $id, ') - ..write('data: $data, ') - ..write('rowid: $rowid') - ..write(')')) - .toString(); - } -} - -class $CategoriesTable extends Categories with TableInfo<$CategoriesTable, CategoryTable> { - @override - final GeneratedDatabase attachedDatabase; - final String? _alias; - $CategoriesTable(this.attachedDatabase, [this._alias]); - static const VerificationMeta _idMeta = const VerificationMeta('id'); - @override - late final GeneratedColumn id = GeneratedColumn( - 'id', - aliasedName, - false, - type: DriftSqlType.int, - requiredDuringInsert: true, - ); - @override - late final GeneratedColumnWithTypeConverter data = - GeneratedColumn( - 'data', - aliasedName, - false, - type: DriftSqlType.string, - requiredDuringInsert: true, - ).withConverter($CategoriesTable.$converterdata); - @override - List get $columns => [id, data]; - @override - String get aliasedName => _alias ?? actualTableName; - @override - String get actualTableName => $name; - static const String $name = 'categories'; - @override - VerificationContext validateIntegrity( - Insertable instance, { - bool isInserting = false, - }) { - final context = VerificationContext(); - final data = instance.toColumns(true); - if (data.containsKey('id')) { - context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); - } else if (isInserting) { - context.missing(_idMeta); - } - return context; - } - - @override - Set get $primaryKey => const {}; - @override - CategoryTable map(Map data, {String? tablePrefix}) { - final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; - return CategoryTable( - id: attachedDatabase.typeMapping.read( - DriftSqlType.int, - data['${effectivePrefix}id'], - )!, - data: $CategoriesTable.$converterdata.fromSql( - attachedDatabase.typeMapping.read( - DriftSqlType.string, - data['${effectivePrefix}data'], - )!, - ), - ); - } - - @override - $CategoriesTable createAlias(String alias) { - return $CategoriesTable(attachedDatabase, alias); - } - - static TypeConverter $converterdata = const ExerciseCategoryConverter(); -} - -class CategoryTable extends DataClass implements Insertable { - final int id; - final ExerciseCategory data; - const CategoryTable({required this.id, required this.data}); - @override - Map toColumns(bool nullToAbsent) { - final map = {}; - map['id'] = Variable(id); - { - map['data'] = Variable( - $CategoriesTable.$converterdata.toSql(data), - ); - } - return map; - } - - CategoriesCompanion toCompanion(bool nullToAbsent) { - return CategoriesCompanion(id: Value(id), data: Value(data)); - } - - factory CategoryTable.fromJson( - Map json, { - ValueSerializer? serializer, - }) { - serializer ??= driftRuntimeOptions.defaultSerializer; - return CategoryTable( - id: serializer.fromJson(json['id']), - data: serializer.fromJson(json['data']), - ); - } - @override - Map toJson({ValueSerializer? serializer}) { - serializer ??= driftRuntimeOptions.defaultSerializer; - return { - 'id': serializer.toJson(id), - 'data': serializer.toJson(data), - }; - } - - CategoryTable copyWith({int? id, ExerciseCategory? data}) => - CategoryTable(id: id ?? this.id, data: data ?? this.data); - CategoryTable copyWithCompanion(CategoriesCompanion data) { - return CategoryTable( - id: data.id.present ? data.id.value : this.id, - data: data.data.present ? data.data.value : this.data, - ); - } - - @override - String toString() { - return (StringBuffer('CategoryTable(') - ..write('id: $id, ') - ..write('data: $data') - ..write(')')) - .toString(); - } - - @override - int get hashCode => Object.hash(id, data); - @override - bool operator ==(Object other) => - identical(this, other) || - (other is CategoryTable && other.id == this.id && other.data == this.data); -} - -class CategoriesCompanion extends UpdateCompanion { - final Value id; - final Value data; - final Value rowid; - const CategoriesCompanion({ - this.id = const Value.absent(), - this.data = const Value.absent(), - this.rowid = const Value.absent(), - }); - CategoriesCompanion.insert({ - required int id, - required ExerciseCategory data, - this.rowid = const Value.absent(), - }) : id = Value(id), - data = Value(data); - static Insertable custom({ - Expression? id, - Expression? data, - Expression? rowid, - }) { - return RawValuesInsertable({ - if (id != null) 'id': id, - if (data != null) 'data': data, - if (rowid != null) 'rowid': rowid, - }); - } - - CategoriesCompanion copyWith({ - Value? id, - Value? data, - Value? rowid, - }) { - return CategoriesCompanion( - id: id ?? this.id, - data: data ?? this.data, - rowid: rowid ?? this.rowid, - ); - } - - @override - Map toColumns(bool nullToAbsent) { - final map = {}; - if (id.present) { - map['id'] = Variable(id.value); - } - if (data.present) { - map['data'] = Variable( - $CategoriesTable.$converterdata.toSql(data.value), - ); - } - if (rowid.present) { - map['rowid'] = Variable(rowid.value); - } - return map; - } - - @override - String toString() { - return (StringBuffer('CategoriesCompanion(') - ..write('id: $id, ') - ..write('data: $data, ') - ..write('rowid: $rowid') - ..write(')')) - .toString(); - } -} - -class $LanguagesTable extends Languages with TableInfo<$LanguagesTable, LanguagesTable> { - @override - final GeneratedDatabase attachedDatabase; - final String? _alias; - $LanguagesTable(this.attachedDatabase, [this._alias]); - static const VerificationMeta _idMeta = const VerificationMeta('id'); - @override - late final GeneratedColumn id = GeneratedColumn( - 'id', - aliasedName, - false, - type: DriftSqlType.int, - requiredDuringInsert: true, - ); - @override - late final GeneratedColumnWithTypeConverter data = GeneratedColumn( - 'data', - aliasedName, - false, - type: DriftSqlType.string, - requiredDuringInsert: true, - ).withConverter($LanguagesTable.$converterdata); - @override - List get $columns => [id, data]; - @override - String get aliasedName => _alias ?? actualTableName; - @override - String get actualTableName => $name; - static const String $name = 'languages'; - @override - VerificationContext validateIntegrity( - Insertable instance, { - bool isInserting = false, - }) { - final context = VerificationContext(); - final data = instance.toColumns(true); - if (data.containsKey('id')) { - context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); - } else if (isInserting) { - context.missing(_idMeta); - } - return context; - } - - @override - Set get $primaryKey => const {}; - @override - LanguagesTable map(Map data, {String? tablePrefix}) { - final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; - return LanguagesTable( - id: attachedDatabase.typeMapping.read( - DriftSqlType.int, - data['${effectivePrefix}id'], - )!, - data: $LanguagesTable.$converterdata.fromSql( - attachedDatabase.typeMapping.read( - DriftSqlType.string, - data['${effectivePrefix}data'], - )!, - ), - ); - } - - @override - $LanguagesTable createAlias(String alias) { - return $LanguagesTable(attachedDatabase, alias); - } - - static TypeConverter $converterdata = const LanguageConverter(); -} - -class LanguagesTable extends DataClass implements Insertable { - final int id; - final Language data; - const LanguagesTable({required this.id, required this.data}); - @override - Map toColumns(bool nullToAbsent) { - final map = {}; - map['id'] = Variable(id); - { - map['data'] = Variable( - $LanguagesTable.$converterdata.toSql(data), - ); - } - return map; - } - - LanguagesCompanion toCompanion(bool nullToAbsent) { - return LanguagesCompanion(id: Value(id), data: Value(data)); - } - - factory LanguagesTable.fromJson( - Map json, { - ValueSerializer? serializer, - }) { - serializer ??= driftRuntimeOptions.defaultSerializer; - return LanguagesTable( - id: serializer.fromJson(json['id']), - data: serializer.fromJson(json['data']), - ); - } - @override - Map toJson({ValueSerializer? serializer}) { - serializer ??= driftRuntimeOptions.defaultSerializer; - return { - 'id': serializer.toJson(id), - 'data': serializer.toJson(data), - }; - } - - LanguagesTable copyWith({int? id, Language? data}) => - LanguagesTable(id: id ?? this.id, data: data ?? this.data); - LanguagesTable copyWithCompanion(LanguagesCompanion data) { - return LanguagesTable( - id: data.id.present ? data.id.value : this.id, - data: data.data.present ? data.data.value : this.data, - ); - } - - @override - String toString() { - return (StringBuffer('LanguagesTable(') - ..write('id: $id, ') - ..write('data: $data') - ..write(')')) - .toString(); - } - - @override - int get hashCode => Object.hash(id, data); - @override - bool operator ==(Object other) => - identical(this, other) || - (other is LanguagesTable && other.id == this.id && other.data == this.data); -} - -class LanguagesCompanion extends UpdateCompanion { - final Value id; - final Value data; - final Value rowid; - const LanguagesCompanion({ - this.id = const Value.absent(), - this.data = const Value.absent(), - this.rowid = const Value.absent(), - }); - LanguagesCompanion.insert({ - required int id, - required Language data, - this.rowid = const Value.absent(), - }) : id = Value(id), - data = Value(data); - static Insertable custom({ - Expression? id, - Expression? data, - Expression? rowid, - }) { - return RawValuesInsertable({ - if (id != null) 'id': id, - if (data != null) 'data': data, - if (rowid != null) 'rowid': rowid, - }); - } - - LanguagesCompanion copyWith({ - Value? id, - Value? data, - Value? rowid, - }) { - return LanguagesCompanion( - id: id ?? this.id, - data: data ?? this.data, - rowid: rowid ?? this.rowid, - ); - } - - @override - Map toColumns(bool nullToAbsent) { - final map = {}; - if (id.present) { - map['id'] = Variable(id.value); - } - if (data.present) { - map['data'] = Variable( - $LanguagesTable.$converterdata.toSql(data.value), - ); - } - if (rowid.present) { - map['rowid'] = Variable(rowid.value); - } - return map; - } - - @override - String toString() { - return (StringBuffer('LanguagesCompanion(') - ..write('id: $id, ') - ..write('data: $data, ') - ..write('rowid: $rowid') - ..write(')')) - .toString(); - } -} - -abstract class _$ExerciseDatabase extends GeneratedDatabase { - _$ExerciseDatabase(QueryExecutor e) : super(e); - $ExerciseDatabaseManager get managers => $ExerciseDatabaseManager(this); - late final $ExercisesTable exercises = $ExercisesTable(this); - late final $MusclesTable muscles = $MusclesTable(this); - late final $EquipmentsTable equipments = $EquipmentsTable(this); - late final $CategoriesTable categories = $CategoriesTable(this); - late final $LanguagesTable languages = $LanguagesTable(this); - @override - Iterable> get allTables => - allSchemaEntities.whereType>(); - @override - List get allSchemaEntities => [ - exercises, - muscles, - equipments, - categories, - languages, - ]; -} - -typedef $$ExercisesTableCreateCompanionBuilder = - ExercisesCompanion Function({ - required int id, - required String data, - required DateTime lastUpdate, - required DateTime lastFetched, - Value rowid, - }); -typedef $$ExercisesTableUpdateCompanionBuilder = - ExercisesCompanion Function({ - Value id, - Value data, - Value lastUpdate, - Value lastFetched, - Value rowid, - }); - -class $$ExercisesTableFilterComposer extends Composer<_$ExerciseDatabase, $ExercisesTable> { - $$ExercisesTableFilterComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - ColumnFilters get id => $composableBuilder( - column: $table.id, - builder: (column) => ColumnFilters(column), - ); - - ColumnFilters get data => $composableBuilder( - column: $table.data, - builder: (column) => ColumnFilters(column), - ); - - ColumnFilters get lastUpdate => $composableBuilder( - column: $table.lastUpdate, - builder: (column) => ColumnFilters(column), - ); - - ColumnFilters get lastFetched => $composableBuilder( - column: $table.lastFetched, - builder: (column) => ColumnFilters(column), - ); -} - -class $$ExercisesTableOrderingComposer extends Composer<_$ExerciseDatabase, $ExercisesTable> { - $$ExercisesTableOrderingComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - ColumnOrderings get id => $composableBuilder( - column: $table.id, - builder: (column) => ColumnOrderings(column), - ); - - ColumnOrderings get data => $composableBuilder( - column: $table.data, - builder: (column) => ColumnOrderings(column), - ); - - ColumnOrderings get lastUpdate => $composableBuilder( - column: $table.lastUpdate, - builder: (column) => ColumnOrderings(column), - ); - - ColumnOrderings get lastFetched => $composableBuilder( - column: $table.lastFetched, - builder: (column) => ColumnOrderings(column), - ); -} - -class $$ExercisesTableAnnotationComposer extends Composer<_$ExerciseDatabase, $ExercisesTable> { - $$ExercisesTableAnnotationComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - GeneratedColumn get id => $composableBuilder(column: $table.id, builder: (column) => column); - - GeneratedColumn get data => - $composableBuilder(column: $table.data, builder: (column) => column); - - GeneratedColumn get lastUpdate => $composableBuilder( - column: $table.lastUpdate, - builder: (column) => column, - ); - - GeneratedColumn get lastFetched => $composableBuilder( - column: $table.lastFetched, - builder: (column) => column, - ); -} - -class $$ExercisesTableTableManager - extends - RootTableManager< - _$ExerciseDatabase, - $ExercisesTable, - ExerciseTable, - $$ExercisesTableFilterComposer, - $$ExercisesTableOrderingComposer, - $$ExercisesTableAnnotationComposer, - $$ExercisesTableCreateCompanionBuilder, - $$ExercisesTableUpdateCompanionBuilder, - ( - ExerciseTable, - BaseReferences<_$ExerciseDatabase, $ExercisesTable, ExerciseTable>, - ), - ExerciseTable, - PrefetchHooks Function() - > { - $$ExercisesTableTableManager(_$ExerciseDatabase db, $ExercisesTable table) - : super( - TableManagerState( - db: db, - table: table, - createFilteringComposer: () => $$ExercisesTableFilterComposer($db: db, $table: table), - createOrderingComposer: () => $$ExercisesTableOrderingComposer($db: db, $table: table), - createComputedFieldComposer: () => - $$ExercisesTableAnnotationComposer($db: db, $table: table), - updateCompanionCallback: - ({ - Value id = const Value.absent(), - Value data = const Value.absent(), - Value lastUpdate = const Value.absent(), - Value lastFetched = const Value.absent(), - Value rowid = const Value.absent(), - }) => ExercisesCompanion( - id: id, - data: data, - lastUpdate: lastUpdate, - lastFetched: lastFetched, - rowid: rowid, - ), - createCompanionCallback: - ({ - required int id, - required String data, - required DateTime lastUpdate, - required DateTime lastFetched, - Value rowid = const Value.absent(), - }) => ExercisesCompanion.insert( - id: id, - data: data, - lastUpdate: lastUpdate, - lastFetched: lastFetched, - rowid: rowid, - ), - withReferenceMapper: (p0) => - p0.map((e) => (e.readTable(table), BaseReferences(db, table, e))).toList(), - prefetchHooksCallback: null, - ), - ); -} - -typedef $$ExercisesTableProcessedTableManager = - ProcessedTableManager< - _$ExerciseDatabase, - $ExercisesTable, - ExerciseTable, - $$ExercisesTableFilterComposer, - $$ExercisesTableOrderingComposer, - $$ExercisesTableAnnotationComposer, - $$ExercisesTableCreateCompanionBuilder, - $$ExercisesTableUpdateCompanionBuilder, - ( - ExerciseTable, - BaseReferences<_$ExerciseDatabase, $ExercisesTable, ExerciseTable>, - ), - ExerciseTable, - PrefetchHooks Function() - >; -typedef $$MusclesTableCreateCompanionBuilder = - MusclesCompanion Function({ - required int id, - required Muscle data, - Value rowid, - }); -typedef $$MusclesTableUpdateCompanionBuilder = - MusclesCompanion Function({ - Value id, - Value data, - Value rowid, - }); - -class $$MusclesTableFilterComposer extends Composer<_$ExerciseDatabase, $MusclesTable> { - $$MusclesTableFilterComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - ColumnFilters get id => $composableBuilder( - column: $table.id, - builder: (column) => ColumnFilters(column), - ); - - ColumnWithTypeConverterFilters get data => $composableBuilder( - column: $table.data, - builder: (column) => ColumnWithTypeConverterFilters(column), - ); -} - -class $$MusclesTableOrderingComposer extends Composer<_$ExerciseDatabase, $MusclesTable> { - $$MusclesTableOrderingComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - ColumnOrderings get id => $composableBuilder( - column: $table.id, - builder: (column) => ColumnOrderings(column), - ); - - ColumnOrderings get data => $composableBuilder( - column: $table.data, - builder: (column) => ColumnOrderings(column), - ); -} - -class $$MusclesTableAnnotationComposer extends Composer<_$ExerciseDatabase, $MusclesTable> { - $$MusclesTableAnnotationComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - GeneratedColumn get id => $composableBuilder(column: $table.id, builder: (column) => column); - - GeneratedColumnWithTypeConverter get data => - $composableBuilder(column: $table.data, builder: (column) => column); -} - -class $$MusclesTableTableManager - extends - RootTableManager< - _$ExerciseDatabase, - $MusclesTable, - MuscleTable, - $$MusclesTableFilterComposer, - $$MusclesTableOrderingComposer, - $$MusclesTableAnnotationComposer, - $$MusclesTableCreateCompanionBuilder, - $$MusclesTableUpdateCompanionBuilder, - ( - MuscleTable, - BaseReferences<_$ExerciseDatabase, $MusclesTable, MuscleTable>, - ), - MuscleTable, - PrefetchHooks Function() - > { - $$MusclesTableTableManager(_$ExerciseDatabase db, $MusclesTable table) - : super( - TableManagerState( - db: db, - table: table, - createFilteringComposer: () => $$MusclesTableFilterComposer($db: db, $table: table), - createOrderingComposer: () => $$MusclesTableOrderingComposer($db: db, $table: table), - createComputedFieldComposer: () => - $$MusclesTableAnnotationComposer($db: db, $table: table), - updateCompanionCallback: - ({ - Value id = const Value.absent(), - Value data = const Value.absent(), - Value rowid = const Value.absent(), - }) => MusclesCompanion(id: id, data: data, rowid: rowid), - createCompanionCallback: - ({ - required int id, - required Muscle data, - Value rowid = const Value.absent(), - }) => MusclesCompanion.insert(id: id, data: data, rowid: rowid), - withReferenceMapper: (p0) => - p0.map((e) => (e.readTable(table), BaseReferences(db, table, e))).toList(), - prefetchHooksCallback: null, - ), - ); -} - -typedef $$MusclesTableProcessedTableManager = - ProcessedTableManager< - _$ExerciseDatabase, - $MusclesTable, - MuscleTable, - $$MusclesTableFilterComposer, - $$MusclesTableOrderingComposer, - $$MusclesTableAnnotationComposer, - $$MusclesTableCreateCompanionBuilder, - $$MusclesTableUpdateCompanionBuilder, - ( - MuscleTable, - BaseReferences<_$ExerciseDatabase, $MusclesTable, MuscleTable>, - ), - MuscleTable, - PrefetchHooks Function() - >; -typedef $$EquipmentsTableCreateCompanionBuilder = - EquipmentsCompanion Function({ - required int id, - required Equipment data, - Value rowid, - }); -typedef $$EquipmentsTableUpdateCompanionBuilder = - EquipmentsCompanion Function({ - Value id, - Value data, - Value rowid, - }); - -class $$EquipmentsTableFilterComposer extends Composer<_$ExerciseDatabase, $EquipmentsTable> { - $$EquipmentsTableFilterComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - ColumnFilters get id => $composableBuilder( - column: $table.id, - builder: (column) => ColumnFilters(column), - ); - - ColumnWithTypeConverterFilters get data => $composableBuilder( - column: $table.data, - builder: (column) => ColumnWithTypeConverterFilters(column), - ); -} - -class $$EquipmentsTableOrderingComposer extends Composer<_$ExerciseDatabase, $EquipmentsTable> { - $$EquipmentsTableOrderingComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - ColumnOrderings get id => $composableBuilder( - column: $table.id, - builder: (column) => ColumnOrderings(column), - ); - - ColumnOrderings get data => $composableBuilder( - column: $table.data, - builder: (column) => ColumnOrderings(column), - ); -} - -class $$EquipmentsTableAnnotationComposer extends Composer<_$ExerciseDatabase, $EquipmentsTable> { - $$EquipmentsTableAnnotationComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - GeneratedColumn get id => $composableBuilder(column: $table.id, builder: (column) => column); - - GeneratedColumnWithTypeConverter get data => - $composableBuilder(column: $table.data, builder: (column) => column); -} - -class $$EquipmentsTableTableManager - extends - RootTableManager< - _$ExerciseDatabase, - $EquipmentsTable, - EquipmentTable, - $$EquipmentsTableFilterComposer, - $$EquipmentsTableOrderingComposer, - $$EquipmentsTableAnnotationComposer, - $$EquipmentsTableCreateCompanionBuilder, - $$EquipmentsTableUpdateCompanionBuilder, - ( - EquipmentTable, - BaseReferences<_$ExerciseDatabase, $EquipmentsTable, EquipmentTable>, - ), - EquipmentTable, - PrefetchHooks Function() - > { - $$EquipmentsTableTableManager(_$ExerciseDatabase db, $EquipmentsTable table) - : super( - TableManagerState( - db: db, - table: table, - createFilteringComposer: () => $$EquipmentsTableFilterComposer($db: db, $table: table), - createOrderingComposer: () => $$EquipmentsTableOrderingComposer($db: db, $table: table), - createComputedFieldComposer: () => - $$EquipmentsTableAnnotationComposer($db: db, $table: table), - updateCompanionCallback: - ({ - Value id = const Value.absent(), - Value data = const Value.absent(), - Value rowid = const Value.absent(), - }) => EquipmentsCompanion(id: id, data: data, rowid: rowid), - createCompanionCallback: - ({ - required int id, - required Equipment data, - Value rowid = const Value.absent(), - }) => EquipmentsCompanion.insert(id: id, data: data, rowid: rowid), - withReferenceMapper: (p0) => - p0.map((e) => (e.readTable(table), BaseReferences(db, table, e))).toList(), - prefetchHooksCallback: null, - ), - ); -} - -typedef $$EquipmentsTableProcessedTableManager = - ProcessedTableManager< - _$ExerciseDatabase, - $EquipmentsTable, - EquipmentTable, - $$EquipmentsTableFilterComposer, - $$EquipmentsTableOrderingComposer, - $$EquipmentsTableAnnotationComposer, - $$EquipmentsTableCreateCompanionBuilder, - $$EquipmentsTableUpdateCompanionBuilder, - ( - EquipmentTable, - BaseReferences<_$ExerciseDatabase, $EquipmentsTable, EquipmentTable>, - ), - EquipmentTable, - PrefetchHooks Function() - >; -typedef $$CategoriesTableCreateCompanionBuilder = - CategoriesCompanion Function({ - required int id, - required ExerciseCategory data, - Value rowid, - }); -typedef $$CategoriesTableUpdateCompanionBuilder = - CategoriesCompanion Function({ - Value id, - Value data, - Value rowid, - }); - -class $$CategoriesTableFilterComposer extends Composer<_$ExerciseDatabase, $CategoriesTable> { - $$CategoriesTableFilterComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - ColumnFilters get id => $composableBuilder( - column: $table.id, - builder: (column) => ColumnFilters(column), - ); - - ColumnWithTypeConverterFilters get data => - $composableBuilder( - column: $table.data, - builder: (column) => ColumnWithTypeConverterFilters(column), - ); -} - -class $$CategoriesTableOrderingComposer extends Composer<_$ExerciseDatabase, $CategoriesTable> { - $$CategoriesTableOrderingComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - ColumnOrderings get id => $composableBuilder( - column: $table.id, - builder: (column) => ColumnOrderings(column), - ); - - ColumnOrderings get data => $composableBuilder( - column: $table.data, - builder: (column) => ColumnOrderings(column), - ); -} - -class $$CategoriesTableAnnotationComposer extends Composer<_$ExerciseDatabase, $CategoriesTable> { - $$CategoriesTableAnnotationComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - GeneratedColumn get id => $composableBuilder(column: $table.id, builder: (column) => column); - - GeneratedColumnWithTypeConverter get data => - $composableBuilder(column: $table.data, builder: (column) => column); -} - -class $$CategoriesTableTableManager - extends - RootTableManager< - _$ExerciseDatabase, - $CategoriesTable, - CategoryTable, - $$CategoriesTableFilterComposer, - $$CategoriesTableOrderingComposer, - $$CategoriesTableAnnotationComposer, - $$CategoriesTableCreateCompanionBuilder, - $$CategoriesTableUpdateCompanionBuilder, - ( - CategoryTable, - BaseReferences<_$ExerciseDatabase, $CategoriesTable, CategoryTable>, - ), - CategoryTable, - PrefetchHooks Function() - > { - $$CategoriesTableTableManager(_$ExerciseDatabase db, $CategoriesTable table) - : super( - TableManagerState( - db: db, - table: table, - createFilteringComposer: () => $$CategoriesTableFilterComposer($db: db, $table: table), - createOrderingComposer: () => $$CategoriesTableOrderingComposer($db: db, $table: table), - createComputedFieldComposer: () => - $$CategoriesTableAnnotationComposer($db: db, $table: table), - updateCompanionCallback: - ({ - Value id = const Value.absent(), - Value data = const Value.absent(), - Value rowid = const Value.absent(), - }) => CategoriesCompanion(id: id, data: data, rowid: rowid), - createCompanionCallback: - ({ - required int id, - required ExerciseCategory data, - Value rowid = const Value.absent(), - }) => CategoriesCompanion.insert(id: id, data: data, rowid: rowid), - withReferenceMapper: (p0) => - p0.map((e) => (e.readTable(table), BaseReferences(db, table, e))).toList(), - prefetchHooksCallback: null, - ), - ); -} - -typedef $$CategoriesTableProcessedTableManager = - ProcessedTableManager< - _$ExerciseDatabase, - $CategoriesTable, - CategoryTable, - $$CategoriesTableFilterComposer, - $$CategoriesTableOrderingComposer, - $$CategoriesTableAnnotationComposer, - $$CategoriesTableCreateCompanionBuilder, - $$CategoriesTableUpdateCompanionBuilder, - ( - CategoryTable, - BaseReferences<_$ExerciseDatabase, $CategoriesTable, CategoryTable>, - ), - CategoryTable, - PrefetchHooks Function() - >; -typedef $$LanguagesTableCreateCompanionBuilder = - LanguagesCompanion Function({ - required int id, - required Language data, - Value rowid, - }); -typedef $$LanguagesTableUpdateCompanionBuilder = - LanguagesCompanion Function({ - Value id, - Value data, - Value rowid, - }); - -class $$LanguagesTableFilterComposer extends Composer<_$ExerciseDatabase, $LanguagesTable> { - $$LanguagesTableFilterComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - ColumnFilters get id => $composableBuilder( - column: $table.id, - builder: (column) => ColumnFilters(column), - ); - - ColumnWithTypeConverterFilters get data => $composableBuilder( - column: $table.data, - builder: (column) => ColumnWithTypeConverterFilters(column), - ); -} - -class $$LanguagesTableOrderingComposer extends Composer<_$ExerciseDatabase, $LanguagesTable> { - $$LanguagesTableOrderingComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - ColumnOrderings get id => $composableBuilder( - column: $table.id, - builder: (column) => ColumnOrderings(column), - ); - - ColumnOrderings get data => $composableBuilder( - column: $table.data, - builder: (column) => ColumnOrderings(column), - ); -} - -class $$LanguagesTableAnnotationComposer extends Composer<_$ExerciseDatabase, $LanguagesTable> { - $$LanguagesTableAnnotationComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - GeneratedColumn get id => $composableBuilder(column: $table.id, builder: (column) => column); - - GeneratedColumnWithTypeConverter get data => - $composableBuilder(column: $table.data, builder: (column) => column); -} - -class $$LanguagesTableTableManager - extends - RootTableManager< - _$ExerciseDatabase, - $LanguagesTable, - LanguagesTable, - $$LanguagesTableFilterComposer, - $$LanguagesTableOrderingComposer, - $$LanguagesTableAnnotationComposer, - $$LanguagesTableCreateCompanionBuilder, - $$LanguagesTableUpdateCompanionBuilder, - ( - LanguagesTable, - BaseReferences<_$ExerciseDatabase, $LanguagesTable, LanguagesTable>, - ), - LanguagesTable, - PrefetchHooks Function() - > { - $$LanguagesTableTableManager(_$ExerciseDatabase db, $LanguagesTable table) - : super( - TableManagerState( - db: db, - table: table, - createFilteringComposer: () => $$LanguagesTableFilterComposer($db: db, $table: table), - createOrderingComposer: () => $$LanguagesTableOrderingComposer($db: db, $table: table), - createComputedFieldComposer: () => - $$LanguagesTableAnnotationComposer($db: db, $table: table), - updateCompanionCallback: - ({ - Value id = const Value.absent(), - Value data = const Value.absent(), - Value rowid = const Value.absent(), - }) => LanguagesCompanion(id: id, data: data, rowid: rowid), - createCompanionCallback: - ({ - required int id, - required Language data, - Value rowid = const Value.absent(), - }) => LanguagesCompanion.insert(id: id, data: data, rowid: rowid), - withReferenceMapper: (p0) => - p0.map((e) => (e.readTable(table), BaseReferences(db, table, e))).toList(), - prefetchHooksCallback: null, - ), - ); -} - -typedef $$LanguagesTableProcessedTableManager = - ProcessedTableManager< - _$ExerciseDatabase, - $LanguagesTable, - LanguagesTable, - $$LanguagesTableFilterComposer, - $$LanguagesTableOrderingComposer, - $$LanguagesTableAnnotationComposer, - $$LanguagesTableCreateCompanionBuilder, - $$LanguagesTableUpdateCompanionBuilder, - ( - LanguagesTable, - BaseReferences<_$ExerciseDatabase, $LanguagesTable, LanguagesTable>, - ), - LanguagesTable, - PrefetchHooks Function() - >; - -class $ExerciseDatabaseManager { - final _$ExerciseDatabase _db; - $ExerciseDatabaseManager(this._db); - $$ExercisesTableTableManager get exercises => $$ExercisesTableTableManager(_db, _db.exercises); - $$MusclesTableTableManager get muscles => $$MusclesTableTableManager(_db, _db.muscles); - $$EquipmentsTableTableManager get equipments => - $$EquipmentsTableTableManager(_db, _db.equipments); - $$CategoriesTableTableManager get categories => - $$CategoriesTableTableManager(_db, _db.categories); - $$LanguagesTableTableManager get languages => $$LanguagesTableTableManager(_db, _db.languages); -} diff --git a/lib/database/exercises/type_converters.dart b/lib/database/exercises/type_converters.dart deleted file mode 100644 index 755a628b6..000000000 --- a/lib/database/exercises/type_converters.dart +++ /dev/null @@ -1,63 +0,0 @@ -import 'dart:convert'; - -import 'package:drift/drift.dart'; -import 'package:wger/models/exercises/category.dart'; -import 'package:wger/models/exercises/equipment.dart'; -import 'package:wger/models/exercises/language.dart'; -import 'package:wger/models/exercises/muscle.dart'; - -class MuscleConverter extends TypeConverter { - const MuscleConverter(); - - @override - Muscle fromSql(String fromDb) { - return Muscle.fromJson(json.decode(fromDb) as Map); - } - - @override - String toSql(Muscle value) { - return json.encode(value.toJson()); - } -} - -class EquipmentConverter extends TypeConverter { - const EquipmentConverter(); - - @override - Equipment fromSql(String fromDb) { - return Equipment.fromJson(json.decode(fromDb) as Map); - } - - @override - String toSql(Equipment value) { - return json.encode(value.toJson()); - } -} - -class ExerciseCategoryConverter extends TypeConverter { - const ExerciseCategoryConverter(); - - @override - ExerciseCategory fromSql(String fromDb) { - return ExerciseCategory.fromJson(json.decode(fromDb) as Map); - } - - @override - String toSql(ExerciseCategory value) { - return json.encode(value.toJson()); - } -} - -class LanguageConverter extends TypeConverter { - const LanguageConverter(); - - @override - Language fromSql(String fromDb) { - return Language.fromJson(json.decode(fromDb) as Map); - } - - @override - String toSql(Language value) { - return json.encode(value.toJson()); - } -} diff --git a/lib/database/ingredients/ingredients_database.dart b/lib/database/ingredients/ingredients_database.dart deleted file mode 100644 index 0f325e62e..000000000 --- a/lib/database/ingredients/ingredients_database.dart +++ /dev/null @@ -1,64 +0,0 @@ -import 'package:drift/drift.dart'; -import 'package:drift_flutter/drift_flutter.dart'; -import 'package:logging/logging.dart'; - -part 'ingredients_database.g.dart'; - -@DataClassName('IngredientTable') -class Ingredients extends Table { - const Ingredients(); - - IntColumn get id => integer()(); - - TextColumn get data => text()(); - - /// The date when the ingredient was last fetched from the server - DateTimeColumn get lastFetched => dateTime()(); -} - -@DriftDatabase(tables: [Ingredients]) -class IngredientDatabase extends _$IngredientDatabase { - final _logger = Logger('IngredientDatabase'); - - IngredientDatabase() : super(_openConnection()); - - // Named constructor for creating in-memory database - IngredientDatabase.inMemory(super.e); - - /// Note that this needs to be bumped if the JSON response from the server changes - @override - int get schemaVersion => 2; - - /// There is not really a migration strategy. If we bump the version - /// number, delete everything and recreate the new tables. The nutrition provider - /// will fetch everything as needed from the server - @override - MigrationStrategy get migration => MigrationStrategy( - onUpgrade: (m, from, to) async { - // no-op, but needs to be defined - return; - }, - beforeOpen: (openingDetails) async { - if (openingDetails.hadUpgrade) { - final m = createMigrator(); - for (final table in allTables) { - await m.deleteTable(table.actualTableName); - await m.createTable(table); - } - } - }, - ); - - Future deleteEverything() { - return transaction(() async { - for (final table in allTables) { - _logger.info('Deleting db cache table ${table.actualTableName}'); - await delete(table).go(); - } - }); - } -} - -QueryExecutor _openConnection() { - return driftDatabase(name: 'ingredients'); -} diff --git a/lib/database/ingredients/ingredients_database.g.dart b/lib/database/ingredients/ingredients_database.g.dart deleted file mode 100644 index 44ebcde20..000000000 --- a/lib/database/ingredients/ingredients_database.g.dart +++ /dev/null @@ -1,445 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -part of 'ingredients_database.dart'; - -// ignore_for_file: type=lint -class $IngredientsTable extends Ingredients with TableInfo<$IngredientsTable, IngredientTable> { - @override - final GeneratedDatabase attachedDatabase; - final String? _alias; - $IngredientsTable(this.attachedDatabase, [this._alias]); - static const VerificationMeta _idMeta = const VerificationMeta('id'); - @override - late final GeneratedColumn id = GeneratedColumn( - 'id', - aliasedName, - false, - type: DriftSqlType.int, - requiredDuringInsert: true, - ); - static const VerificationMeta _dataMeta = const VerificationMeta('data'); - @override - late final GeneratedColumn data = GeneratedColumn( - 'data', - aliasedName, - false, - type: DriftSqlType.string, - requiredDuringInsert: true, - ); - static const VerificationMeta _lastFetchedMeta = const VerificationMeta( - 'lastFetched', - ); - @override - late final GeneratedColumn lastFetched = GeneratedColumn( - 'last_fetched', - aliasedName, - false, - type: DriftSqlType.dateTime, - requiredDuringInsert: true, - ); - @override - List get $columns => [id, data, lastFetched]; - @override - String get aliasedName => _alias ?? actualTableName; - @override - String get actualTableName => $name; - static const String $name = 'ingredients'; - @override - VerificationContext validateIntegrity( - Insertable instance, { - bool isInserting = false, - }) { - final context = VerificationContext(); - final data = instance.toColumns(true); - if (data.containsKey('id')) { - context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); - } else if (isInserting) { - context.missing(_idMeta); - } - if (data.containsKey('data')) { - context.handle( - _dataMeta, - this.data.isAcceptableOrUnknown(data['data']!, _dataMeta), - ); - } else if (isInserting) { - context.missing(_dataMeta); - } - if (data.containsKey('last_fetched')) { - context.handle( - _lastFetchedMeta, - lastFetched.isAcceptableOrUnknown( - data['last_fetched']!, - _lastFetchedMeta, - ), - ); - } else if (isInserting) { - context.missing(_lastFetchedMeta); - } - return context; - } - - @override - Set get $primaryKey => const {}; - @override - IngredientTable map(Map data, {String? tablePrefix}) { - final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; - return IngredientTable( - id: attachedDatabase.typeMapping.read( - DriftSqlType.int, - data['${effectivePrefix}id'], - )!, - data: attachedDatabase.typeMapping.read( - DriftSqlType.string, - data['${effectivePrefix}data'], - )!, - lastFetched: attachedDatabase.typeMapping.read( - DriftSqlType.dateTime, - data['${effectivePrefix}last_fetched'], - )!, - ); - } - - @override - $IngredientsTable createAlias(String alias) { - return $IngredientsTable(attachedDatabase, alias); - } -} - -class IngredientTable extends DataClass implements Insertable { - final int id; - final String data; - - /// The date when the ingredient was last fetched from the server - final DateTime lastFetched; - const IngredientTable({ - required this.id, - required this.data, - required this.lastFetched, - }); - @override - Map toColumns(bool nullToAbsent) { - final map = {}; - map['id'] = Variable(id); - map['data'] = Variable(data); - map['last_fetched'] = Variable(lastFetched); - return map; - } - - IngredientsCompanion toCompanion(bool nullToAbsent) { - return IngredientsCompanion( - id: Value(id), - data: Value(data), - lastFetched: Value(lastFetched), - ); - } - - factory IngredientTable.fromJson( - Map json, { - ValueSerializer? serializer, - }) { - serializer ??= driftRuntimeOptions.defaultSerializer; - return IngredientTable( - id: serializer.fromJson(json['id']), - data: serializer.fromJson(json['data']), - lastFetched: serializer.fromJson(json['lastFetched']), - ); - } - @override - Map toJson({ValueSerializer? serializer}) { - serializer ??= driftRuntimeOptions.defaultSerializer; - return { - 'id': serializer.toJson(id), - 'data': serializer.toJson(data), - 'lastFetched': serializer.toJson(lastFetched), - }; - } - - IngredientTable copyWith({int? id, String? data, DateTime? lastFetched}) => IngredientTable( - id: id ?? this.id, - data: data ?? this.data, - lastFetched: lastFetched ?? this.lastFetched, - ); - IngredientTable copyWithCompanion(IngredientsCompanion data) { - return IngredientTable( - id: data.id.present ? data.id.value : this.id, - data: data.data.present ? data.data.value : this.data, - lastFetched: data.lastFetched.present ? data.lastFetched.value : this.lastFetched, - ); - } - - @override - String toString() { - return (StringBuffer('IngredientTable(') - ..write('id: $id, ') - ..write('data: $data, ') - ..write('lastFetched: $lastFetched') - ..write(')')) - .toString(); - } - - @override - int get hashCode => Object.hash(id, data, lastFetched); - @override - bool operator ==(Object other) => - identical(this, other) || - (other is IngredientTable && - other.id == this.id && - other.data == this.data && - other.lastFetched == this.lastFetched); -} - -class IngredientsCompanion extends UpdateCompanion { - final Value id; - final Value data; - final Value lastFetched; - final Value rowid; - const IngredientsCompanion({ - this.id = const Value.absent(), - this.data = const Value.absent(), - this.lastFetched = const Value.absent(), - this.rowid = const Value.absent(), - }); - IngredientsCompanion.insert({ - required int id, - required String data, - required DateTime lastFetched, - this.rowid = const Value.absent(), - }) : id = Value(id), - data = Value(data), - lastFetched = Value(lastFetched); - static Insertable custom({ - Expression? id, - Expression? data, - Expression? lastFetched, - Expression? rowid, - }) { - return RawValuesInsertable({ - if (id != null) 'id': id, - if (data != null) 'data': data, - if (lastFetched != null) 'last_fetched': lastFetched, - if (rowid != null) 'rowid': rowid, - }); - } - - IngredientsCompanion copyWith({ - Value? id, - Value? data, - Value? lastFetched, - Value? rowid, - }) { - return IngredientsCompanion( - id: id ?? this.id, - data: data ?? this.data, - lastFetched: lastFetched ?? this.lastFetched, - rowid: rowid ?? this.rowid, - ); - } - - @override - Map toColumns(bool nullToAbsent) { - final map = {}; - if (id.present) { - map['id'] = Variable(id.value); - } - if (data.present) { - map['data'] = Variable(data.value); - } - if (lastFetched.present) { - map['last_fetched'] = Variable(lastFetched.value); - } - if (rowid.present) { - map['rowid'] = Variable(rowid.value); - } - return map; - } - - @override - String toString() { - return (StringBuffer('IngredientsCompanion(') - ..write('id: $id, ') - ..write('data: $data, ') - ..write('lastFetched: $lastFetched, ') - ..write('rowid: $rowid') - ..write(')')) - .toString(); - } -} - -abstract class _$IngredientDatabase extends GeneratedDatabase { - _$IngredientDatabase(QueryExecutor e) : super(e); - $IngredientDatabaseManager get managers => $IngredientDatabaseManager(this); - late final $IngredientsTable ingredients = $IngredientsTable(this); - @override - Iterable> get allTables => - allSchemaEntities.whereType>(); - @override - List get allSchemaEntities => [ingredients]; -} - -typedef $$IngredientsTableCreateCompanionBuilder = - IngredientsCompanion Function({ - required int id, - required String data, - required DateTime lastFetched, - Value rowid, - }); -typedef $$IngredientsTableUpdateCompanionBuilder = - IngredientsCompanion Function({ - Value id, - Value data, - Value lastFetched, - Value rowid, - }); - -class $$IngredientsTableFilterComposer extends Composer<_$IngredientDatabase, $IngredientsTable> { - $$IngredientsTableFilterComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - ColumnFilters get id => $composableBuilder( - column: $table.id, - builder: (column) => ColumnFilters(column), - ); - - ColumnFilters get data => $composableBuilder( - column: $table.data, - builder: (column) => ColumnFilters(column), - ); - - ColumnFilters get lastFetched => $composableBuilder( - column: $table.lastFetched, - builder: (column) => ColumnFilters(column), - ); -} - -class $$IngredientsTableOrderingComposer extends Composer<_$IngredientDatabase, $IngredientsTable> { - $$IngredientsTableOrderingComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - ColumnOrderings get id => $composableBuilder( - column: $table.id, - builder: (column) => ColumnOrderings(column), - ); - - ColumnOrderings get data => $composableBuilder( - column: $table.data, - builder: (column) => ColumnOrderings(column), - ); - - ColumnOrderings get lastFetched => $composableBuilder( - column: $table.lastFetched, - builder: (column) => ColumnOrderings(column), - ); -} - -class $$IngredientsTableAnnotationComposer - extends Composer<_$IngredientDatabase, $IngredientsTable> { - $$IngredientsTableAnnotationComposer({ - required super.$db, - required super.$table, - super.joinBuilder, - super.$addJoinBuilderToRootComposer, - super.$removeJoinBuilderFromRootComposer, - }); - GeneratedColumn get id => $composableBuilder(column: $table.id, builder: (column) => column); - - GeneratedColumn get data => - $composableBuilder(column: $table.data, builder: (column) => column); - - GeneratedColumn get lastFetched => $composableBuilder( - column: $table.lastFetched, - builder: (column) => column, - ); -} - -class $$IngredientsTableTableManager - extends - RootTableManager< - _$IngredientDatabase, - $IngredientsTable, - IngredientTable, - $$IngredientsTableFilterComposer, - $$IngredientsTableOrderingComposer, - $$IngredientsTableAnnotationComposer, - $$IngredientsTableCreateCompanionBuilder, - $$IngredientsTableUpdateCompanionBuilder, - ( - IngredientTable, - BaseReferences<_$IngredientDatabase, $IngredientsTable, IngredientTable>, - ), - IngredientTable, - PrefetchHooks Function() - > { - $$IngredientsTableTableManager( - _$IngredientDatabase db, - $IngredientsTable table, - ) : super( - TableManagerState( - db: db, - table: table, - createFilteringComposer: () => $$IngredientsTableFilterComposer($db: db, $table: table), - createOrderingComposer: () => $$IngredientsTableOrderingComposer($db: db, $table: table), - createComputedFieldComposer: () => - $$IngredientsTableAnnotationComposer($db: db, $table: table), - updateCompanionCallback: - ({ - Value id = const Value.absent(), - Value data = const Value.absent(), - Value lastFetched = const Value.absent(), - Value rowid = const Value.absent(), - }) => IngredientsCompanion( - id: id, - data: data, - lastFetched: lastFetched, - rowid: rowid, - ), - createCompanionCallback: - ({ - required int id, - required String data, - required DateTime lastFetched, - Value rowid = const Value.absent(), - }) => IngredientsCompanion.insert( - id: id, - data: data, - lastFetched: lastFetched, - rowid: rowid, - ), - withReferenceMapper: (p0) => - p0.map((e) => (e.readTable(table), BaseReferences(db, table, e))).toList(), - prefetchHooksCallback: null, - ), - ); -} - -typedef $$IngredientsTableProcessedTableManager = - ProcessedTableManager< - _$IngredientDatabase, - $IngredientsTable, - IngredientTable, - $$IngredientsTableFilterComposer, - $$IngredientsTableOrderingComposer, - $$IngredientsTableAnnotationComposer, - $$IngredientsTableCreateCompanionBuilder, - $$IngredientsTableUpdateCompanionBuilder, - ( - IngredientTable, - BaseReferences<_$IngredientDatabase, $IngredientsTable, IngredientTable>, - ), - IngredientTable, - PrefetchHooks Function() - >; - -class $IngredientDatabaseManager { - final _$IngredientDatabase _db; - $IngredientDatabaseManager(this._db); - $$IngredientsTableTableManager get ingredients => - $$IngredientsTableTableManager(_db, _db.ingredients); -} diff --git a/lib/database/powersync/database.dart b/lib/database/powersync/database.dart new file mode 100644 index 000000000..4ae7088a5 --- /dev/null +++ b/lib/database/powersync/database.dart @@ -0,0 +1,155 @@ +/* + * This file is part of wger Workout Manager . + * Copyright (c) 2020 - 2026 wger Team + * + * wger Workout Manager is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +import 'package:drift/drift.dart'; +import 'package:drift_sqlite_async/drift_sqlite_async.dart'; +import 'package:flutter/material.dart' show TimeOfDay; +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:powersync/powersync.dart' as ps; +import 'package:wger/core/language.dart'; +import 'package:wger/core/license.dart'; +import 'package:wger/database/converters/date_only_text_converter.dart'; +import 'package:wger/database/converters/exercise_image_style_converter.dart'; +import 'package:wger/database/converters/measurement_metric_type_converter.dart'; +import 'package:wger/database/converters/time_of_day_converter.dart'; +import 'package:wger/database/converters/utc_datetime_converter.dart'; +import 'package:wger/database/converters/workout_impression_converter.dart'; +import 'package:wger/features/account/models/user_profile.dart'; +import 'package:wger/features/exercises/models/alias.dart'; +import 'package:wger/features/exercises/models/category.dart'; +import 'package:wger/features/exercises/models/comment.dart'; +import 'package:wger/features/exercises/models/equipment.dart'; +import 'package:wger/features/exercises/models/image.dart'; +import 'package:wger/features/exercises/models/muscle.dart'; +import 'package:wger/features/exercises/models/video.dart'; +import 'package:wger/features/gallery/models/image.dart'; +import 'package:wger/features/measurements/models/measurement_category.dart'; +import 'package:wger/features/measurements/models/measurement_entry.dart'; +import 'package:wger/features/nutrition/models/ingredient.dart'; +import 'package:wger/features/nutrition/models/ingredient_image.dart'; +import 'package:wger/features/nutrition/models/ingredient_weight_unit.dart'; +import 'package:wger/features/nutrition/models/log.dart'; +import 'package:wger/features/nutrition/models/meal.dart'; +import 'package:wger/features/nutrition/models/meal_item.dart'; +import 'package:wger/features/nutrition/models/nutritional_plan.dart'; +import 'package:wger/features/routines/models/log.dart'; +import 'package:wger/features/routines/models/repetition_unit.dart'; +import 'package:wger/features/routines/models/routine.dart'; +import 'package:wger/features/routines/models/session.dart'; +import 'package:wger/features/routines/models/weight_unit.dart'; +import 'package:wger/features/weight/models/weight_entry.dart'; + +import 'powersync.dart'; +import 'tables/exercise.dart'; +import 'tables/gallery.dart'; +import 'tables/ingredient.dart'; +import 'tables/language.dart'; +import 'tables/license.dart'; +import 'tables/measurements.dart'; +import 'tables/nutrition.dart'; +import 'tables/routines.dart'; +import 'tables/user_profile.dart'; +import 'tables/weight.dart'; + +part 'database.g.dart'; + +@DriftDatabase( + tables: [ + // Core + LanguageTable, + LicenseTable, + UserProfileTable, + + // Exercises + ExerciseTable, + ExerciseTranslationTable, + ExerciseAliasTable, + ExerciseCommentTable, + MuscleTable, + ExerciseMuscleM2N, + ExerciseSecondaryMuscleM2N, + EquipmentTable, + ExerciseEquipmentM2N, + ExerciseCategoryTable, + ExerciseImageTable, + ExerciseVideoTable, + + // Body weight + WeightEntryTable, + + // Measurements + MeasurementCategoryTable, + MeasurementEntryTable, + + // Routines + RoutineTable, + WorkoutLogTable, + WorkoutSessionTable, + RoutineRepetitionUnitTable, + RoutineWeightUnitTable, + + // Nutrition + NutritionalPlanTable, + IngredientTable, + IngredientImageTable, + IngredientWeightUnitTable, + MealTable, + MealItemTable, + LogItemTable, + + // Gallery + GalleryImageTable, + ], + //include: {'queries.drift'}, +) +class DriftPowersyncDatabase extends _$DriftPowersyncDatabase { + DriftPowersyncDatabase(super.e); + + @override + int get schemaVersion => 1; + + @override + MigrationStrategy get migration { + return MigrationStrategy( + onCreate: (m) async { + // We don't have to call createAll(), PowerSync instantiates the schema + // for us. We can use the opportunity to create fts5 indexes though. + }, + onUpgrade: (m, from, to) async { + if (from == 1) { + // await createFts5Tables( + // db: this, + // tableName: 'todos', + // columns: ['description', 'list_id'], + // ); + } + }, + ); + } +} + +final driftPowerSyncDatabase = Provider((ref) { + return DriftPowersyncDatabase( + DatabaseConnection.delayed( + Future(() async { + final database = await ref.read(powerSyncInstanceProvider.future); + return SqliteAsyncDriftConnection(database); + }), + ), + ); +}); diff --git a/lib/database/powersync/database.g.dart b/lib/database/powersync/database.g.dart new file mode 100644 index 000000000..473084017 --- /dev/null +++ b/lib/database/powersync/database.g.dart @@ -0,0 +1,22264 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'database.dart'; + +// ignore_for_file: type=lint +class $LanguageTableTable extends LanguageTable with TableInfo<$LanguageTableTable, Language> { + @override + final GeneratedDatabase attachedDatabase; + final String? _alias; + $LanguageTableTable(this.attachedDatabase, [this._alias]); + static const VerificationMeta _idMeta = const VerificationMeta('id'); + @override + late final GeneratedColumn id = GeneratedColumn( + 'id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _shortNameMeta = const VerificationMeta( + 'shortName', + ); + @override + late final GeneratedColumn shortName = GeneratedColumn( + 'short_name', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _fullNameMeta = const VerificationMeta( + 'fullName', + ); + @override + late final GeneratedColumn fullName = GeneratedColumn( + 'full_name', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + @override + List get $columns => [id, shortName, fullName]; + @override + String get aliasedName => _alias ?? actualTableName; + @override + String get actualTableName => $name; + static const String $name = 'core_language'; + @override + VerificationContext validateIntegrity( + Insertable instance, { + bool isInserting = false, + }) { + final context = VerificationContext(); + final data = instance.toColumns(true); + if (data.containsKey('id')) { + context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); + } else if (isInserting) { + context.missing(_idMeta); + } + if (data.containsKey('short_name')) { + context.handle( + _shortNameMeta, + shortName.isAcceptableOrUnknown(data['short_name']!, _shortNameMeta), + ); + } else if (isInserting) { + context.missing(_shortNameMeta); + } + if (data.containsKey('full_name')) { + context.handle( + _fullNameMeta, + fullName.isAcceptableOrUnknown(data['full_name']!, _fullNameMeta), + ); + } else if (isInserting) { + context.missing(_fullNameMeta); + } + return context; + } + + @override + Set get $primaryKey => const {}; + @override + Language map(Map data, {String? tablePrefix}) { + final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; + return Language( + id: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}id'], + )!, + shortName: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}short_name'], + )!, + fullName: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}full_name'], + )!, + ); + } + + @override + $LanguageTableTable createAlias(String alias) { + return $LanguageTableTable(attachedDatabase, alias); + } +} + +class LanguageTableCompanion extends UpdateCompanion { + final Value id; + final Value shortName; + final Value fullName; + final Value rowid; + const LanguageTableCompanion({ + this.id = const Value.absent(), + this.shortName = const Value.absent(), + this.fullName = const Value.absent(), + this.rowid = const Value.absent(), + }); + LanguageTableCompanion.insert({ + required int id, + required String shortName, + required String fullName, + this.rowid = const Value.absent(), + }) : id = Value(id), + shortName = Value(shortName), + fullName = Value(fullName); + static Insertable custom({ + Expression? id, + Expression? shortName, + Expression? fullName, + Expression? rowid, + }) { + return RawValuesInsertable({ + if (id != null) 'id': id, + if (shortName != null) 'short_name': shortName, + if (fullName != null) 'full_name': fullName, + if (rowid != null) 'rowid': rowid, + }); + } + + LanguageTableCompanion copyWith({ + Value? id, + Value? shortName, + Value? fullName, + Value? rowid, + }) { + return LanguageTableCompanion( + id: id ?? this.id, + shortName: shortName ?? this.shortName, + fullName: fullName ?? this.fullName, + rowid: rowid ?? this.rowid, + ); + } + + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + if (id.present) { + map['id'] = Variable(id.value); + } + if (shortName.present) { + map['short_name'] = Variable(shortName.value); + } + if (fullName.present) { + map['full_name'] = Variable(fullName.value); + } + if (rowid.present) { + map['rowid'] = Variable(rowid.value); + } + return map; + } + + @override + String toString() { + return (StringBuffer('LanguageTableCompanion(') + ..write('id: $id, ') + ..write('shortName: $shortName, ') + ..write('fullName: $fullName, ') + ..write('rowid: $rowid') + ..write(')')) + .toString(); + } +} + +class $LicenseTableTable extends LicenseTable with TableInfo<$LicenseTableTable, License> { + @override + final GeneratedDatabase attachedDatabase; + final String? _alias; + $LicenseTableTable(this.attachedDatabase, [this._alias]); + static const VerificationMeta _idMeta = const VerificationMeta('id'); + @override + late final GeneratedColumn id = GeneratedColumn( + 'id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _shortNameMeta = const VerificationMeta( + 'shortName', + ); + @override + late final GeneratedColumn shortName = GeneratedColumn( + 'short_name', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _fullNameMeta = const VerificationMeta( + 'fullName', + ); + @override + late final GeneratedColumn fullName = GeneratedColumn( + 'full_name', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _urlMeta = const VerificationMeta('url'); + @override + late final GeneratedColumn url = GeneratedColumn( + 'url', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + @override + List get $columns => [id, shortName, fullName, url]; + @override + String get aliasedName => _alias ?? actualTableName; + @override + String get actualTableName => $name; + static const String $name = 'core_license'; + @override + VerificationContext validateIntegrity( + Insertable instance, { + bool isInserting = false, + }) { + final context = VerificationContext(); + final data = instance.toColumns(true); + if (data.containsKey('id')) { + context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); + } else if (isInserting) { + context.missing(_idMeta); + } + if (data.containsKey('short_name')) { + context.handle( + _shortNameMeta, + shortName.isAcceptableOrUnknown(data['short_name']!, _shortNameMeta), + ); + } else if (isInserting) { + context.missing(_shortNameMeta); + } + if (data.containsKey('full_name')) { + context.handle( + _fullNameMeta, + fullName.isAcceptableOrUnknown(data['full_name']!, _fullNameMeta), + ); + } else if (isInserting) { + context.missing(_fullNameMeta); + } + if (data.containsKey('url')) { + context.handle( + _urlMeta, + url.isAcceptableOrUnknown(data['url']!, _urlMeta), + ); + } else if (isInserting) { + context.missing(_urlMeta); + } + return context; + } + + @override + Set get $primaryKey => const {}; + @override + License map(Map data, {String? tablePrefix}) { + final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; + return License( + id: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}id'], + )!, + shortName: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}short_name'], + )!, + fullName: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}full_name'], + )!, + url: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}url'], + )!, + ); + } + + @override + $LicenseTableTable createAlias(String alias) { + return $LicenseTableTable(attachedDatabase, alias); + } +} + +class LicenseTableCompanion extends UpdateCompanion { + final Value id; + final Value shortName; + final Value fullName; + final Value url; + final Value rowid; + const LicenseTableCompanion({ + this.id = const Value.absent(), + this.shortName = const Value.absent(), + this.fullName = const Value.absent(), + this.url = const Value.absent(), + this.rowid = const Value.absent(), + }); + LicenseTableCompanion.insert({ + required int id, + required String shortName, + required String fullName, + required String url, + this.rowid = const Value.absent(), + }) : id = Value(id), + shortName = Value(shortName), + fullName = Value(fullName), + url = Value(url); + static Insertable custom({ + Expression? id, + Expression? shortName, + Expression? fullName, + Expression? url, + Expression? rowid, + }) { + return RawValuesInsertable({ + if (id != null) 'id': id, + if (shortName != null) 'short_name': shortName, + if (fullName != null) 'full_name': fullName, + if (url != null) 'url': url, + if (rowid != null) 'rowid': rowid, + }); + } + + LicenseTableCompanion copyWith({ + Value? id, + Value? shortName, + Value? fullName, + Value? url, + Value? rowid, + }) { + return LicenseTableCompanion( + id: id ?? this.id, + shortName: shortName ?? this.shortName, + fullName: fullName ?? this.fullName, + url: url ?? this.url, + rowid: rowid ?? this.rowid, + ); + } + + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + if (id.present) { + map['id'] = Variable(id.value); + } + if (shortName.present) { + map['short_name'] = Variable(shortName.value); + } + if (fullName.present) { + map['full_name'] = Variable(fullName.value); + } + if (url.present) { + map['url'] = Variable(url.value); + } + if (rowid.present) { + map['rowid'] = Variable(rowid.value); + } + return map; + } + + @override + String toString() { + return (StringBuffer('LicenseTableCompanion(') + ..write('id: $id, ') + ..write('shortName: $shortName, ') + ..write('fullName: $fullName, ') + ..write('url: $url, ') + ..write('rowid: $rowid') + ..write(')')) + .toString(); + } +} + +class $UserProfileTableTable extends UserProfileTable + with TableInfo<$UserProfileTableTable, UserProfile> { + @override + final GeneratedDatabase attachedDatabase; + final String? _alias; + $UserProfileTableTable(this.attachedDatabase, [this._alias]); + static const VerificationMeta _idMeta = const VerificationMeta('id'); + @override + late final GeneratedColumn id = GeneratedColumn( + 'id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _weightUnitStrMeta = const VerificationMeta( + 'weightUnitStr', + ); + @override + late final GeneratedColumn weightUnitStr = GeneratedColumn( + 'weight_unit', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + @override + List get $columns => [id, weightUnitStr]; + @override + String get aliasedName => _alias ?? actualTableName; + @override + String get actualTableName => $name; + static const String $name = 'core_userprofile'; + @override + VerificationContext validateIntegrity( + Insertable instance, { + bool isInserting = false, + }) { + final context = VerificationContext(); + final data = instance.toColumns(true); + if (data.containsKey('id')) { + context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); + } else if (isInserting) { + context.missing(_idMeta); + } + if (data.containsKey('weight_unit')) { + context.handle( + _weightUnitStrMeta, + weightUnitStr.isAcceptableOrUnknown( + data['weight_unit']!, + _weightUnitStrMeta, + ), + ); + } else if (isInserting) { + context.missing(_weightUnitStrMeta); + } + return context; + } + + @override + Set get $primaryKey => const {}; + @override + UserProfile map(Map data, {String? tablePrefix}) { + final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; + return UserProfile( + id: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}id'], + )!, + weightUnitStr: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}weight_unit'], + )!, + ); + } + + @override + $UserProfileTableTable createAlias(String alias) { + return $UserProfileTableTable(attachedDatabase, alias); + } +} + +class UserProfileTableCompanion extends UpdateCompanion { + final Value id; + final Value weightUnitStr; + final Value rowid; + const UserProfileTableCompanion({ + this.id = const Value.absent(), + this.weightUnitStr = const Value.absent(), + this.rowid = const Value.absent(), + }); + UserProfileTableCompanion.insert({ + required int id, + required String weightUnitStr, + this.rowid = const Value.absent(), + }) : id = Value(id), + weightUnitStr = Value(weightUnitStr); + static Insertable custom({ + Expression? id, + Expression? weightUnitStr, + Expression? rowid, + }) { + return RawValuesInsertable({ + if (id != null) 'id': id, + if (weightUnitStr != null) 'weight_unit': weightUnitStr, + if (rowid != null) 'rowid': rowid, + }); + } + + UserProfileTableCompanion copyWith({ + Value? id, + Value? weightUnitStr, + Value? rowid, + }) { + return UserProfileTableCompanion( + id: id ?? this.id, + weightUnitStr: weightUnitStr ?? this.weightUnitStr, + rowid: rowid ?? this.rowid, + ); + } + + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + if (id.present) { + map['id'] = Variable(id.value); + } + if (weightUnitStr.present) { + map['weight_unit'] = Variable(weightUnitStr.value); + } + if (rowid.present) { + map['rowid'] = Variable(rowid.value); + } + return map; + } + + @override + String toString() { + return (StringBuffer('UserProfileTableCompanion(') + ..write('id: $id, ') + ..write('weightUnitStr: $weightUnitStr, ') + ..write('rowid: $rowid') + ..write(')')) + .toString(); + } +} + +class $ExerciseCategoryTableTable extends ExerciseCategoryTable + with TableInfo<$ExerciseCategoryTableTable, ExerciseCategory> { + @override + final GeneratedDatabase attachedDatabase; + final String? _alias; + $ExerciseCategoryTableTable(this.attachedDatabase, [this._alias]); + static const VerificationMeta _idMeta = const VerificationMeta('id'); + @override + late final GeneratedColumn id = GeneratedColumn( + 'id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _nameMeta = const VerificationMeta('name'); + @override + late final GeneratedColumn name = GeneratedColumn( + 'name', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + @override + List get $columns => [id, name]; + @override + String get aliasedName => _alias ?? actualTableName; + @override + String get actualTableName => $name; + static const String $name = 'exercises_exercisecategory'; + @override + VerificationContext validateIntegrity( + Insertable instance, { + bool isInserting = false, + }) { + final context = VerificationContext(); + final data = instance.toColumns(true); + if (data.containsKey('id')) { + context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); + } else if (isInserting) { + context.missing(_idMeta); + } + if (data.containsKey('name')) { + context.handle( + _nameMeta, + name.isAcceptableOrUnknown(data['name']!, _nameMeta), + ); + } else if (isInserting) { + context.missing(_nameMeta); + } + return context; + } + + @override + Set get $primaryKey => const {}; + @override + ExerciseCategory map(Map data, {String? tablePrefix}) { + final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; + return ExerciseCategory( + id: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}id'], + )!, + name: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}name'], + )!, + ); + } + + @override + $ExerciseCategoryTableTable createAlias(String alias) { + return $ExerciseCategoryTableTable(attachedDatabase, alias); + } +} + +class ExerciseCategoryTableCompanion extends UpdateCompanion { + final Value id; + final Value name; + final Value rowid; + const ExerciseCategoryTableCompanion({ + this.id = const Value.absent(), + this.name = const Value.absent(), + this.rowid = const Value.absent(), + }); + ExerciseCategoryTableCompanion.insert({ + required int id, + required String name, + this.rowid = const Value.absent(), + }) : id = Value(id), + name = Value(name); + static Insertable custom({ + Expression? id, + Expression? name, + Expression? rowid, + }) { + return RawValuesInsertable({ + if (id != null) 'id': id, + if (name != null) 'name': name, + if (rowid != null) 'rowid': rowid, + }); + } + + ExerciseCategoryTableCompanion copyWith({ + Value? id, + Value? name, + Value? rowid, + }) { + return ExerciseCategoryTableCompanion( + id: id ?? this.id, + name: name ?? this.name, + rowid: rowid ?? this.rowid, + ); + } + + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + if (id.present) { + map['id'] = Variable(id.value); + } + if (name.present) { + map['name'] = Variable(name.value); + } + if (rowid.present) { + map['rowid'] = Variable(rowid.value); + } + return map; + } + + @override + String toString() { + return (StringBuffer('ExerciseCategoryTableCompanion(') + ..write('id: $id, ') + ..write('name: $name, ') + ..write('rowid: $rowid') + ..write(')')) + .toString(); + } +} + +class $ExerciseTableTable extends ExerciseTable with TableInfo<$ExerciseTableTable, ExerciseRow> { + @override + final GeneratedDatabase attachedDatabase; + final String? _alias; + $ExerciseTableTable(this.attachedDatabase, [this._alias]); + static const VerificationMeta _idMeta = const VerificationMeta('id'); + @override + late final GeneratedColumn id = GeneratedColumn( + 'id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _uuidMeta = const VerificationMeta('uuid'); + @override + late final GeneratedColumn uuid = GeneratedColumn( + 'uuid', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _variationGroupMeta = const VerificationMeta( + 'variationGroup', + ); + @override + late final GeneratedColumn variationGroup = GeneratedColumn( + 'variation_group', + aliasedName, + true, + type: DriftSqlType.string, + requiredDuringInsert: false, + ); + static const VerificationMeta _categoryIdMeta = const VerificationMeta( + 'categoryId', + ); + @override + late final GeneratedColumn categoryId = GeneratedColumn( + 'category_id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'REFERENCES exercises_exercisecategory (id)', + ), + ); + static const VerificationMeta _createdMeta = const VerificationMeta( + 'created', + ); + @override + late final GeneratedColumn created = GeneratedColumn( + 'created', + aliasedName, + false, + type: DriftSqlType.dateTime, + requiredDuringInsert: true, + ); + static const VerificationMeta _lastUpdateMeta = const VerificationMeta( + 'lastUpdate', + ); + @override + late final GeneratedColumn lastUpdate = GeneratedColumn( + 'last_update', + aliasedName, + false, + type: DriftSqlType.dateTime, + requiredDuringInsert: true, + ); + @override + List get $columns => [ + id, + uuid, + variationGroup, + categoryId, + created, + lastUpdate, + ]; + @override + String get aliasedName => _alias ?? actualTableName; + @override + String get actualTableName => $name; + static const String $name = 'exercises_exercise'; + @override + VerificationContext validateIntegrity( + Insertable instance, { + bool isInserting = false, + }) { + final context = VerificationContext(); + final data = instance.toColumns(true); + if (data.containsKey('id')) { + context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); + } else if (isInserting) { + context.missing(_idMeta); + } + if (data.containsKey('uuid')) { + context.handle( + _uuidMeta, + uuid.isAcceptableOrUnknown(data['uuid']!, _uuidMeta), + ); + } else if (isInserting) { + context.missing(_uuidMeta); + } + if (data.containsKey('variation_group')) { + context.handle( + _variationGroupMeta, + variationGroup.isAcceptableOrUnknown( + data['variation_group']!, + _variationGroupMeta, + ), + ); + } + if (data.containsKey('category_id')) { + context.handle( + _categoryIdMeta, + categoryId.isAcceptableOrUnknown(data['category_id']!, _categoryIdMeta), + ); + } else if (isInserting) { + context.missing(_categoryIdMeta); + } + if (data.containsKey('created')) { + context.handle( + _createdMeta, + created.isAcceptableOrUnknown(data['created']!, _createdMeta), + ); + } else if (isInserting) { + context.missing(_createdMeta); + } + if (data.containsKey('last_update')) { + context.handle( + _lastUpdateMeta, + lastUpdate.isAcceptableOrUnknown(data['last_update']!, _lastUpdateMeta), + ); + } else if (isInserting) { + context.missing(_lastUpdateMeta); + } + return context; + } + + @override + Set get $primaryKey => const {}; + @override + ExerciseRow map(Map data, {String? tablePrefix}) { + final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; + return ExerciseRow( + id: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}id'], + )!, + uuid: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}uuid'], + )!, + variationGroup: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}variation_group'], + ), + categoryId: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}category_id'], + )!, + created: attachedDatabase.typeMapping.read( + DriftSqlType.dateTime, + data['${effectivePrefix}created'], + )!, + lastUpdate: attachedDatabase.typeMapping.read( + DriftSqlType.dateTime, + data['${effectivePrefix}last_update'], + )!, + ); + } + + @override + $ExerciseTableTable createAlias(String alias) { + return $ExerciseTableTable(attachedDatabase, alias); + } +} + +class ExerciseRow extends DataClass implements Insertable { + final int id; + final String uuid; + final String? variationGroup; + final int categoryId; + final DateTime created; + final DateTime lastUpdate; + const ExerciseRow({ + required this.id, + required this.uuid, + this.variationGroup, + required this.categoryId, + required this.created, + required this.lastUpdate, + }); + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + map['id'] = Variable(id); + map['uuid'] = Variable(uuid); + if (!nullToAbsent || variationGroup != null) { + map['variation_group'] = Variable(variationGroup); + } + map['category_id'] = Variable(categoryId); + map['created'] = Variable(created); + map['last_update'] = Variable(lastUpdate); + return map; + } + + ExerciseTableCompanion toCompanion(bool nullToAbsent) { + return ExerciseTableCompanion( + id: Value(id), + uuid: Value(uuid), + variationGroup: variationGroup == null && nullToAbsent + ? const Value.absent() + : Value(variationGroup), + categoryId: Value(categoryId), + created: Value(created), + lastUpdate: Value(lastUpdate), + ); + } + + factory ExerciseRow.fromJson( + Map json, { + ValueSerializer? serializer, + }) { + serializer ??= driftRuntimeOptions.defaultSerializer; + return ExerciseRow( + id: serializer.fromJson(json['id']), + uuid: serializer.fromJson(json['uuid']), + variationGroup: serializer.fromJson(json['variationGroup']), + categoryId: serializer.fromJson(json['categoryId']), + created: serializer.fromJson(json['created']), + lastUpdate: serializer.fromJson(json['lastUpdate']), + ); + } + @override + Map toJson({ValueSerializer? serializer}) { + serializer ??= driftRuntimeOptions.defaultSerializer; + return { + 'id': serializer.toJson(id), + 'uuid': serializer.toJson(uuid), + 'variationGroup': serializer.toJson(variationGroup), + 'categoryId': serializer.toJson(categoryId), + 'created': serializer.toJson(created), + 'lastUpdate': serializer.toJson(lastUpdate), + }; + } + + ExerciseRow copyWith({ + int? id, + String? uuid, + Value variationGroup = const Value.absent(), + int? categoryId, + DateTime? created, + DateTime? lastUpdate, + }) => ExerciseRow( + id: id ?? this.id, + uuid: uuid ?? this.uuid, + variationGroup: variationGroup.present ? variationGroup.value : this.variationGroup, + categoryId: categoryId ?? this.categoryId, + created: created ?? this.created, + lastUpdate: lastUpdate ?? this.lastUpdate, + ); + ExerciseRow copyWithCompanion(ExerciseTableCompanion data) { + return ExerciseRow( + id: data.id.present ? data.id.value : this.id, + uuid: data.uuid.present ? data.uuid.value : this.uuid, + variationGroup: data.variationGroup.present ? data.variationGroup.value : this.variationGroup, + categoryId: data.categoryId.present ? data.categoryId.value : this.categoryId, + created: data.created.present ? data.created.value : this.created, + lastUpdate: data.lastUpdate.present ? data.lastUpdate.value : this.lastUpdate, + ); + } + + @override + String toString() { + return (StringBuffer('ExerciseRow(') + ..write('id: $id, ') + ..write('uuid: $uuid, ') + ..write('variationGroup: $variationGroup, ') + ..write('categoryId: $categoryId, ') + ..write('created: $created, ') + ..write('lastUpdate: $lastUpdate') + ..write(')')) + .toString(); + } + + @override + int get hashCode => Object.hash(id, uuid, variationGroup, categoryId, created, lastUpdate); + @override + bool operator ==(Object other) => + identical(this, other) || + (other is ExerciseRow && + other.id == this.id && + other.uuid == this.uuid && + other.variationGroup == this.variationGroup && + other.categoryId == this.categoryId && + other.created == this.created && + other.lastUpdate == this.lastUpdate); +} + +class ExerciseTableCompanion extends UpdateCompanion { + final Value id; + final Value uuid; + final Value variationGroup; + final Value categoryId; + final Value created; + final Value lastUpdate; + final Value rowid; + const ExerciseTableCompanion({ + this.id = const Value.absent(), + this.uuid = const Value.absent(), + this.variationGroup = const Value.absent(), + this.categoryId = const Value.absent(), + this.created = const Value.absent(), + this.lastUpdate = const Value.absent(), + this.rowid = const Value.absent(), + }); + ExerciseTableCompanion.insert({ + required int id, + required String uuid, + this.variationGroup = const Value.absent(), + required int categoryId, + required DateTime created, + required DateTime lastUpdate, + this.rowid = const Value.absent(), + }) : id = Value(id), + uuid = Value(uuid), + categoryId = Value(categoryId), + created = Value(created), + lastUpdate = Value(lastUpdate); + static Insertable custom({ + Expression? id, + Expression? uuid, + Expression? variationGroup, + Expression? categoryId, + Expression? created, + Expression? lastUpdate, + Expression? rowid, + }) { + return RawValuesInsertable({ + if (id != null) 'id': id, + if (uuid != null) 'uuid': uuid, + if (variationGroup != null) 'variation_group': variationGroup, + if (categoryId != null) 'category_id': categoryId, + if (created != null) 'created': created, + if (lastUpdate != null) 'last_update': lastUpdate, + if (rowid != null) 'rowid': rowid, + }); + } + + ExerciseTableCompanion copyWith({ + Value? id, + Value? uuid, + Value? variationGroup, + Value? categoryId, + Value? created, + Value? lastUpdate, + Value? rowid, + }) { + return ExerciseTableCompanion( + id: id ?? this.id, + uuid: uuid ?? this.uuid, + variationGroup: variationGroup ?? this.variationGroup, + categoryId: categoryId ?? this.categoryId, + created: created ?? this.created, + lastUpdate: lastUpdate ?? this.lastUpdate, + rowid: rowid ?? this.rowid, + ); + } + + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + if (id.present) { + map['id'] = Variable(id.value); + } + if (uuid.present) { + map['uuid'] = Variable(uuid.value); + } + if (variationGroup.present) { + map['variation_group'] = Variable(variationGroup.value); + } + if (categoryId.present) { + map['category_id'] = Variable(categoryId.value); + } + if (created.present) { + map['created'] = Variable(created.value); + } + if (lastUpdate.present) { + map['last_update'] = Variable(lastUpdate.value); + } + if (rowid.present) { + map['rowid'] = Variable(rowid.value); + } + return map; + } + + @override + String toString() { + return (StringBuffer('ExerciseTableCompanion(') + ..write('id: $id, ') + ..write('uuid: $uuid, ') + ..write('variationGroup: $variationGroup, ') + ..write('categoryId: $categoryId, ') + ..write('created: $created, ') + ..write('lastUpdate: $lastUpdate, ') + ..write('rowid: $rowid') + ..write(')')) + .toString(); + } +} + +class $ExerciseTranslationTableTable extends ExerciseTranslationTable + with TableInfo<$ExerciseTranslationTableTable, ExerciseTranslationRow> { + @override + final GeneratedDatabase attachedDatabase; + final String? _alias; + $ExerciseTranslationTableTable(this.attachedDatabase, [this._alias]); + static const VerificationMeta _idMeta = const VerificationMeta('id'); + @override + late final GeneratedColumn id = GeneratedColumn( + 'id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _uuidMeta = const VerificationMeta('uuid'); + @override + late final GeneratedColumn uuid = GeneratedColumn( + 'uuid', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _exerciseIdMeta = const VerificationMeta( + 'exerciseId', + ); + @override + late final GeneratedColumn exerciseId = GeneratedColumn( + 'exercise_id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'REFERENCES exercises_exercise (id)', + ), + ); + static const VerificationMeta _languageIdMeta = const VerificationMeta( + 'languageId', + ); + @override + late final GeneratedColumn languageId = GeneratedColumn( + 'language_id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'REFERENCES core_language (id)', + ), + ); + static const VerificationMeta _nameMeta = const VerificationMeta('name'); + @override + late final GeneratedColumn name = GeneratedColumn( + 'name', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _descriptionMeta = const VerificationMeta( + 'description', + ); + @override + late final GeneratedColumn description = GeneratedColumn( + 'description', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _createdMeta = const VerificationMeta( + 'created', + ); + @override + late final GeneratedColumn created = GeneratedColumn( + 'created', + aliasedName, + false, + type: DriftSqlType.dateTime, + requiredDuringInsert: true, + ); + static const VerificationMeta _lastUpdateMeta = const VerificationMeta( + 'lastUpdate', + ); + @override + late final GeneratedColumn lastUpdate = GeneratedColumn( + 'last_update', + aliasedName, + false, + type: DriftSqlType.dateTime, + requiredDuringInsert: true, + ); + @override + List get $columns => [ + id, + uuid, + exerciseId, + languageId, + name, + description, + created, + lastUpdate, + ]; + @override + String get aliasedName => _alias ?? actualTableName; + @override + String get actualTableName => $name; + static const String $name = 'exercises_translation'; + @override + VerificationContext validateIntegrity( + Insertable instance, { + bool isInserting = false, + }) { + final context = VerificationContext(); + final data = instance.toColumns(true); + if (data.containsKey('id')) { + context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); + } else if (isInserting) { + context.missing(_idMeta); + } + if (data.containsKey('uuid')) { + context.handle( + _uuidMeta, + uuid.isAcceptableOrUnknown(data['uuid']!, _uuidMeta), + ); + } else if (isInserting) { + context.missing(_uuidMeta); + } + if (data.containsKey('exercise_id')) { + context.handle( + _exerciseIdMeta, + exerciseId.isAcceptableOrUnknown(data['exercise_id']!, _exerciseIdMeta), + ); + } else if (isInserting) { + context.missing(_exerciseIdMeta); + } + if (data.containsKey('language_id')) { + context.handle( + _languageIdMeta, + languageId.isAcceptableOrUnknown(data['language_id']!, _languageIdMeta), + ); + } else if (isInserting) { + context.missing(_languageIdMeta); + } + if (data.containsKey('name')) { + context.handle( + _nameMeta, + name.isAcceptableOrUnknown(data['name']!, _nameMeta), + ); + } else if (isInserting) { + context.missing(_nameMeta); + } + if (data.containsKey('description')) { + context.handle( + _descriptionMeta, + description.isAcceptableOrUnknown( + data['description']!, + _descriptionMeta, + ), + ); + } else if (isInserting) { + context.missing(_descriptionMeta); + } + if (data.containsKey('created')) { + context.handle( + _createdMeta, + created.isAcceptableOrUnknown(data['created']!, _createdMeta), + ); + } else if (isInserting) { + context.missing(_createdMeta); + } + if (data.containsKey('last_update')) { + context.handle( + _lastUpdateMeta, + lastUpdate.isAcceptableOrUnknown(data['last_update']!, _lastUpdateMeta), + ); + } else if (isInserting) { + context.missing(_lastUpdateMeta); + } + return context; + } + + @override + Set get $primaryKey => const {}; + @override + ExerciseTranslationRow map(Map data, {String? tablePrefix}) { + final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; + return ExerciseTranslationRow( + id: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}id'], + )!, + uuid: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}uuid'], + )!, + exerciseId: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}exercise_id'], + )!, + languageId: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}language_id'], + )!, + name: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}name'], + )!, + description: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}description'], + )!, + created: attachedDatabase.typeMapping.read( + DriftSqlType.dateTime, + data['${effectivePrefix}created'], + )!, + lastUpdate: attachedDatabase.typeMapping.read( + DriftSqlType.dateTime, + data['${effectivePrefix}last_update'], + )!, + ); + } + + @override + $ExerciseTranslationTableTable createAlias(String alias) { + return $ExerciseTranslationTableTable(attachedDatabase, alias); + } +} + +class ExerciseTranslationRow extends DataClass implements Insertable { + final int id; + final String uuid; + final int exerciseId; + final int languageId; + final String name; + final String description; + final DateTime created; + final DateTime lastUpdate; + const ExerciseTranslationRow({ + required this.id, + required this.uuid, + required this.exerciseId, + required this.languageId, + required this.name, + required this.description, + required this.created, + required this.lastUpdate, + }); + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + map['id'] = Variable(id); + map['uuid'] = Variable(uuid); + map['exercise_id'] = Variable(exerciseId); + map['language_id'] = Variable(languageId); + map['name'] = Variable(name); + map['description'] = Variable(description); + map['created'] = Variable(created); + map['last_update'] = Variable(lastUpdate); + return map; + } + + ExerciseTranslationTableCompanion toCompanion(bool nullToAbsent) { + return ExerciseTranslationTableCompanion( + id: Value(id), + uuid: Value(uuid), + exerciseId: Value(exerciseId), + languageId: Value(languageId), + name: Value(name), + description: Value(description), + created: Value(created), + lastUpdate: Value(lastUpdate), + ); + } + + factory ExerciseTranslationRow.fromJson( + Map json, { + ValueSerializer? serializer, + }) { + serializer ??= driftRuntimeOptions.defaultSerializer; + return ExerciseTranslationRow( + id: serializer.fromJson(json['id']), + uuid: serializer.fromJson(json['uuid']), + exerciseId: serializer.fromJson(json['exerciseId']), + languageId: serializer.fromJson(json['languageId']), + name: serializer.fromJson(json['name']), + description: serializer.fromJson(json['description']), + created: serializer.fromJson(json['created']), + lastUpdate: serializer.fromJson(json['lastUpdate']), + ); + } + @override + Map toJson({ValueSerializer? serializer}) { + serializer ??= driftRuntimeOptions.defaultSerializer; + return { + 'id': serializer.toJson(id), + 'uuid': serializer.toJson(uuid), + 'exerciseId': serializer.toJson(exerciseId), + 'languageId': serializer.toJson(languageId), + 'name': serializer.toJson(name), + 'description': serializer.toJson(description), + 'created': serializer.toJson(created), + 'lastUpdate': serializer.toJson(lastUpdate), + }; + } + + ExerciseTranslationRow copyWith({ + int? id, + String? uuid, + int? exerciseId, + int? languageId, + String? name, + String? description, + DateTime? created, + DateTime? lastUpdate, + }) => ExerciseTranslationRow( + id: id ?? this.id, + uuid: uuid ?? this.uuid, + exerciseId: exerciseId ?? this.exerciseId, + languageId: languageId ?? this.languageId, + name: name ?? this.name, + description: description ?? this.description, + created: created ?? this.created, + lastUpdate: lastUpdate ?? this.lastUpdate, + ); + ExerciseTranslationRow copyWithCompanion( + ExerciseTranslationTableCompanion data, + ) { + return ExerciseTranslationRow( + id: data.id.present ? data.id.value : this.id, + uuid: data.uuid.present ? data.uuid.value : this.uuid, + exerciseId: data.exerciseId.present ? data.exerciseId.value : this.exerciseId, + languageId: data.languageId.present ? data.languageId.value : this.languageId, + name: data.name.present ? data.name.value : this.name, + description: data.description.present ? data.description.value : this.description, + created: data.created.present ? data.created.value : this.created, + lastUpdate: data.lastUpdate.present ? data.lastUpdate.value : this.lastUpdate, + ); + } + + @override + String toString() { + return (StringBuffer('ExerciseTranslationRow(') + ..write('id: $id, ') + ..write('uuid: $uuid, ') + ..write('exerciseId: $exerciseId, ') + ..write('languageId: $languageId, ') + ..write('name: $name, ') + ..write('description: $description, ') + ..write('created: $created, ') + ..write('lastUpdate: $lastUpdate') + ..write(')')) + .toString(); + } + + @override + int get hashCode => Object.hash( + id, + uuid, + exerciseId, + languageId, + name, + description, + created, + lastUpdate, + ); + @override + bool operator ==(Object other) => + identical(this, other) || + (other is ExerciseTranslationRow && + other.id == this.id && + other.uuid == this.uuid && + other.exerciseId == this.exerciseId && + other.languageId == this.languageId && + other.name == this.name && + other.description == this.description && + other.created == this.created && + other.lastUpdate == this.lastUpdate); +} + +class ExerciseTranslationTableCompanion extends UpdateCompanion { + final Value id; + final Value uuid; + final Value exerciseId; + final Value languageId; + final Value name; + final Value description; + final Value created; + final Value lastUpdate; + final Value rowid; + const ExerciseTranslationTableCompanion({ + this.id = const Value.absent(), + this.uuid = const Value.absent(), + this.exerciseId = const Value.absent(), + this.languageId = const Value.absent(), + this.name = const Value.absent(), + this.description = const Value.absent(), + this.created = const Value.absent(), + this.lastUpdate = const Value.absent(), + this.rowid = const Value.absent(), + }); + ExerciseTranslationTableCompanion.insert({ + required int id, + required String uuid, + required int exerciseId, + required int languageId, + required String name, + required String description, + required DateTime created, + required DateTime lastUpdate, + this.rowid = const Value.absent(), + }) : id = Value(id), + uuid = Value(uuid), + exerciseId = Value(exerciseId), + languageId = Value(languageId), + name = Value(name), + description = Value(description), + created = Value(created), + lastUpdate = Value(lastUpdate); + static Insertable custom({ + Expression? id, + Expression? uuid, + Expression? exerciseId, + Expression? languageId, + Expression? name, + Expression? description, + Expression? created, + Expression? lastUpdate, + Expression? rowid, + }) { + return RawValuesInsertable({ + if (id != null) 'id': id, + if (uuid != null) 'uuid': uuid, + if (exerciseId != null) 'exercise_id': exerciseId, + if (languageId != null) 'language_id': languageId, + if (name != null) 'name': name, + if (description != null) 'description': description, + if (created != null) 'created': created, + if (lastUpdate != null) 'last_update': lastUpdate, + if (rowid != null) 'rowid': rowid, + }); + } + + ExerciseTranslationTableCompanion copyWith({ + Value? id, + Value? uuid, + Value? exerciseId, + Value? languageId, + Value? name, + Value? description, + Value? created, + Value? lastUpdate, + Value? rowid, + }) { + return ExerciseTranslationTableCompanion( + id: id ?? this.id, + uuid: uuid ?? this.uuid, + exerciseId: exerciseId ?? this.exerciseId, + languageId: languageId ?? this.languageId, + name: name ?? this.name, + description: description ?? this.description, + created: created ?? this.created, + lastUpdate: lastUpdate ?? this.lastUpdate, + rowid: rowid ?? this.rowid, + ); + } + + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + if (id.present) { + map['id'] = Variable(id.value); + } + if (uuid.present) { + map['uuid'] = Variable(uuid.value); + } + if (exerciseId.present) { + map['exercise_id'] = Variable(exerciseId.value); + } + if (languageId.present) { + map['language_id'] = Variable(languageId.value); + } + if (name.present) { + map['name'] = Variable(name.value); + } + if (description.present) { + map['description'] = Variable(description.value); + } + if (created.present) { + map['created'] = Variable(created.value); + } + if (lastUpdate.present) { + map['last_update'] = Variable(lastUpdate.value); + } + if (rowid.present) { + map['rowid'] = Variable(rowid.value); + } + return map; + } + + @override + String toString() { + return (StringBuffer('ExerciseTranslationTableCompanion(') + ..write('id: $id, ') + ..write('uuid: $uuid, ') + ..write('exerciseId: $exerciseId, ') + ..write('languageId: $languageId, ') + ..write('name: $name, ') + ..write('description: $description, ') + ..write('created: $created, ') + ..write('lastUpdate: $lastUpdate, ') + ..write('rowid: $rowid') + ..write(')')) + .toString(); + } +} + +class $ExerciseAliasTableTable extends ExerciseAliasTable + with TableInfo<$ExerciseAliasTableTable, Alias> { + @override + final GeneratedDatabase attachedDatabase; + final String? _alias; + $ExerciseAliasTableTable(this.attachedDatabase, [this._alias]); + static const VerificationMeta _idMeta = const VerificationMeta('id'); + @override + late final GeneratedColumn id = GeneratedColumn( + 'id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _uuidMeta = const VerificationMeta('uuid'); + @override + late final GeneratedColumn uuid = GeneratedColumn( + 'uuid', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _translationIdMeta = const VerificationMeta( + 'translationId', + ); + @override + late final GeneratedColumn translationId = GeneratedColumn( + 'translation_id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'REFERENCES exercises_translation (id)', + ), + ); + static const VerificationMeta _aliasMeta = const VerificationMeta('alias'); + @override + late final GeneratedColumn alias = GeneratedColumn( + 'alias', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + @override + List get $columns => [id, uuid, translationId, alias]; + @override + String get aliasedName => _alias ?? actualTableName; + @override + String get actualTableName => $name; + static const String $name = 'exercises_alias'; + @override + VerificationContext validateIntegrity( + Insertable instance, { + bool isInserting = false, + }) { + final context = VerificationContext(); + final data = instance.toColumns(true); + if (data.containsKey('id')) { + context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); + } else if (isInserting) { + context.missing(_idMeta); + } + if (data.containsKey('uuid')) { + context.handle( + _uuidMeta, + uuid.isAcceptableOrUnknown(data['uuid']!, _uuidMeta), + ); + } else if (isInserting) { + context.missing(_uuidMeta); + } + if (data.containsKey('translation_id')) { + context.handle( + _translationIdMeta, + translationId.isAcceptableOrUnknown( + data['translation_id']!, + _translationIdMeta, + ), + ); + } else if (isInserting) { + context.missing(_translationIdMeta); + } + if (data.containsKey('alias')) { + context.handle( + _aliasMeta, + alias.isAcceptableOrUnknown(data['alias']!, _aliasMeta), + ); + } else if (isInserting) { + context.missing(_aliasMeta); + } + return context; + } + + @override + Set get $primaryKey => const {}; + @override + Alias map(Map data, {String? tablePrefix}) { + final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; + return Alias( + id: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}id'], + )!, + translationId: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}translation_id'], + )!, + alias: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}alias'], + )!, + ); + } + + @override + $ExerciseAliasTableTable createAlias(String alias) { + return $ExerciseAliasTableTable(attachedDatabase, alias); + } +} + +class ExerciseAliasTableCompanion extends UpdateCompanion { + final Value id; + final Value uuid; + final Value translationId; + final Value alias; + final Value rowid; + const ExerciseAliasTableCompanion({ + this.id = const Value.absent(), + this.uuid = const Value.absent(), + this.translationId = const Value.absent(), + this.alias = const Value.absent(), + this.rowid = const Value.absent(), + }); + ExerciseAliasTableCompanion.insert({ + required int id, + required String uuid, + required int translationId, + required String alias, + this.rowid = const Value.absent(), + }) : id = Value(id), + uuid = Value(uuid), + translationId = Value(translationId), + alias = Value(alias); + static Insertable custom({ + Expression? id, + Expression? uuid, + Expression? translationId, + Expression? alias, + Expression? rowid, + }) { + return RawValuesInsertable({ + if (id != null) 'id': id, + if (uuid != null) 'uuid': uuid, + if (translationId != null) 'translation_id': translationId, + if (alias != null) 'alias': alias, + if (rowid != null) 'rowid': rowid, + }); + } + + ExerciseAliasTableCompanion copyWith({ + Value? id, + Value? uuid, + Value? translationId, + Value? alias, + Value? rowid, + }) { + return ExerciseAliasTableCompanion( + id: id ?? this.id, + uuid: uuid ?? this.uuid, + translationId: translationId ?? this.translationId, + alias: alias ?? this.alias, + rowid: rowid ?? this.rowid, + ); + } + + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + if (id.present) { + map['id'] = Variable(id.value); + } + if (uuid.present) { + map['uuid'] = Variable(uuid.value); + } + if (translationId.present) { + map['translation_id'] = Variable(translationId.value); + } + if (alias.present) { + map['alias'] = Variable(alias.value); + } + if (rowid.present) { + map['rowid'] = Variable(rowid.value); + } + return map; + } + + @override + String toString() { + return (StringBuffer('ExerciseAliasTableCompanion(') + ..write('id: $id, ') + ..write('uuid: $uuid, ') + ..write('translationId: $translationId, ') + ..write('alias: $alias, ') + ..write('rowid: $rowid') + ..write(')')) + .toString(); + } +} + +class $ExerciseCommentTableTable extends ExerciseCommentTable + with TableInfo<$ExerciseCommentTableTable, Comment> { + @override + final GeneratedDatabase attachedDatabase; + final String? _alias; + $ExerciseCommentTableTable(this.attachedDatabase, [this._alias]); + static const VerificationMeta _idMeta = const VerificationMeta('id'); + @override + late final GeneratedColumn id = GeneratedColumn( + 'id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _uuidMeta = const VerificationMeta('uuid'); + @override + late final GeneratedColumn uuid = GeneratedColumn( + 'uuid', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _translationIdMeta = const VerificationMeta( + 'translationId', + ); + @override + late final GeneratedColumn translationId = GeneratedColumn( + 'translation_id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'REFERENCES exercises_translation (id)', + ), + ); + static const VerificationMeta _commentMeta = const VerificationMeta( + 'comment', + ); + @override + late final GeneratedColumn comment = GeneratedColumn( + 'comment', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + @override + List get $columns => [id, uuid, translationId, comment]; + @override + String get aliasedName => _alias ?? actualTableName; + @override + String get actualTableName => $name; + static const String $name = 'exercises_exercisecomment'; + @override + VerificationContext validateIntegrity( + Insertable instance, { + bool isInserting = false, + }) { + final context = VerificationContext(); + final data = instance.toColumns(true); + if (data.containsKey('id')) { + context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); + } else if (isInserting) { + context.missing(_idMeta); + } + if (data.containsKey('uuid')) { + context.handle( + _uuidMeta, + uuid.isAcceptableOrUnknown(data['uuid']!, _uuidMeta), + ); + } else if (isInserting) { + context.missing(_uuidMeta); + } + if (data.containsKey('translation_id')) { + context.handle( + _translationIdMeta, + translationId.isAcceptableOrUnknown( + data['translation_id']!, + _translationIdMeta, + ), + ); + } else if (isInserting) { + context.missing(_translationIdMeta); + } + if (data.containsKey('comment')) { + context.handle( + _commentMeta, + comment.isAcceptableOrUnknown(data['comment']!, _commentMeta), + ); + } else if (isInserting) { + context.missing(_commentMeta); + } + return context; + } + + @override + Set get $primaryKey => const {}; + @override + Comment map(Map data, {String? tablePrefix}) { + final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; + return Comment( + id: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}id'], + )!, + translationId: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}translation_id'], + )!, + comment: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}comment'], + )!, + ); + } + + @override + $ExerciseCommentTableTable createAlias(String alias) { + return $ExerciseCommentTableTable(attachedDatabase, alias); + } +} + +class ExerciseCommentTableCompanion extends UpdateCompanion { + final Value id; + final Value uuid; + final Value translationId; + final Value comment; + final Value rowid; + const ExerciseCommentTableCompanion({ + this.id = const Value.absent(), + this.uuid = const Value.absent(), + this.translationId = const Value.absent(), + this.comment = const Value.absent(), + this.rowid = const Value.absent(), + }); + ExerciseCommentTableCompanion.insert({ + required int id, + required String uuid, + required int translationId, + required String comment, + this.rowid = const Value.absent(), + }) : id = Value(id), + uuid = Value(uuid), + translationId = Value(translationId), + comment = Value(comment); + static Insertable custom({ + Expression? id, + Expression? uuid, + Expression? translationId, + Expression? comment, + Expression? rowid, + }) { + return RawValuesInsertable({ + if (id != null) 'id': id, + if (uuid != null) 'uuid': uuid, + if (translationId != null) 'translation_id': translationId, + if (comment != null) 'comment': comment, + if (rowid != null) 'rowid': rowid, + }); + } + + ExerciseCommentTableCompanion copyWith({ + Value? id, + Value? uuid, + Value? translationId, + Value? comment, + Value? rowid, + }) { + return ExerciseCommentTableCompanion( + id: id ?? this.id, + uuid: uuid ?? this.uuid, + translationId: translationId ?? this.translationId, + comment: comment ?? this.comment, + rowid: rowid ?? this.rowid, + ); + } + + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + if (id.present) { + map['id'] = Variable(id.value); + } + if (uuid.present) { + map['uuid'] = Variable(uuid.value); + } + if (translationId.present) { + map['translation_id'] = Variable(translationId.value); + } + if (comment.present) { + map['comment'] = Variable(comment.value); + } + if (rowid.present) { + map['rowid'] = Variable(rowid.value); + } + return map; + } + + @override + String toString() { + return (StringBuffer('ExerciseCommentTableCompanion(') + ..write('id: $id, ') + ..write('uuid: $uuid, ') + ..write('translationId: $translationId, ') + ..write('comment: $comment, ') + ..write('rowid: $rowid') + ..write(')')) + .toString(); + } +} + +class $MuscleTableTable extends MuscleTable with TableInfo<$MuscleTableTable, Muscle> { + @override + final GeneratedDatabase attachedDatabase; + final String? _alias; + $MuscleTableTable(this.attachedDatabase, [this._alias]); + static const VerificationMeta _idMeta = const VerificationMeta('id'); + @override + late final GeneratedColumn id = GeneratedColumn( + 'id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _nameMeta = const VerificationMeta('name'); + @override + late final GeneratedColumn name = GeneratedColumn( + 'name', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _nameEnMeta = const VerificationMeta('nameEn'); + @override + late final GeneratedColumn nameEn = GeneratedColumn( + 'name_en', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _isFrontMeta = const VerificationMeta( + 'isFront', + ); + @override + late final GeneratedColumn isFront = GeneratedColumn( + 'is_front', + aliasedName, + false, + type: DriftSqlType.bool, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'CHECK ("is_front" IN (0, 1))', + ), + ); + @override + List get $columns => [id, name, nameEn, isFront]; + @override + String get aliasedName => _alias ?? actualTableName; + @override + String get actualTableName => $name; + static const String $name = 'exercises_muscle'; + @override + VerificationContext validateIntegrity( + Insertable instance, { + bool isInserting = false, + }) { + final context = VerificationContext(); + final data = instance.toColumns(true); + if (data.containsKey('id')) { + context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); + } else if (isInserting) { + context.missing(_idMeta); + } + if (data.containsKey('name')) { + context.handle( + _nameMeta, + name.isAcceptableOrUnknown(data['name']!, _nameMeta), + ); + } else if (isInserting) { + context.missing(_nameMeta); + } + if (data.containsKey('name_en')) { + context.handle( + _nameEnMeta, + nameEn.isAcceptableOrUnknown(data['name_en']!, _nameEnMeta), + ); + } else if (isInserting) { + context.missing(_nameEnMeta); + } + if (data.containsKey('is_front')) { + context.handle( + _isFrontMeta, + isFront.isAcceptableOrUnknown(data['is_front']!, _isFrontMeta), + ); + } else if (isInserting) { + context.missing(_isFrontMeta); + } + return context; + } + + @override + Set get $primaryKey => const {}; + @override + Muscle map(Map data, {String? tablePrefix}) { + final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; + return Muscle( + id: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}id'], + )!, + name: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}name'], + )!, + nameEn: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}name_en'], + )!, + isFront: attachedDatabase.typeMapping.read( + DriftSqlType.bool, + data['${effectivePrefix}is_front'], + )!, + ); + } + + @override + $MuscleTableTable createAlias(String alias) { + return $MuscleTableTable(attachedDatabase, alias); + } +} + +class MuscleTableCompanion extends UpdateCompanion { + final Value id; + final Value name; + final Value nameEn; + final Value isFront; + final Value rowid; + const MuscleTableCompanion({ + this.id = const Value.absent(), + this.name = const Value.absent(), + this.nameEn = const Value.absent(), + this.isFront = const Value.absent(), + this.rowid = const Value.absent(), + }); + MuscleTableCompanion.insert({ + required int id, + required String name, + required String nameEn, + required bool isFront, + this.rowid = const Value.absent(), + }) : id = Value(id), + name = Value(name), + nameEn = Value(nameEn), + isFront = Value(isFront); + static Insertable custom({ + Expression? id, + Expression? name, + Expression? nameEn, + Expression? isFront, + Expression? rowid, + }) { + return RawValuesInsertable({ + if (id != null) 'id': id, + if (name != null) 'name': name, + if (nameEn != null) 'name_en': nameEn, + if (isFront != null) 'is_front': isFront, + if (rowid != null) 'rowid': rowid, + }); + } + + MuscleTableCompanion copyWith({ + Value? id, + Value? name, + Value? nameEn, + Value? isFront, + Value? rowid, + }) { + return MuscleTableCompanion( + id: id ?? this.id, + name: name ?? this.name, + nameEn: nameEn ?? this.nameEn, + isFront: isFront ?? this.isFront, + rowid: rowid ?? this.rowid, + ); + } + + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + if (id.present) { + map['id'] = Variable(id.value); + } + if (name.present) { + map['name'] = Variable(name.value); + } + if (nameEn.present) { + map['name_en'] = Variable(nameEn.value); + } + if (isFront.present) { + map['is_front'] = Variable(isFront.value); + } + if (rowid.present) { + map['rowid'] = Variable(rowid.value); + } + return map; + } + + @override + String toString() { + return (StringBuffer('MuscleTableCompanion(') + ..write('id: $id, ') + ..write('name: $name, ') + ..write('nameEn: $nameEn, ') + ..write('isFront: $isFront, ') + ..write('rowid: $rowid') + ..write(')')) + .toString(); + } +} + +class $ExerciseMuscleM2NTable extends ExerciseMuscleM2N + with TableInfo<$ExerciseMuscleM2NTable, ExerciseMuscleM2NData> { + @override + final GeneratedDatabase attachedDatabase; + final String? _alias; + $ExerciseMuscleM2NTable(this.attachedDatabase, [this._alias]); + static const VerificationMeta _idMeta = const VerificationMeta('id'); + @override + late final GeneratedColumn id = GeneratedColumn( + 'id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _exerciseIdMeta = const VerificationMeta( + 'exerciseId', + ); + @override + late final GeneratedColumn exerciseId = GeneratedColumn( + 'exercise_id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'REFERENCES exercises_exercise (id)', + ), + ); + static const VerificationMeta _muscleIdMeta = const VerificationMeta( + 'muscleId', + ); + @override + late final GeneratedColumn muscleId = GeneratedColumn( + 'muscle_id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'REFERENCES exercises_muscle (id)', + ), + ); + @override + List get $columns => [id, exerciseId, muscleId]; + @override + String get aliasedName => _alias ?? actualTableName; + @override + String get actualTableName => $name; + static const String $name = 'exercises_exercise_muscles'; + @override + VerificationContext validateIntegrity( + Insertable instance, { + bool isInserting = false, + }) { + final context = VerificationContext(); + final data = instance.toColumns(true); + if (data.containsKey('id')) { + context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); + } else if (isInserting) { + context.missing(_idMeta); + } + if (data.containsKey('exercise_id')) { + context.handle( + _exerciseIdMeta, + exerciseId.isAcceptableOrUnknown(data['exercise_id']!, _exerciseIdMeta), + ); + } else if (isInserting) { + context.missing(_exerciseIdMeta); + } + if (data.containsKey('muscle_id')) { + context.handle( + _muscleIdMeta, + muscleId.isAcceptableOrUnknown(data['muscle_id']!, _muscleIdMeta), + ); + } else if (isInserting) { + context.missing(_muscleIdMeta); + } + return context; + } + + @override + Set get $primaryKey => const {}; + @override + ExerciseMuscleM2NData map(Map data, {String? tablePrefix}) { + final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; + return ExerciseMuscleM2NData( + id: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}id'], + )!, + exerciseId: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}exercise_id'], + )!, + muscleId: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}muscle_id'], + )!, + ); + } + + @override + $ExerciseMuscleM2NTable createAlias(String alias) { + return $ExerciseMuscleM2NTable(attachedDatabase, alias); + } +} + +class ExerciseMuscleM2NData extends DataClass implements Insertable { + final int id; + final int exerciseId; + final int muscleId; + const ExerciseMuscleM2NData({ + required this.id, + required this.exerciseId, + required this.muscleId, + }); + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + map['id'] = Variable(id); + map['exercise_id'] = Variable(exerciseId); + map['muscle_id'] = Variable(muscleId); + return map; + } + + ExerciseMuscleM2NCompanion toCompanion(bool nullToAbsent) { + return ExerciseMuscleM2NCompanion( + id: Value(id), + exerciseId: Value(exerciseId), + muscleId: Value(muscleId), + ); + } + + factory ExerciseMuscleM2NData.fromJson( + Map json, { + ValueSerializer? serializer, + }) { + serializer ??= driftRuntimeOptions.defaultSerializer; + return ExerciseMuscleM2NData( + id: serializer.fromJson(json['id']), + exerciseId: serializer.fromJson(json['exerciseId']), + muscleId: serializer.fromJson(json['muscleId']), + ); + } + @override + Map toJson({ValueSerializer? serializer}) { + serializer ??= driftRuntimeOptions.defaultSerializer; + return { + 'id': serializer.toJson(id), + 'exerciseId': serializer.toJson(exerciseId), + 'muscleId': serializer.toJson(muscleId), + }; + } + + ExerciseMuscleM2NData copyWith({int? id, int? exerciseId, int? muscleId}) => + ExerciseMuscleM2NData( + id: id ?? this.id, + exerciseId: exerciseId ?? this.exerciseId, + muscleId: muscleId ?? this.muscleId, + ); + ExerciseMuscleM2NData copyWithCompanion(ExerciseMuscleM2NCompanion data) { + return ExerciseMuscleM2NData( + id: data.id.present ? data.id.value : this.id, + exerciseId: data.exerciseId.present ? data.exerciseId.value : this.exerciseId, + muscleId: data.muscleId.present ? data.muscleId.value : this.muscleId, + ); + } + + @override + String toString() { + return (StringBuffer('ExerciseMuscleM2NData(') + ..write('id: $id, ') + ..write('exerciseId: $exerciseId, ') + ..write('muscleId: $muscleId') + ..write(')')) + .toString(); + } + + @override + int get hashCode => Object.hash(id, exerciseId, muscleId); + @override + bool operator ==(Object other) => + identical(this, other) || + (other is ExerciseMuscleM2NData && + other.id == this.id && + other.exerciseId == this.exerciseId && + other.muscleId == this.muscleId); +} + +class ExerciseMuscleM2NCompanion extends UpdateCompanion { + final Value id; + final Value exerciseId; + final Value muscleId; + final Value rowid; + const ExerciseMuscleM2NCompanion({ + this.id = const Value.absent(), + this.exerciseId = const Value.absent(), + this.muscleId = const Value.absent(), + this.rowid = const Value.absent(), + }); + ExerciseMuscleM2NCompanion.insert({ + required int id, + required int exerciseId, + required int muscleId, + this.rowid = const Value.absent(), + }) : id = Value(id), + exerciseId = Value(exerciseId), + muscleId = Value(muscleId); + static Insertable custom({ + Expression? id, + Expression? exerciseId, + Expression? muscleId, + Expression? rowid, + }) { + return RawValuesInsertable({ + if (id != null) 'id': id, + if (exerciseId != null) 'exercise_id': exerciseId, + if (muscleId != null) 'muscle_id': muscleId, + if (rowid != null) 'rowid': rowid, + }); + } + + ExerciseMuscleM2NCompanion copyWith({ + Value? id, + Value? exerciseId, + Value? muscleId, + Value? rowid, + }) { + return ExerciseMuscleM2NCompanion( + id: id ?? this.id, + exerciseId: exerciseId ?? this.exerciseId, + muscleId: muscleId ?? this.muscleId, + rowid: rowid ?? this.rowid, + ); + } + + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + if (id.present) { + map['id'] = Variable(id.value); + } + if (exerciseId.present) { + map['exercise_id'] = Variable(exerciseId.value); + } + if (muscleId.present) { + map['muscle_id'] = Variable(muscleId.value); + } + if (rowid.present) { + map['rowid'] = Variable(rowid.value); + } + return map; + } + + @override + String toString() { + return (StringBuffer('ExerciseMuscleM2NCompanion(') + ..write('id: $id, ') + ..write('exerciseId: $exerciseId, ') + ..write('muscleId: $muscleId, ') + ..write('rowid: $rowid') + ..write(')')) + .toString(); + } +} + +class $ExerciseSecondaryMuscleM2NTable extends ExerciseSecondaryMuscleM2N + with TableInfo<$ExerciseSecondaryMuscleM2NTable, ExerciseSecondaryMuscleM2NData> { + @override + final GeneratedDatabase attachedDatabase; + final String? _alias; + $ExerciseSecondaryMuscleM2NTable(this.attachedDatabase, [this._alias]); + static const VerificationMeta _idMeta = const VerificationMeta('id'); + @override + late final GeneratedColumn id = GeneratedColumn( + 'id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _exerciseIdMeta = const VerificationMeta( + 'exerciseId', + ); + @override + late final GeneratedColumn exerciseId = GeneratedColumn( + 'exercise_id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'REFERENCES exercises_exercise (id)', + ), + ); + static const VerificationMeta _muscleIdMeta = const VerificationMeta( + 'muscleId', + ); + @override + late final GeneratedColumn muscleId = GeneratedColumn( + 'muscle_id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'REFERENCES exercises_muscle (id)', + ), + ); + @override + List get $columns => [id, exerciseId, muscleId]; + @override + String get aliasedName => _alias ?? actualTableName; + @override + String get actualTableName => $name; + static const String $name = 'exercises_exercise_muscles_secondary'; + @override + VerificationContext validateIntegrity( + Insertable instance, { + bool isInserting = false, + }) { + final context = VerificationContext(); + final data = instance.toColumns(true); + if (data.containsKey('id')) { + context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); + } else if (isInserting) { + context.missing(_idMeta); + } + if (data.containsKey('exercise_id')) { + context.handle( + _exerciseIdMeta, + exerciseId.isAcceptableOrUnknown(data['exercise_id']!, _exerciseIdMeta), + ); + } else if (isInserting) { + context.missing(_exerciseIdMeta); + } + if (data.containsKey('muscle_id')) { + context.handle( + _muscleIdMeta, + muscleId.isAcceptableOrUnknown(data['muscle_id']!, _muscleIdMeta), + ); + } else if (isInserting) { + context.missing(_muscleIdMeta); + } + return context; + } + + @override + Set get $primaryKey => const {}; + @override + ExerciseSecondaryMuscleM2NData map( + Map data, { + String? tablePrefix, + }) { + final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; + return ExerciseSecondaryMuscleM2NData( + id: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}id'], + )!, + exerciseId: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}exercise_id'], + )!, + muscleId: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}muscle_id'], + )!, + ); + } + + @override + $ExerciseSecondaryMuscleM2NTable createAlias(String alias) { + return $ExerciseSecondaryMuscleM2NTable(attachedDatabase, alias); + } +} + +class ExerciseSecondaryMuscleM2NData extends DataClass + implements Insertable { + final int id; + final int exerciseId; + final int muscleId; + const ExerciseSecondaryMuscleM2NData({ + required this.id, + required this.exerciseId, + required this.muscleId, + }); + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + map['id'] = Variable(id); + map['exercise_id'] = Variable(exerciseId); + map['muscle_id'] = Variable(muscleId); + return map; + } + + ExerciseSecondaryMuscleM2NCompanion toCompanion(bool nullToAbsent) { + return ExerciseSecondaryMuscleM2NCompanion( + id: Value(id), + exerciseId: Value(exerciseId), + muscleId: Value(muscleId), + ); + } + + factory ExerciseSecondaryMuscleM2NData.fromJson( + Map json, { + ValueSerializer? serializer, + }) { + serializer ??= driftRuntimeOptions.defaultSerializer; + return ExerciseSecondaryMuscleM2NData( + id: serializer.fromJson(json['id']), + exerciseId: serializer.fromJson(json['exerciseId']), + muscleId: serializer.fromJson(json['muscleId']), + ); + } + @override + Map toJson({ValueSerializer? serializer}) { + serializer ??= driftRuntimeOptions.defaultSerializer; + return { + 'id': serializer.toJson(id), + 'exerciseId': serializer.toJson(exerciseId), + 'muscleId': serializer.toJson(muscleId), + }; + } + + ExerciseSecondaryMuscleM2NData copyWith({ + int? id, + int? exerciseId, + int? muscleId, + }) => ExerciseSecondaryMuscleM2NData( + id: id ?? this.id, + exerciseId: exerciseId ?? this.exerciseId, + muscleId: muscleId ?? this.muscleId, + ); + ExerciseSecondaryMuscleM2NData copyWithCompanion( + ExerciseSecondaryMuscleM2NCompanion data, + ) { + return ExerciseSecondaryMuscleM2NData( + id: data.id.present ? data.id.value : this.id, + exerciseId: data.exerciseId.present ? data.exerciseId.value : this.exerciseId, + muscleId: data.muscleId.present ? data.muscleId.value : this.muscleId, + ); + } + + @override + String toString() { + return (StringBuffer('ExerciseSecondaryMuscleM2NData(') + ..write('id: $id, ') + ..write('exerciseId: $exerciseId, ') + ..write('muscleId: $muscleId') + ..write(')')) + .toString(); + } + + @override + int get hashCode => Object.hash(id, exerciseId, muscleId); + @override + bool operator ==(Object other) => + identical(this, other) || + (other is ExerciseSecondaryMuscleM2NData && + other.id == this.id && + other.exerciseId == this.exerciseId && + other.muscleId == this.muscleId); +} + +class ExerciseSecondaryMuscleM2NCompanion extends UpdateCompanion { + final Value id; + final Value exerciseId; + final Value muscleId; + final Value rowid; + const ExerciseSecondaryMuscleM2NCompanion({ + this.id = const Value.absent(), + this.exerciseId = const Value.absent(), + this.muscleId = const Value.absent(), + this.rowid = const Value.absent(), + }); + ExerciseSecondaryMuscleM2NCompanion.insert({ + required int id, + required int exerciseId, + required int muscleId, + this.rowid = const Value.absent(), + }) : id = Value(id), + exerciseId = Value(exerciseId), + muscleId = Value(muscleId); + static Insertable custom({ + Expression? id, + Expression? exerciseId, + Expression? muscleId, + Expression? rowid, + }) { + return RawValuesInsertable({ + if (id != null) 'id': id, + if (exerciseId != null) 'exercise_id': exerciseId, + if (muscleId != null) 'muscle_id': muscleId, + if (rowid != null) 'rowid': rowid, + }); + } + + ExerciseSecondaryMuscleM2NCompanion copyWith({ + Value? id, + Value? exerciseId, + Value? muscleId, + Value? rowid, + }) { + return ExerciseSecondaryMuscleM2NCompanion( + id: id ?? this.id, + exerciseId: exerciseId ?? this.exerciseId, + muscleId: muscleId ?? this.muscleId, + rowid: rowid ?? this.rowid, + ); + } + + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + if (id.present) { + map['id'] = Variable(id.value); + } + if (exerciseId.present) { + map['exercise_id'] = Variable(exerciseId.value); + } + if (muscleId.present) { + map['muscle_id'] = Variable(muscleId.value); + } + if (rowid.present) { + map['rowid'] = Variable(rowid.value); + } + return map; + } + + @override + String toString() { + return (StringBuffer('ExerciseSecondaryMuscleM2NCompanion(') + ..write('id: $id, ') + ..write('exerciseId: $exerciseId, ') + ..write('muscleId: $muscleId, ') + ..write('rowid: $rowid') + ..write(')')) + .toString(); + } +} + +class $EquipmentTableTable extends EquipmentTable with TableInfo<$EquipmentTableTable, Equipment> { + @override + final GeneratedDatabase attachedDatabase; + final String? _alias; + $EquipmentTableTable(this.attachedDatabase, [this._alias]); + static const VerificationMeta _idMeta = const VerificationMeta('id'); + @override + late final GeneratedColumn id = GeneratedColumn( + 'id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _nameMeta = const VerificationMeta('name'); + @override + late final GeneratedColumn name = GeneratedColumn( + 'name', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + @override + List get $columns => [id, name]; + @override + String get aliasedName => _alias ?? actualTableName; + @override + String get actualTableName => $name; + static const String $name = 'exercises_equipment'; + @override + VerificationContext validateIntegrity( + Insertable instance, { + bool isInserting = false, + }) { + final context = VerificationContext(); + final data = instance.toColumns(true); + if (data.containsKey('id')) { + context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); + } else if (isInserting) { + context.missing(_idMeta); + } + if (data.containsKey('name')) { + context.handle( + _nameMeta, + name.isAcceptableOrUnknown(data['name']!, _nameMeta), + ); + } else if (isInserting) { + context.missing(_nameMeta); + } + return context; + } + + @override + Set get $primaryKey => const {}; + @override + Equipment map(Map data, {String? tablePrefix}) { + final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; + return Equipment( + id: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}id'], + )!, + name: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}name'], + )!, + ); + } + + @override + $EquipmentTableTable createAlias(String alias) { + return $EquipmentTableTable(attachedDatabase, alias); + } +} + +class EquipmentTableCompanion extends UpdateCompanion { + final Value id; + final Value name; + final Value rowid; + const EquipmentTableCompanion({ + this.id = const Value.absent(), + this.name = const Value.absent(), + this.rowid = const Value.absent(), + }); + EquipmentTableCompanion.insert({ + required int id, + required String name, + this.rowid = const Value.absent(), + }) : id = Value(id), + name = Value(name); + static Insertable custom({ + Expression? id, + Expression? name, + Expression? rowid, + }) { + return RawValuesInsertable({ + if (id != null) 'id': id, + if (name != null) 'name': name, + if (rowid != null) 'rowid': rowid, + }); + } + + EquipmentTableCompanion copyWith({ + Value? id, + Value? name, + Value? rowid, + }) { + return EquipmentTableCompanion( + id: id ?? this.id, + name: name ?? this.name, + rowid: rowid ?? this.rowid, + ); + } + + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + if (id.present) { + map['id'] = Variable(id.value); + } + if (name.present) { + map['name'] = Variable(name.value); + } + if (rowid.present) { + map['rowid'] = Variable(rowid.value); + } + return map; + } + + @override + String toString() { + return (StringBuffer('EquipmentTableCompanion(') + ..write('id: $id, ') + ..write('name: $name, ') + ..write('rowid: $rowid') + ..write(')')) + .toString(); + } +} + +class $ExerciseEquipmentM2NTable extends ExerciseEquipmentM2N + with TableInfo<$ExerciseEquipmentM2NTable, ExerciseEquipmentM2NData> { + @override + final GeneratedDatabase attachedDatabase; + final String? _alias; + $ExerciseEquipmentM2NTable(this.attachedDatabase, [this._alias]); + static const VerificationMeta _idMeta = const VerificationMeta('id'); + @override + late final GeneratedColumn id = GeneratedColumn( + 'id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _exerciseIdMeta = const VerificationMeta( + 'exerciseId', + ); + @override + late final GeneratedColumn exerciseId = GeneratedColumn( + 'exercise_id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'REFERENCES exercises_exercise (id)', + ), + ); + static const VerificationMeta _equipmentIdMeta = const VerificationMeta( + 'equipmentId', + ); + @override + late final GeneratedColumn equipmentId = GeneratedColumn( + 'equipment_id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'REFERENCES exercises_equipment (id)', + ), + ); + @override + List get $columns => [id, exerciseId, equipmentId]; + @override + String get aliasedName => _alias ?? actualTableName; + @override + String get actualTableName => $name; + static const String $name = 'exercises_exercise_equipment'; + @override + VerificationContext validateIntegrity( + Insertable instance, { + bool isInserting = false, + }) { + final context = VerificationContext(); + final data = instance.toColumns(true); + if (data.containsKey('id')) { + context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); + } else if (isInserting) { + context.missing(_idMeta); + } + if (data.containsKey('exercise_id')) { + context.handle( + _exerciseIdMeta, + exerciseId.isAcceptableOrUnknown(data['exercise_id']!, _exerciseIdMeta), + ); + } else if (isInserting) { + context.missing(_exerciseIdMeta); + } + if (data.containsKey('equipment_id')) { + context.handle( + _equipmentIdMeta, + equipmentId.isAcceptableOrUnknown( + data['equipment_id']!, + _equipmentIdMeta, + ), + ); + } else if (isInserting) { + context.missing(_equipmentIdMeta); + } + return context; + } + + @override + Set get $primaryKey => const {}; + @override + ExerciseEquipmentM2NData map( + Map data, { + String? tablePrefix, + }) { + final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; + return ExerciseEquipmentM2NData( + id: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}id'], + )!, + exerciseId: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}exercise_id'], + )!, + equipmentId: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}equipment_id'], + )!, + ); + } + + @override + $ExerciseEquipmentM2NTable createAlias(String alias) { + return $ExerciseEquipmentM2NTable(attachedDatabase, alias); + } +} + +class ExerciseEquipmentM2NData extends DataClass implements Insertable { + final int id; + final int exerciseId; + final int equipmentId; + const ExerciseEquipmentM2NData({ + required this.id, + required this.exerciseId, + required this.equipmentId, + }); + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + map['id'] = Variable(id); + map['exercise_id'] = Variable(exerciseId); + map['equipment_id'] = Variable(equipmentId); + return map; + } + + ExerciseEquipmentM2NCompanion toCompanion(bool nullToAbsent) { + return ExerciseEquipmentM2NCompanion( + id: Value(id), + exerciseId: Value(exerciseId), + equipmentId: Value(equipmentId), + ); + } + + factory ExerciseEquipmentM2NData.fromJson( + Map json, { + ValueSerializer? serializer, + }) { + serializer ??= driftRuntimeOptions.defaultSerializer; + return ExerciseEquipmentM2NData( + id: serializer.fromJson(json['id']), + exerciseId: serializer.fromJson(json['exerciseId']), + equipmentId: serializer.fromJson(json['equipmentId']), + ); + } + @override + Map toJson({ValueSerializer? serializer}) { + serializer ??= driftRuntimeOptions.defaultSerializer; + return { + 'id': serializer.toJson(id), + 'exerciseId': serializer.toJson(exerciseId), + 'equipmentId': serializer.toJson(equipmentId), + }; + } + + ExerciseEquipmentM2NData copyWith({ + int? id, + int? exerciseId, + int? equipmentId, + }) => ExerciseEquipmentM2NData( + id: id ?? this.id, + exerciseId: exerciseId ?? this.exerciseId, + equipmentId: equipmentId ?? this.equipmentId, + ); + ExerciseEquipmentM2NData copyWithCompanion( + ExerciseEquipmentM2NCompanion data, + ) { + return ExerciseEquipmentM2NData( + id: data.id.present ? data.id.value : this.id, + exerciseId: data.exerciseId.present ? data.exerciseId.value : this.exerciseId, + equipmentId: data.equipmentId.present ? data.equipmentId.value : this.equipmentId, + ); + } + + @override + String toString() { + return (StringBuffer('ExerciseEquipmentM2NData(') + ..write('id: $id, ') + ..write('exerciseId: $exerciseId, ') + ..write('equipmentId: $equipmentId') + ..write(')')) + .toString(); + } + + @override + int get hashCode => Object.hash(id, exerciseId, equipmentId); + @override + bool operator ==(Object other) => + identical(this, other) || + (other is ExerciseEquipmentM2NData && + other.id == this.id && + other.exerciseId == this.exerciseId && + other.equipmentId == this.equipmentId); +} + +class ExerciseEquipmentM2NCompanion extends UpdateCompanion { + final Value id; + final Value exerciseId; + final Value equipmentId; + final Value rowid; + const ExerciseEquipmentM2NCompanion({ + this.id = const Value.absent(), + this.exerciseId = const Value.absent(), + this.equipmentId = const Value.absent(), + this.rowid = const Value.absent(), + }); + ExerciseEquipmentM2NCompanion.insert({ + required int id, + required int exerciseId, + required int equipmentId, + this.rowid = const Value.absent(), + }) : id = Value(id), + exerciseId = Value(exerciseId), + equipmentId = Value(equipmentId); + static Insertable custom({ + Expression? id, + Expression? exerciseId, + Expression? equipmentId, + Expression? rowid, + }) { + return RawValuesInsertable({ + if (id != null) 'id': id, + if (exerciseId != null) 'exercise_id': exerciseId, + if (equipmentId != null) 'equipment_id': equipmentId, + if (rowid != null) 'rowid': rowid, + }); + } + + ExerciseEquipmentM2NCompanion copyWith({ + Value? id, + Value? exerciseId, + Value? equipmentId, + Value? rowid, + }) { + return ExerciseEquipmentM2NCompanion( + id: id ?? this.id, + exerciseId: exerciseId ?? this.exerciseId, + equipmentId: equipmentId ?? this.equipmentId, + rowid: rowid ?? this.rowid, + ); + } + + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + if (id.present) { + map['id'] = Variable(id.value); + } + if (exerciseId.present) { + map['exercise_id'] = Variable(exerciseId.value); + } + if (equipmentId.present) { + map['equipment_id'] = Variable(equipmentId.value); + } + if (rowid.present) { + map['rowid'] = Variable(rowid.value); + } + return map; + } + + @override + String toString() { + return (StringBuffer('ExerciseEquipmentM2NCompanion(') + ..write('id: $id, ') + ..write('exerciseId: $exerciseId, ') + ..write('equipmentId: $equipmentId, ') + ..write('rowid: $rowid') + ..write(')')) + .toString(); + } +} + +class $ExerciseImageTableTable extends ExerciseImageTable + with TableInfo<$ExerciseImageTableTable, ExerciseImage> { + @override + final GeneratedDatabase attachedDatabase; + final String? _alias; + $ExerciseImageTableTable(this.attachedDatabase, [this._alias]); + static const VerificationMeta _idMeta = const VerificationMeta('id'); + @override + late final GeneratedColumn id = GeneratedColumn( + 'id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _uuidMeta = const VerificationMeta('uuid'); + @override + late final GeneratedColumn uuid = GeneratedColumn( + 'uuid', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _exerciseIdMeta = const VerificationMeta( + 'exerciseId', + ); + @override + late final GeneratedColumn exerciseId = GeneratedColumn( + 'exercise_id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'REFERENCES exercises_exercise (id)', + ), + ); + static const VerificationMeta _imageMeta = const VerificationMeta('image'); + @override + late final GeneratedColumn image = GeneratedColumn( + 'image', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _isMainMeta = const VerificationMeta('isMain'); + @override + late final GeneratedColumn isMain = GeneratedColumn( + 'is_main', + aliasedName, + false, + type: DriftSqlType.bool, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'CHECK ("is_main" IN (0, 1))', + ), + ); + static const VerificationMeta _isAiGeneratedMeta = const VerificationMeta( + 'isAiGenerated', + ); + @override + late final GeneratedColumn isAiGenerated = GeneratedColumn( + 'is_ai_generated', + aliasedName, + false, + type: DriftSqlType.bool, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'CHECK ("is_ai_generated" IN (0, 1))', + ), + ); + @override + late final GeneratedColumnWithTypeConverter style = + GeneratedColumn( + 'style', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ).withConverter($ExerciseImageTableTable.$converterstyle); + static const VerificationMeta _widthMeta = const VerificationMeta('width'); + @override + late final GeneratedColumn width = GeneratedColumn( + 'width', + aliasedName, + true, + type: DriftSqlType.int, + requiredDuringInsert: false, + ); + static const VerificationMeta _heightMeta = const VerificationMeta('height'); + @override + late final GeneratedColumn height = GeneratedColumn( + 'height', + aliasedName, + true, + type: DriftSqlType.int, + requiredDuringInsert: false, + ); + static const VerificationMeta _createdMeta = const VerificationMeta( + 'created', + ); + @override + late final GeneratedColumn created = GeneratedColumn( + 'created', + aliasedName, + false, + type: DriftSqlType.dateTime, + requiredDuringInsert: true, + ); + static const VerificationMeta _lastUpdateMeta = const VerificationMeta( + 'lastUpdate', + ); + @override + late final GeneratedColumn lastUpdate = GeneratedColumn( + 'last_update', + aliasedName, + false, + type: DriftSqlType.dateTime, + requiredDuringInsert: true, + ); + static const VerificationMeta _licenseIdMeta = const VerificationMeta( + 'licenseId', + ); + @override + late final GeneratedColumn licenseId = GeneratedColumn( + 'license_id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _licenseTitleMeta = const VerificationMeta( + 'licenseTitle', + ); + @override + late final GeneratedColumn licenseTitle = GeneratedColumn( + 'license_title', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _licenseObjectUrlMeta = const VerificationMeta( + 'licenseObjectUrl', + ); + @override + late final GeneratedColumn licenseObjectUrl = GeneratedColumn( + 'license_object_url', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _licenseAuthorMeta = const VerificationMeta( + 'licenseAuthor', + ); + @override + late final GeneratedColumn licenseAuthor = GeneratedColumn( + 'license_author', + aliasedName, + true, + type: DriftSqlType.string, + requiredDuringInsert: false, + ); + static const VerificationMeta _licenseAuthorUrlMeta = const VerificationMeta( + 'licenseAuthorUrl', + ); + @override + late final GeneratedColumn licenseAuthorUrl = GeneratedColumn( + 'license_author_url', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _licenseDerivativeSourceUrlMeta = const VerificationMeta( + 'licenseDerivativeSourceUrl', + ); + @override + late final GeneratedColumn licenseDerivativeSourceUrl = GeneratedColumn( + 'license_derivative_source_url', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + @override + List get $columns => [ + id, + uuid, + exerciseId, + image, + isMain, + isAiGenerated, + style, + width, + height, + created, + lastUpdate, + licenseId, + licenseTitle, + licenseObjectUrl, + licenseAuthor, + licenseAuthorUrl, + licenseDerivativeSourceUrl, + ]; + @override + String get aliasedName => _alias ?? actualTableName; + @override + String get actualTableName => $name; + static const String $name = 'exercises_exerciseimage'; + @override + VerificationContext validateIntegrity( + Insertable instance, { + bool isInserting = false, + }) { + final context = VerificationContext(); + final data = instance.toColumns(true); + if (data.containsKey('id')) { + context.handle(_idMeta, id.isAcceptableOrUnknown(data['id']!, _idMeta)); + } else if (isInserting) { + context.missing(_idMeta); + } + if (data.containsKey('uuid')) { + context.handle( + _uuidMeta, + uuid.isAcceptableOrUnknown(data['uuid']!, _uuidMeta), + ); + } else if (isInserting) { + context.missing(_uuidMeta); + } + if (data.containsKey('exercise_id')) { + context.handle( + _exerciseIdMeta, + exerciseId.isAcceptableOrUnknown(data['exercise_id']!, _exerciseIdMeta), + ); + } else if (isInserting) { + context.missing(_exerciseIdMeta); + } + if (data.containsKey('image')) { + context.handle( + _imageMeta, + image.isAcceptableOrUnknown(data['image']!, _imageMeta), + ); + } else if (isInserting) { + context.missing(_imageMeta); + } + if (data.containsKey('is_main')) { + context.handle( + _isMainMeta, + isMain.isAcceptableOrUnknown(data['is_main']!, _isMainMeta), + ); + } else if (isInserting) { + context.missing(_isMainMeta); + } + if (data.containsKey('is_ai_generated')) { + context.handle( + _isAiGeneratedMeta, + isAiGenerated.isAcceptableOrUnknown( + data['is_ai_generated']!, + _isAiGeneratedMeta, + ), + ); + } else if (isInserting) { + context.missing(_isAiGeneratedMeta); + } + if (data.containsKey('width')) { + context.handle( + _widthMeta, + width.isAcceptableOrUnknown(data['width']!, _widthMeta), + ); + } + if (data.containsKey('height')) { + context.handle( + _heightMeta, + height.isAcceptableOrUnknown(data['height']!, _heightMeta), + ); + } + if (data.containsKey('created')) { + context.handle( + _createdMeta, + created.isAcceptableOrUnknown(data['created']!, _createdMeta), + ); + } else if (isInserting) { + context.missing(_createdMeta); + } + if (data.containsKey('last_update')) { + context.handle( + _lastUpdateMeta, + lastUpdate.isAcceptableOrUnknown(data['last_update']!, _lastUpdateMeta), + ); + } else if (isInserting) { + context.missing(_lastUpdateMeta); + } + if (data.containsKey('license_id')) { + context.handle( + _licenseIdMeta, + licenseId.isAcceptableOrUnknown(data['license_id']!, _licenseIdMeta), + ); + } else if (isInserting) { + context.missing(_licenseIdMeta); + } + if (data.containsKey('license_title')) { + context.handle( + _licenseTitleMeta, + licenseTitle.isAcceptableOrUnknown( + data['license_title']!, + _licenseTitleMeta, + ), + ); + } else if (isInserting) { + context.missing(_licenseTitleMeta); + } + if (data.containsKey('license_object_url')) { + context.handle( + _licenseObjectUrlMeta, + licenseObjectUrl.isAcceptableOrUnknown( + data['license_object_url']!, + _licenseObjectUrlMeta, + ), + ); + } else if (isInserting) { + context.missing(_licenseObjectUrlMeta); + } + if (data.containsKey('license_author')) { + context.handle( + _licenseAuthorMeta, + licenseAuthor.isAcceptableOrUnknown( + data['license_author']!, + _licenseAuthorMeta, + ), + ); + } + if (data.containsKey('license_author_url')) { + context.handle( + _licenseAuthorUrlMeta, + licenseAuthorUrl.isAcceptableOrUnknown( + data['license_author_url']!, + _licenseAuthorUrlMeta, + ), + ); + } else if (isInserting) { + context.missing(_licenseAuthorUrlMeta); + } + if (data.containsKey('license_derivative_source_url')) { + context.handle( + _licenseDerivativeSourceUrlMeta, + licenseDerivativeSourceUrl.isAcceptableOrUnknown( + data['license_derivative_source_url']!, + _licenseDerivativeSourceUrlMeta, + ), + ); + } else if (isInserting) { + context.missing(_licenseDerivativeSourceUrlMeta); + } + return context; + } + + @override + Set get $primaryKey => const {}; + @override + ExerciseImage map(Map data, {String? tablePrefix}) { + final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : ''; + return ExerciseImage( + id: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}id'], + )!, + uuid: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}uuid'], + )!, + exerciseId: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}exercise_id'], + )!, + image: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}image'], + )!, + isMain: attachedDatabase.typeMapping.read( + DriftSqlType.bool, + data['${effectivePrefix}is_main'], + )!, + isAiGenerated: attachedDatabase.typeMapping.read( + DriftSqlType.bool, + data['${effectivePrefix}is_ai_generated'], + )!, + style: $ExerciseImageTableTable.$converterstyle.fromSql( + attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}style'], + )!, + ), + width: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}width'], + ), + height: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}height'], + ), + created: attachedDatabase.typeMapping.read( + DriftSqlType.dateTime, + data['${effectivePrefix}created'], + )!, + lastUpdate: attachedDatabase.typeMapping.read( + DriftSqlType.dateTime, + data['${effectivePrefix}last_update'], + )!, + licenseId: attachedDatabase.typeMapping.read( + DriftSqlType.int, + data['${effectivePrefix}license_id'], + )!, + licenseTitle: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}license_title'], + )!, + licenseObjectUrl: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}license_object_url'], + )!, + licenseAuthor: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}license_author'], + ), + licenseAuthorUrl: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}license_author_url'], + )!, + licenseDerivativeSourceUrl: attachedDatabase.typeMapping.read( + DriftSqlType.string, + data['${effectivePrefix}license_derivative_source_url'], + )!, + ); + } + + @override + $ExerciseImageTableTable createAlias(String alias) { + return $ExerciseImageTableTable(attachedDatabase, alias); + } + + static TypeConverter $converterstyle = + const ExerciseImageStyleConverter(); +} + +class ExerciseImageTableCompanion extends UpdateCompanion { + final Value id; + final Value uuid; + final Value exerciseId; + final Value image; + final Value isMain; + final Value isAiGenerated; + final Value style; + final Value width; + final Value height; + final Value created; + final Value lastUpdate; + final Value licenseId; + final Value licenseTitle; + final Value licenseObjectUrl; + final Value licenseAuthor; + final Value licenseAuthorUrl; + final Value licenseDerivativeSourceUrl; + final Value rowid; + const ExerciseImageTableCompanion({ + this.id = const Value.absent(), + this.uuid = const Value.absent(), + this.exerciseId = const Value.absent(), + this.image = const Value.absent(), + this.isMain = const Value.absent(), + this.isAiGenerated = const Value.absent(), + this.style = const Value.absent(), + this.width = const Value.absent(), + this.height = const Value.absent(), + this.created = const Value.absent(), + this.lastUpdate = const Value.absent(), + this.licenseId = const Value.absent(), + this.licenseTitle = const Value.absent(), + this.licenseObjectUrl = const Value.absent(), + this.licenseAuthor = const Value.absent(), + this.licenseAuthorUrl = const Value.absent(), + this.licenseDerivativeSourceUrl = const Value.absent(), + this.rowid = const Value.absent(), + }); + ExerciseImageTableCompanion.insert({ + required int id, + required String uuid, + required int exerciseId, + required String image, + required bool isMain, + required bool isAiGenerated, + required ExerciseImageStyle style, + this.width = const Value.absent(), + this.height = const Value.absent(), + required DateTime created, + required DateTime lastUpdate, + required int licenseId, + required String licenseTitle, + required String licenseObjectUrl, + this.licenseAuthor = const Value.absent(), + required String licenseAuthorUrl, + required String licenseDerivativeSourceUrl, + this.rowid = const Value.absent(), + }) : id = Value(id), + uuid = Value(uuid), + exerciseId = Value(exerciseId), + image = Value(image), + isMain = Value(isMain), + isAiGenerated = Value(isAiGenerated), + style = Value(style), + created = Value(created), + lastUpdate = Value(lastUpdate), + licenseId = Value(licenseId), + licenseTitle = Value(licenseTitle), + licenseObjectUrl = Value(licenseObjectUrl), + licenseAuthorUrl = Value(licenseAuthorUrl), + licenseDerivativeSourceUrl = Value(licenseDerivativeSourceUrl); + static Insertable custom({ + Expression? id, + Expression? uuid, + Expression? exerciseId, + Expression? image, + Expression? isMain, + Expression? isAiGenerated, + Expression? style, + Expression? width, + Expression? height, + Expression? created, + Expression? lastUpdate, + Expression? licenseId, + Expression? licenseTitle, + Expression? licenseObjectUrl, + Expression? licenseAuthor, + Expression? licenseAuthorUrl, + Expression? licenseDerivativeSourceUrl, + Expression? rowid, + }) { + return RawValuesInsertable({ + if (id != null) 'id': id, + if (uuid != null) 'uuid': uuid, + if (exerciseId != null) 'exercise_id': exerciseId, + if (image != null) 'image': image, + if (isMain != null) 'is_main': isMain, + if (isAiGenerated != null) 'is_ai_generated': isAiGenerated, + if (style != null) 'style': style, + if (width != null) 'width': width, + if (height != null) 'height': height, + if (created != null) 'created': created, + if (lastUpdate != null) 'last_update': lastUpdate, + if (licenseId != null) 'license_id': licenseId, + if (licenseTitle != null) 'license_title': licenseTitle, + if (licenseObjectUrl != null) 'license_object_url': licenseObjectUrl, + if (licenseAuthor != null) 'license_author': licenseAuthor, + if (licenseAuthorUrl != null) 'license_author_url': licenseAuthorUrl, + if (licenseDerivativeSourceUrl != null) + 'license_derivative_source_url': licenseDerivativeSourceUrl, + if (rowid != null) 'rowid': rowid, + }); + } + + ExerciseImageTableCompanion copyWith({ + Value? id, + Value? uuid, + Value? exerciseId, + Value? image, + Value? isMain, + Value? isAiGenerated, + Value? style, + Value? width, + Value? height, + Value? created, + Value? lastUpdate, + Value? licenseId, + Value? licenseTitle, + Value? licenseObjectUrl, + Value? licenseAuthor, + Value? licenseAuthorUrl, + Value? licenseDerivativeSourceUrl, + Value? rowid, + }) { + return ExerciseImageTableCompanion( + id: id ?? this.id, + uuid: uuid ?? this.uuid, + exerciseId: exerciseId ?? this.exerciseId, + image: image ?? this.image, + isMain: isMain ?? this.isMain, + isAiGenerated: isAiGenerated ?? this.isAiGenerated, + style: style ?? this.style, + width: width ?? this.width, + height: height ?? this.height, + created: created ?? this.created, + lastUpdate: lastUpdate ?? this.lastUpdate, + licenseId: licenseId ?? this.licenseId, + licenseTitle: licenseTitle ?? this.licenseTitle, + licenseObjectUrl: licenseObjectUrl ?? this.licenseObjectUrl, + licenseAuthor: licenseAuthor ?? this.licenseAuthor, + licenseAuthorUrl: licenseAuthorUrl ?? this.licenseAuthorUrl, + licenseDerivativeSourceUrl: licenseDerivativeSourceUrl ?? this.licenseDerivativeSourceUrl, + rowid: rowid ?? this.rowid, + ); + } + + @override + Map toColumns(bool nullToAbsent) { + final map = {}; + if (id.present) { + map['id'] = Variable(id.value); + } + if (uuid.present) { + map['uuid'] = Variable(uuid.value); + } + if (exerciseId.present) { + map['exercise_id'] = Variable(exerciseId.value); + } + if (image.present) { + map['image'] = Variable(image.value); + } + if (isMain.present) { + map['is_main'] = Variable(isMain.value); + } + if (isAiGenerated.present) { + map['is_ai_generated'] = Variable(isAiGenerated.value); + } + if (style.present) { + map['style'] = Variable( + $ExerciseImageTableTable.$converterstyle.toSql(style.value), + ); + } + if (width.present) { + map['width'] = Variable(width.value); + } + if (height.present) { + map['height'] = Variable(height.value); + } + if (created.present) { + map['created'] = Variable(created.value); + } + if (lastUpdate.present) { + map['last_update'] = Variable(lastUpdate.value); + } + if (licenseId.present) { + map['license_id'] = Variable(licenseId.value); + } + if (licenseTitle.present) { + map['license_title'] = Variable(licenseTitle.value); + } + if (licenseObjectUrl.present) { + map['license_object_url'] = Variable(licenseObjectUrl.value); + } + if (licenseAuthor.present) { + map['license_author'] = Variable(licenseAuthor.value); + } + if (licenseAuthorUrl.present) { + map['license_author_url'] = Variable(licenseAuthorUrl.value); + } + if (licenseDerivativeSourceUrl.present) { + map['license_derivative_source_url'] = Variable( + licenseDerivativeSourceUrl.value, + ); + } + if (rowid.present) { + map['rowid'] = Variable(rowid.value); + } + return map; + } + + @override + String toString() { + return (StringBuffer('ExerciseImageTableCompanion(') + ..write('id: $id, ') + ..write('uuid: $uuid, ') + ..write('exerciseId: $exerciseId, ') + ..write('image: $image, ') + ..write('isMain: $isMain, ') + ..write('isAiGenerated: $isAiGenerated, ') + ..write('style: $style, ') + ..write('width: $width, ') + ..write('height: $height, ') + ..write('created: $created, ') + ..write('lastUpdate: $lastUpdate, ') + ..write('licenseId: $licenseId, ') + ..write('licenseTitle: $licenseTitle, ') + ..write('licenseObjectUrl: $licenseObjectUrl, ') + ..write('licenseAuthor: $licenseAuthor, ') + ..write('licenseAuthorUrl: $licenseAuthorUrl, ') + ..write('licenseDerivativeSourceUrl: $licenseDerivativeSourceUrl, ') + ..write('rowid: $rowid') + ..write(')')) + .toString(); + } +} + +class $ExerciseVideoTableTable extends ExerciseVideoTable + with TableInfo<$ExerciseVideoTableTable, Video> { + @override + final GeneratedDatabase attachedDatabase; + final String? _alias; + $ExerciseVideoTableTable(this.attachedDatabase, [this._alias]); + static const VerificationMeta _idMeta = const VerificationMeta('id'); + @override + late final GeneratedColumn id = GeneratedColumn( + 'id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _uuidMeta = const VerificationMeta('uuid'); + @override + late final GeneratedColumn uuid = GeneratedColumn( + 'uuid', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _exerciseIdMeta = const VerificationMeta( + 'exerciseId', + ); + @override + late final GeneratedColumn exerciseId = GeneratedColumn( + 'exercise_id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'REFERENCES exercises_exercise (id)', + ), + ); + static const VerificationMeta _isMainMeta = const VerificationMeta('isMain'); + @override + late final GeneratedColumn isMain = GeneratedColumn( + 'is_main', + aliasedName, + false, + type: DriftSqlType.bool, + requiredDuringInsert: true, + defaultConstraints: GeneratedColumn.constraintIsAlways( + 'CHECK ("is_main" IN (0, 1))', + ), + ); + static const VerificationMeta _videoMeta = const VerificationMeta('video'); + @override + late final GeneratedColumn video = GeneratedColumn( + 'video', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _sizeMeta = const VerificationMeta('size'); + @override + late final GeneratedColumn size = GeneratedColumn( + 'size', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _durationMeta = const VerificationMeta( + 'duration', + ); + @override + late final GeneratedColumn duration = GeneratedColumn( + 'duration', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _widthMeta = const VerificationMeta('width'); + @override + late final GeneratedColumn width = GeneratedColumn( + 'width', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _heightMeta = const VerificationMeta('height'); + @override + late final GeneratedColumn height = GeneratedColumn( + 'height', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _codecMeta = const VerificationMeta('codec'); + @override + late final GeneratedColumn codec = GeneratedColumn( + 'codec', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _codecLongMeta = const VerificationMeta( + 'codecLong', + ); + @override + late final GeneratedColumn codecLong = GeneratedColumn( + 'codec_long', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _createdMeta = const VerificationMeta( + 'created', + ); + @override + late final GeneratedColumn created = GeneratedColumn( + 'created', + aliasedName, + false, + type: DriftSqlType.dateTime, + requiredDuringInsert: true, + ); + static const VerificationMeta _lastUpdateMeta = const VerificationMeta( + 'lastUpdate', + ); + @override + late final GeneratedColumn lastUpdate = GeneratedColumn( + 'last_update', + aliasedName, + false, + type: DriftSqlType.dateTime, + requiredDuringInsert: true, + ); + static const VerificationMeta _licenseIdMeta = const VerificationMeta( + 'licenseId', + ); + @override + late final GeneratedColumn licenseId = GeneratedColumn( + 'license_id', + aliasedName, + false, + type: DriftSqlType.int, + requiredDuringInsert: true, + ); + static const VerificationMeta _licenseTitleMeta = const VerificationMeta( + 'licenseTitle', + ); + @override + late final GeneratedColumn licenseTitle = GeneratedColumn( + 'license_title', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _licenseObjectUrlMeta = const VerificationMeta( + 'licenseObjectUrl', + ); + @override + late final GeneratedColumn licenseObjectUrl = GeneratedColumn( + 'license_object_url', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _licenseAuthorMeta = const VerificationMeta( + 'licenseAuthor', + ); + @override + late final GeneratedColumn licenseAuthor = GeneratedColumn( + 'license_author', + aliasedName, + true, + type: DriftSqlType.string, + requiredDuringInsert: false, + ); + static const VerificationMeta _licenseAuthorUrlMeta = const VerificationMeta( + 'licenseAuthorUrl', + ); + @override + late final GeneratedColumn licenseAuthorUrl = GeneratedColumn( + 'license_author_url', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + static const VerificationMeta _licenseDerivativeSourceUrlMeta = const VerificationMeta( + 'licenseDerivativeSourceUrl', + ); + @override + late final GeneratedColumn licenseDerivativeSourceUrl = GeneratedColumn( + 'license_derivative_source_url', + aliasedName, + false, + type: DriftSqlType.string, + requiredDuringInsert: true, + ); + @override + List get $columns => [ + id, + uuid, + exerciseId, + isMain, + video, + size, + duration, + width, + height, + codec, + codecLong, + created, + lastUpdate, + licenseId, + licenseTitle, + licenseObjectUrl, + licenseAuthor, + licenseAuthorUrl, + licenseDerivativeSourceUrl, + ]; + @override + String get aliasedName => _alias ?? actualTableName; + @override + String get actualTableName => $name; + static const String $name = 'exercises_exercisevideo'; + @override + VerificationContext validateIntegrity( + Insertable