High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore(mobile): Adds dart format to static analysis (#7193)
martyfuhrydd537959530e
diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.ymlindex a6de171fb8..c2b633c4b0 100644--- a/.github/workflows/static_analysis.yml+++ b/.github/workflows/static_analysis.yml@@ -32,7 +32,11 @@ jobs:- name: Run dart analyzerun: dart analyze --fatal-infosworking-directory: ./mobile-++ - name: Run dart format+ run: dart format lib/ --set-exit-if-changed+ working-directory: ./mobile+# Enable after riverpod generator migration is completed# - name: Run dart custom lint# run: dart run custom_lintdiff --git a/mobile/lib/shared/providers/websocket.provider.dart b/mobile/lib/shared/providers/websocket.provider.dartindex 9c728bc998..89f99dc6df 100644--- a/mobile/lib/shared/providers/websocket.provider.dart+++ b/mobile/lib/shared/providers/websocket.provider.dart@@ -110,7 +110,8 @@ class WebsocketNotifier extends StateNotifier<WebsocketState> {final endpoint = Uri.parse(Store.get(StoreKey.serverEndpoint));final headers = {"x-immich-user-token": accessToken};if (endpoint.userInfo.isNotEmpty) {- headers["Authorization"] = "Basic ${base64.encode(utf8.encode(endpoint.userInfo))}";+ headers["Authorization"] =+ "Basic ${base64.encode(utf8.encode(endpoint.userInfo))}";}debugPrint("Attempting to connect to websocket");