invite_subpage: Stop spinners when idle

This commit is contained in:
Maximiliano Sandoval R 2023-04-10 13:41:25 +02:00
parent 09b4b08d8d
commit 6cc917f3c3
No known key found for this signature in database
GPG key ID: D64A8D747F6FE706
2 changed files with 3 additions and 4 deletions

View file

@ -124,8 +124,7 @@
</object>
</child>
<child>
<object class="GtkSpinner" id="loading_page">
<property name="spinning">True</property>
<object class="Spinner" id="loading_page">
<property name="valign">center</property>
<property name="halign">center</property>
<style>

View file

@ -10,7 +10,7 @@ use self::{
invitee_row::InviteeRow,
};
use crate::{
components::{Pill, SpinnerButton},
components::{Pill, Spinner, SpinnerButton},
session::{Room, User},
spawn,
};
@ -47,7 +47,7 @@ mod imp {
#[template_child]
pub error_page: TemplateChild<adw::StatusPage>,
#[template_child]
pub loading_page: TemplateChild<gtk::Spinner>,
pub loading_page: TemplateChild<Spinner>,
}
#[glib::object_subclass]