mirror of
https://github.com/ente-io/ente.git
synced 2025-08-05 22:27:58 +00:00
## Description Fixes the bug in the code list by adding a key to the CodeWidget
This commit is contained in:
parent
f2f6160aff
commit
29a88e673f
@ -407,9 +407,12 @@ class _HomePageState extends State<HomePage> {
|
|||||||
}
|
}
|
||||||
final newIndex = index - indexOffset;
|
final newIndex = index - indexOffset;
|
||||||
|
|
||||||
|
final code = _filteredCodes[newIndex];
|
||||||
|
|
||||||
return ClipRect(
|
return ClipRect(
|
||||||
child: CodeWidget(
|
child: CodeWidget(
|
||||||
_filteredCodes[newIndex],
|
key: ValueKey(code.hashCode),
|
||||||
|
code,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user