mirror of
https://github.com/ente-io/ente.git
synced 2025-08-05 05:24:26 +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 code = _filteredCodes[newIndex];
|
||||
|
||||
return ClipRect(
|
||||
child: CodeWidget(
|
||||
_filteredCodes[newIndex],
|
||||
key: ValueKey(code.hashCode),
|
||||
code,
|
||||
),
|
||||
);
|
||||
}),
|
||||
|
Loading…
x
Reference in New Issue
Block a user