message_media: Stop spinners when idle
This commit is contained in:
parent
59c6fc2441
commit
d3a9732cae
2 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
|||
</object>
|
||||
</child>
|
||||
<child type="overlay">
|
||||
<object class="GtkSpinner" id="overlay_spinner">
|
||||
<object class="Spinner" id="overlay_spinner">
|
||||
<property name="halign">center</property>
|
||||
<property name="valign">center</property>
|
||||
<layout>
|
||||
|
|
|
@ -19,7 +19,7 @@ use matrix_sdk::{
|
|||
|
||||
use super::ContentFormat;
|
||||
use crate::{
|
||||
components::{ImagePaintable, VideoPlayer},
|
||||
components::{ImagePaintable, Spinner, VideoPlayer},
|
||||
session::Session,
|
||||
spawn, spawn_tokio,
|
||||
utils::{cache_dir, media::media_type_uid, uint_to_i32},
|
||||
|
@ -76,7 +76,7 @@ mod imp {
|
|||
#[template_child]
|
||||
pub overlay_error: TemplateChild<gtk::Image>,
|
||||
#[template_child]
|
||||
pub overlay_spinner: TemplateChild<gtk::Spinner>,
|
||||
pub overlay_spinner: TemplateChild<Spinner>,
|
||||
}
|
||||
|
||||
#[glib::object_subclass]
|
||||
|
|
Loading…
Reference in a new issue