RustDesk/flutter/lib/common/widgets
21pages ac124c0680
flutter: improve address book pull error handling (#14813)
* flutter: improve address book pull error handling

Summary:
  - Show error messages when fetching the address book list fails.
  - After the initial fetch, switching back to the AB tab no longer re-fetches it, even if an error occurred or the error banner was dismissed.

  Tested:
  - Self-hosted server:
    - normal
    - 403 responses
    - legacy address book mode
  - Public server
  - Verified that switching tabs no longer re-fetches AB after the initial fetch, regardless of whether an error occurred or the error banner was cleared.

Signed-off-by: 21pages <sunboeasy@gmail.com>

* use resp.statusCode in address book json decoding

Signed-off-by: 21pages <sunboeasy@gmail.com>

* flutter: clear address book list errors on reset

Signed-off-by: 21pages <sunboeasy@gmail.com>

* flutter: clear address book pull errors consistently

Signed-off-by: 21pages <sunboeasy@gmail.com>

---------

Signed-off-by: 21pages <sunboeasy@gmail.com>
2026-04-18 11:19:32 +08:00
..
address_book.dart flutter: improve address book pull error handling (#14813) 2026-04-18 11:19:32 +08:00
animated_rotation_widget.dart don't use Offstage as widget of animated loading, reuse refresh as 2023-08-18 12:58:37 +08:00
audio_input.dart
autocomplete.dart
chat_page.dart
connection_page_title.dart
custom_password.dart
custom_scale_base.dart
dialog.dart ask for note at end of connection (#13499) 2025-11-13 23:35:40 +08:00
gestures.dart fix issue: #13911 'Double Click' bug on iPad with Magic Mouse (#14086) 2026-01-28 15:14:06 +08:00
login.dart add microsoft oidc logo 2026-04-15 14:39:46 +08:00
my_group.dart - UI display: display_name first (#14358) 2026-02-22 14:59:25 +08:00
overlay.dart
peer_card.dart
peer_tab_page.dart
peers_view.dart - UI display: display_name first (#14358) 2026-02-22 14:59:25 +08:00
remote_input.dart impl(cm): implement change_theme and change_language callbacks (#14782) 2026-04-15 17:35:51 +08:00
setting_widgets.dart
toolbar.dart fix switch sides for macOS peers (#14661) 2026-04-07 23:39:24 +08:00