Skip to content

Commit 5569ebf

Browse files
committed
move device name to the bottom
1 parent 4328aba commit 5569ebf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/SCRIPTS/TOOLS/ExpressLRS/ui/lvgl.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,10 +1038,6 @@ function UI.build()
10381038
end
10391039
end
10401040
else
1041-
if currentFolder == nil then
1042-
UI.createInfoRow(fieldContainer, { name = "Device", value = Protocol.deviceName or "Searching..." })
1043-
end
1044-
10451041
local fieldsInFolder = Protocol.getFieldsInFolder(currentFolder)
10461042
local FOLDERS_PER_ROW = 2
10471043
if IS_NARROW then
@@ -1094,6 +1090,10 @@ function UI.build()
10941090
UI.createInfoRow(fieldContainer, { name = "Lua script version", value = VERSION })
10951091
end
10961092

1093+
if currentFolder == nil then
1094+
UI.createInfoRow(fieldContainer, { name = "Device name", value = Protocol.deviceName or "Searching..." })
1095+
end
1096+
10971097
if currentFolder == nil and #Protocol.devices > 1 and not Navigation.hasDeviceEntry() then
10981098
fieldContainer:button({
10991099
text = "Other Devices",

0 commit comments

Comments
 (0)