1
0
Fork 0
mirror of https://github.com/seiichiro0185/sailotp.git synced 2024-11-14 21:16:42 +00:00

Move Component.onCompleted at the end

This is used to trigger an action when the page has finished being built
and is now ready for use.  Instead of having this code at the end of the
definition of the SilicaListView at the end of the SilicaFlickable, put
it directly at the end of the Page itself.

In next commits, we are going to move code around, and this will make
maintainers life easier when reviewing changes by minimizing the size of
the diffs.
This commit is contained in:
Romain Tartière 2024-09-29 18:23:42 -10:00
parent 90314355e0
commit 8af1daaa39
No known key found for this signature in database
GPG key ID: BA4D1D955112336F

View file

@ -322,11 +322,11 @@ Page {
}
}
VerticalScrollDecorator{}
Component.onCompleted: {
// Load list of OTP-Entries
refreshOTPList();
}
}
}
Component.onCompleted: {
// Load list of OTP-Entries
refreshOTPList();
}
}