File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 178
178
179
179
---- ----------------------------------------------------------------------------
180
180
function menu_handle_key_up_down (fields , textlist , settingname )
181
- local oldidx , newidx = core .get_textlist_index (textlist )
181
+ local oldidx , newidx = core .get_textlist_index (textlist ), 1
182
182
if fields .key_up or fields .key_down then
183
183
if fields .key_up and oldidx and oldidx > 1 then
184
184
newidx = oldidx - 1
@@ -203,12 +203,20 @@ function asyncOnlineFavourites()
203
203
end
204
204
menudata .favorites = menudata .public_known
205
205
menudata .favorites_is_public = true
206
+
207
+ if not menudata .public_downloading then
208
+ menudata .public_downloading = true
209
+ else
210
+ return
211
+ end
212
+
206
213
core .handle_async (
207
214
function (param )
208
215
return core .get_favorites (" online" )
209
216
end ,
210
217
nil ,
211
218
function (result )
219
+ menudata .public_downloading = nil
212
220
local favs = order_favorite_list (result )
213
221
if favs [1 ] then
214
222
menudata .public_known = favs
You can’t perform that action at this time.
0 commit comments