fix(Lists): don't show spinner if there's no results
This commit is contained in:
parent
8c908a05a7
commit
b7155df0ce
|
@ -343,6 +343,7 @@ public class Tooth.Views.Lists : Views.Timeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void on_request_finish () {
|
public override void on_request_finish () {
|
||||||
|
base.on_request_finish ();
|
||||||
on_content_changed ();
|
on_content_changed ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,9 @@ public class Tooth.Views.Timeline : AccountHolder, Streamable, Views.ContentBase
|
||||||
return req;
|
return req;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual void on_request_finish () {}
|
public virtual void on_request_finish () {
|
||||||
|
status_loading = false;
|
||||||
|
}
|
||||||
|
|
||||||
public virtual bool request () {
|
public virtual bool request () {
|
||||||
var req = append_params (new Request.GET (get_req_url ()))
|
var req = append_params (new Request.GET (get_req_url ()))
|
||||||
|
|
Loading…
Reference in New Issue