mirror of
https://github.com/ente-io/ente.git
synced 2025-08-09 15:59:00 +00:00
Lint fix
This commit is contained in:
parent
219e5590bc
commit
ffe7535cd2
@ -90,8 +90,8 @@ class _HomePageState extends State<HomePage> {
|
|||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
super.initState();
|
super.initState();
|
||||||
_textController.addListener(_applyFilteringAndRefresh);
|
|
||||||
_codeSortKey = PreferenceService.instance.codeSortKey();
|
_codeSortKey = PreferenceService.instance.codeSortKey();
|
||||||
|
_textController.addListener(_applyFilteringAndRefresh);
|
||||||
_loadCodes();
|
_loadCodes();
|
||||||
_streamSubscription = Bus.instance.on<CodesUpdatedEvent>().listen((event) {
|
_streamSubscription = Bus.instance.on<CodesUpdatedEvent>().listen((event) {
|
||||||
_loadCodes();
|
_loadCodes();
|
||||||
@ -580,7 +580,7 @@ class _HomePageState extends State<HomePage> {
|
|||||||
|
|
||||||
return ClipRect(
|
return ClipRect(
|
||||||
child: CodeWidget(
|
child: CodeWidget(
|
||||||
key: ValueKey('${code.hashCode}_$newIndex_${_codeSortKey ?? ""}'),
|
key: ValueKey('${code.hashCode}_${newIndex}_$_codeSortKey'),
|
||||||
code,
|
code,
|
||||||
isCompactMode: isCompactMode,
|
isCompactMode: isCompactMode,
|
||||||
sortKey: _codeSortKey,
|
sortKey: _codeSortKey,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user