mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-02-21 04:58:55 -06:00
[client] Fix oobe
This commit is contained in:
@@ -70,9 +70,9 @@ class _FolderContentsViewState extends State<FolderContentsView> {
|
||||
FocusUpIntent: CallbackAction<FocusUpIntent>(onInvoke: (i) {
|
||||
if (resources.isEmpty) return;
|
||||
final index = focusIndex == -1
|
||||
? resources.length
|
||||
? (resources.length - 1)
|
||||
: focusIndex > 0
|
||||
? min(focusIndex - 1, resources.length)
|
||||
? min(focusIndex - 1, resources.length - 1)
|
||||
: 0;
|
||||
updateSelection(index, i.mode, true);
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user