rustdesk/flutter/lib
21pages ac124c0680
Some checks failed
CI / x86_64-unknown-linux-gnu (ubuntu-24.04) (push) Has been cancelled
Full Flutter CI / run-ci (push) Has been cancelled
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
..
common flutter: improve address book pull error handling (#14813) 2026-04-18 11:19:32 +08:00
desktop refact(password): Store permanent password as hashed verifier (#14619) 2026-03-26 14:49:54 +08:00
mobile refact(password): Store permanent password as hashed verifier (#14619) 2026-03-26 14:49:54 +08:00
models flutter: improve address book pull error handling (#14813) 2026-04-18 11:19:32 +08:00
native fix: web, reset cursor on disconn, back to main page (#9192) 2024-08-27 23:58:04 +08:00
plugin refact: optimize, ID search peers (#10853) 2025-02-20 18:31:12 +08:00
utils feat: Add relative mouse mode (#13928) 2026-01-09 10:03:14 +08:00
web refact(password): Store permanent password as hashed verifier (#14619) 2026-03-26 14:49:54 +08:00
common.dart fix(mobile): deeplink, disable by default (#14824) 2026-04-16 23:21:14 +08:00
consts.dart fix(mobile): deeplink, disable by default (#14824) 2026-04-16 23:21:14 +08:00
main.dart feat: advanced option, main window, always on top (#12731) 2025-08-26 00:15:55 +08:00