File tree Expand file tree Collapse file tree
src/SCRIPTS/TOOLS/ExpressLRS/ui Expand file tree Collapse file tree Original file line number Diff line number Diff 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" ,
You can’t perform that action at this time.
0 commit comments