From 2c5060b0f01cda41e464a376eb3eed2941e9a94c Mon Sep 17 00:00:00 2001 From: Jeevitha Kannan K S Date: Sun, 2 Feb 2025 16:12:17 +0530 Subject: [PATCH] fix(bluetooth-manager): wrong display of device list --- core/tabs/utils/bluetooth-control.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tabs/utils/bluetooth-control.sh b/core/tabs/utils/bluetooth-control.sh index 4cb299aa..0e4dfa6c 100644 --- a/core/tabs/utils/bluetooth-control.sh +++ b/core/tabs/utils/bluetooth-control.sh @@ -83,7 +83,7 @@ prompt_for_mac() { # Display devices with numbers i=1 - for device in $device_list; do + echo "$devices" | while IFS= read -r device; do printf "%d. %s\n" "$i" "$device" i=$((i + 1)) done