[PR #948] [MERGED] refactor(mobile): tidy-up dependencies, remove unused, replace rarely used ones #8838

Closed
opened 2026-02-05 13:54:06 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/948
Author: @fyfrey
Created: 11/9/2022
Status: Merged
Merged: 11/11/2022
Merged by: @alextran1502

Base: mainHead: dev/tidyup-mobile-dependencies


📝 Commits (1)

  • b6a77c0 refactor(mobile): tidy-up dependencies, remove unused, replace rarely used ones

📊 Changes

13 files changed (+76 additions, -303 deletions)

View changed files

mobile/lib/modules/asset_viewer/ui/download_loading_indicator.dart (+0 -24)
📝 mobile/lib/modules/asset_viewer/views/gallery_viewer.dart (+10 -7)
📝 mobile/lib/modules/asset_viewer/views/image_viewer_page.dart (+2 -2)
📝 mobile/lib/modules/asset_viewer/views/video_viewer_page.dart (+2 -2)
📝 mobile/lib/modules/backup/models/error_upload_asset.model.dart (+21 -11)
📝 mobile/lib/modules/backup/views/backup_controller_page.dart (+19 -19)
📝 mobile/lib/modules/search/views/search_result_page.dart (+2 -6)
📝 mobile/lib/shared/providers/release_info.provider.dart (+11 -10)
mobile/lib/shared/services/network.service.dart (+0 -140)
📝 mobile/lib/shared/ui/immich_loading_indicator.dart (+2 -5)
mobile/lib/utils/dio_http_interceptor.dart (+0 -16)
📝 mobile/pubspec.lock (+2 -51)
📝 mobile/pubspec.yaml (+5 -10)

📄 Description

  • removed dependencies: dio, exif, flutter_swipe_detector, percent_indicator, equatable, flutter_spinkit
  • removed some dead code
  • marginally reduces app size

Backup screen storage and backup progress indicator no longer have rounded borders:

old:
old

new:
new

Progress text color now matches all the other text color on that page

I've further identified that image_picker could be replaced: only used to select user profile image from system gallery -> we can simply select an image from within immich


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/948 **Author:** [@fyfrey](https://github.com/fyfrey) **Created:** 11/9/2022 **Status:** ✅ Merged **Merged:** 11/11/2022 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `dev/tidyup-mobile-dependencies` --- ### 📝 Commits (1) - [`b6a77c0`](https://github.com/immich-app/immich/commit/b6a77c0694a72c4a27c45327092ccb3a419e1262) refactor(mobile): tidy-up dependencies, remove unused, replace rarely used ones ### 📊 Changes **13 files changed** (+76 additions, -303 deletions) <details> <summary>View changed files</summary> ➖ `mobile/lib/modules/asset_viewer/ui/download_loading_indicator.dart` (+0 -24) 📝 `mobile/lib/modules/asset_viewer/views/gallery_viewer.dart` (+10 -7) 📝 `mobile/lib/modules/asset_viewer/views/image_viewer_page.dart` (+2 -2) 📝 `mobile/lib/modules/asset_viewer/views/video_viewer_page.dart` (+2 -2) 📝 `mobile/lib/modules/backup/models/error_upload_asset.model.dart` (+21 -11) 📝 `mobile/lib/modules/backup/views/backup_controller_page.dart` (+19 -19) 📝 `mobile/lib/modules/search/views/search_result_page.dart` (+2 -6) 📝 `mobile/lib/shared/providers/release_info.provider.dart` (+11 -10) ➖ `mobile/lib/shared/services/network.service.dart` (+0 -140) 📝 `mobile/lib/shared/ui/immich_loading_indicator.dart` (+2 -5) ➖ `mobile/lib/utils/dio_http_interceptor.dart` (+0 -16) 📝 `mobile/pubspec.lock` (+2 -51) 📝 `mobile/pubspec.yaml` (+5 -10) </details> ### 📄 Description - removed dependencies: dio, exif, flutter_swipe_detector, percent_indicator, equatable, flutter_spinkit - removed some dead code - marginally reduces app size Backup screen storage and backup progress indicator no longer have rounded borders: old: ![old](https://user-images.githubusercontent.com/10599762/200870923-ef741095-f5bb-495f-81df-22e75cfb94ac.png) new: ![new](https://user-images.githubusercontent.com/10599762/200870949-f47a2996-ab6a-401e-96af-a171eebc4a8c.png) Progress text color now matches all the other text color on that page I've further identified that image_picker could be replaced: only used to select user profile image from system gallery -> we can simply select an image from within immich --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 13:54:06 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#8838