immich/mobile/lib
Jeremy Fleischman de67d22bc0
fix: add missing awaits when changing client certificate (#20189)
I ran into this while testing out
<https://github.com/immich-app/immich/pull/19830>. When I add, change,
or remove a client certificate under Immich's advanced settings, the
change wouldn't take effect until some mysterious point in the future.
For example:

1. Add a client certificate. It doesn't get used.
2. Remove certificate. *Now* the client certificate from step 1) is used.
3. Restart application. Now no client certificate is used.

This all boils down to some missing `await`s. The user would change the
cert, and we'd start asynchronously saving it to the store, and while
the save is still happening, [`HttpSSLOptions` pulls the "old" value out of
`SSLClientCertStoreVal`](https://github.com/immich-app/immich/blob/v1.136.0/mobile/lib/utils/http_ssl_options.dart#L30).

With the appropriate `await`s, this behaves much more sanely.
2025-07-25 00:28:33 -05:00
..
constants chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
domain chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
entities fix: add missing awaits when changing client certificate (#20189) 2025-07-25 00:28:33 -05:00
extensions chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
infrastructure chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
interfaces refactor(mobile): interfaces refactor (#19415) 2025-06-23 11:27:44 -05:00
mixins chore: flutter 3.29.1 (#16730) 2025-03-10 21:46:36 -05:00
models chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
pages fix: add beta toggle in landscape mode (#20187) 2025-07-25 00:28:21 -05:00
platform chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
presentation chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
providers chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
repositories chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
routing chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
services chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
theme chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
utils chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
widgets fix: add missing awaits when changing client certificate (#20189) 2025-07-25 00:28:33 -05:00
main.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00