immich/mobile/lib/widgets/settings
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
..
asset_list_settings chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
asset_viewer_settings chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
backup_settings chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
beta_sync_settings chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
custom_proxy_headers_settings feat(mobile): add support for material themes (#11560) 2024-08-06 14:20:27 +00:00
networking_settings chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
preference_settings chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
advanced_settings.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
beta_timeline_list_tile.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
language_settings.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
local_storage_settings.dart fix(mobile): empty translation placeholders (#18063) 2025-05-06 09:21:05 -04:00
notification_setting.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
settings_button_list_tile.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
settings_card.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
settings_radio_list_tile.dart refactor: DCM - const border radius, constructor & switch expressions (#19515) 2025-06-25 13:06:24 +05:30
settings_slider_list_tile.dart refactor(mobile): widgets (#9291) 2024-05-06 23:04:21 -05:00
settings_sub_page_scaffold.dart refactor(mobile): widgets (#9291) 2024-05-06 23:04:21 -05:00
settings_sub_title.dart refactor(mobile): widgets (#9291) 2024-05-06 23:04:21 -05:00
settings_switch_list_tile.dart chore: bump line length to 120 (#20191) 2025-07-25 02:37:22 +00:00
ssl_client_cert_settings.dart fix: add missing awaits when changing client certificate (#20189) 2025-07-25 00:28:33 -05:00