👽️ Aplica cambios de API asociados a componentes

This commit is contained in:
Manuel Cillero 2023-06-24 02:13:30 +02:00
parent 0e0b4ce604
commit f1f6f495bb
6 changed files with 6 additions and 6 deletions

View file

@ -28,7 +28,7 @@ impl ComponentTrait for Icon {
(self.renderable.check)(rcx)
}
fn before_prepare(&mut self, rcx: &mut RenderContext) {
fn before_prepare_component(&mut self, rcx: &mut RenderContext) {
rcx.alter(ContextOp::AddStyleSheet(
StyleSheet::located("/minimal/icons/bootstrap-icons.css").with_version("1.8.2"),
));