From 646dc79d8689271e8d2a80dd3dac253d72a1a120 Mon Sep 17 00:00:00 2001 From: Strycher Date: Mon, 27 Jul 2026 02:22:28 -0400 Subject: [PATCH] fix(#396): use the platform-standard share icon on the BLE log button The button used Icons.ios_share for all mobile, so Android showed the iOS share glyph. Split by platform: Android -> Icons.share, iOS -> Icons.ios_share, desktop -> Icons.folder_open (reveal the saved logs). Co-Authored-By: Claude Opus 4.8 --- lib/screens/ble_debug_log_screen.dart | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/screens/ble_debug_log_screen.dart b/lib/screens/ble_debug_log_screen.dart index 81c4602..68c97cc 100644 --- a/lib/screens/ble_debug_log_screen.dart +++ b/lib/screens/ble_debug_log_screen.dart @@ -42,7 +42,16 @@ class _BleDebugLogScreenState extends State { actions: [ IconButton( tooltip: isMobile ? 'Share logs' : 'Open logs folder', - icon: Icon(isMobile ? Icons.ios_share : Icons.folder_open), + // Platform-standard share glyph: Android uses Icons.share + // (connected nodes), iOS uses Icons.ios_share (square+arrow), + // desktop reveals the saved file (folder). #396 + icon: Icon( + defaultTargetPlatform == TargetPlatform.android + ? Icons.share + : isMobile + ? Icons.ios_share + : Icons.folder_open, + ), onPressed: () => _exportLogs(context), ), IconButton(