Skip to content

Commit c3d0c17

Browse files
committed
Fix regression caused by android changes
1 parent 9341b3a commit c3d0c17

File tree

1 file changed

+2
-2
lines changed
  • src/platform/android/app/src/main/assets

1 file changed

+2
-2
lines changed

src/platform/android/app/src/main/assets/main.bas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ sub listFiles(byref frm, path, sortDir, byref basList)
397397
endif
398398
if (abbr) then
399399
bn = mk_bn(path + name, name, txtcol)
400-
bn.type = iff(lower(right(name, 4)) == ".bas", "link", "label")
400+
bn.type = iff(!is_android || lower(right(name, 4)) == ".bas", "link", "label")
401401
if (bn.type == "label") then bn.color = colText
402402
if (!node.dir) then bn.isExit = true
403403
else
@@ -407,7 +407,7 @@ sub listFiles(byref frm, path, sortDir, byref basList)
407407
lab = name
408408
endif
409409
bn = mk_bn(path + name, lab, txtcol)
410-
bn.type = iff(lower(right(name, 4)) == ".bas", "link", "label")
410+
bn.type = iff(!is_android || lower(right(name, 4)) == ".bas", "link", "label")
411411
if (bn.type == "label") then bn.color = colText
412412
if (!node.dir) then bn.isExit = true
413413
frm.inputs << bn

0 commit comments

Comments
 (0)