Added loader to subscription refresh.
This commit is contained in:
1 parent
b62437146a
commit
7fb180973f
1 file changed
+2
@@ -32,8 +32,10 @@ class SubscriptionPage(Page):
|
||||
self.term.flash()
|
||||
return
|
||||
|
||||
with self.term.loader():
|
||||
self.content = SubscriptionContent.from_user(self.reddit,
|
||||
self.term.loader)
|
||||
if not self.term.loader.exception:
|
||||
self.nav = Navigator(self.content.get)
|
||||
|
||||
@SubscriptionController.register(curses.KEY_ENTER, Terminal.RETURN,
|
||||
|
||||
Reference in new issue
Block a user