Skip to content

Commit 2ba07c4

Browse files
keep empty text as ~ until directory has finished loading
1 parent a719b0d commit 2ba07c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

file-browser.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,13 +1098,13 @@ local function update(moving_adjacent)
10981098
state.list = {}
10991099
disable_select_mode()
11001100
update_ass()
1101-
state.empty_text = "empty directory"
11021101

11031102
--the directory is always handled within a coroutine to allow addons to
11041103
--pause execution for asynchronous operations
11051104
API.coroutine.run(function()
11061105
state.co = coroutine.running()
11071106
update_list(moving_adjacent)
1107+
state.empty_text = "empty directory"
11081108
update_ass()
11091109
end)
11101110
end

0 commit comments

Comments
 (0)