[fix] Reintroduce "Start with" default to prevent nil string on startup (#10369)
Regression from #10198. Fixes #10368.
This commit is contained in:
1 parent
0db042fd0c
commit
744f2d185f
1 file changed
+1
-1
@@ -889,7 +889,7 @@ function FileManagerMenu:getStartWithMenuTable()
|
||||
end
|
||||
return {
|
||||
text_func = function()
|
||||
local start_with = G_reader_settings:readSetting("start_with")
|
||||
local start_with = G_reader_settings:readSetting("start_with") or "filemanager"
|
||||
for i, v in ipairs(start_withs) do
|
||||
if v[2] == start_with then
|
||||
return T(_("Start with: %1"), v[1])
|
||||
|
||||
Reference in new issue
Block a user