RustDesk/flutter
RustDesk ab64a32f30
avatar (#14440)
* avatar

* refactor avatar display: unify rendering and resolve at use time

  - Extract buildAvatarWidget() in common.dart to share avatar rendering
    logic across desktop settings, desktop CM and mobile CM
  - Add resolve_avatar_url() in Rust, exposed via FFI (SyncReturn),
    to resolve relative avatar paths (e.g. "/avatar/xxx") to absolute URLs
  - Store avatar as-is in local config, only resolve when displaying
    (settings page) or sending (LoginRequest)
  - Resolve avatar in LoginRequest before sending to remote peer
  - Add error handling for network image load failures
  - Guard against empty client.name[0] crash
  - Show avatar in mobile settings page account tile

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

* web: implement mainResolveAvatarUrl via js getByName

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

* increase ipc Data enum size limit to 120 bytes

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

---------

Signed-off-by: 21pages <sunboeasy@gmail.com>
Co-authored-by: 21pages <sunboeasy@gmail.com>
2026-03-04 21:43:19 +08:00
..
android rename RustDeskApplication to MainApplication (#13362) 2025-10-31 11:07:32 +08:00
assets refact: remote toolbar icon (#13865) 2025-12-22 17:10:53 +08:00
ios ios: Enable file sharing and document browser support (#13226) 2025-10-23 15:58:50 +08:00
lib avatar (#14440) 2026-03-04 21:43:19 +08:00
linux Fix/linux shortcuts inhibit (#14302) 2026-02-11 16:11:47 +08:00
macos feat: Add relative mouse mode (#13928) 2026-01-09 10:03:14 +08:00
test
windows feat: windows, custom client, update (#13687) 2026-02-27 21:50:20 +08:00
.gitattributes
.gitignore
.metadata
analysis_options.yaml
build_android.sh
build_android_deps.sh
build_fdroid.sh
build_ios.sh
ios_arm64.sh
ios_x64.sh
ndk_arm.sh
ndk_arm64.sh
ndk_x64.sh
ndk_x86.sh Fix OpenSSL build with Android NDK clang on x86 (#13684) 2025-12-04 17:54:07 +08:00
pubspec.lock
pubspec.yaml bump to 1.4.6 2026-02-27 20:53:40 +08:00
README.md
run.sh

flutter_hbb

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples and guidance on mobile development, and a full API reference.