invite_subpage: Stop spinners when idle
This commit is contained in:
parent
09b4b08d8d
commit
6cc917f3c3
2 changed files with 3 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue