[frontend/components] Fix off by one error in AttachmentView navigation

This commit is contained in:
Lilian 2024-11-28 21:33:07 +01:00
parent 8a7bcde0c3
commit e70cb01c5b
No known key found for this signature in database

View file

@ -61,7 +61,7 @@
private async Task Next()
{
if (Focused >= _refs.Count)
if (Focused >= _refs.Count -1)
{
return;
}