Update method name
This commit is contained in:
@@ -37,7 +37,7 @@ class SubscriptionPage(BasePage):
|
|||||||
def refresh_content(self):
|
def refresh_content(self):
|
||||||
"Re-download all subscriptions and reset the page index"
|
"Re-download all subscriptions and reset the page index"
|
||||||
|
|
||||||
self.content = SubscriptionContent.get_list(self.reddit, self.loader)
|
self.content = SubscriptionContent.from_user(self.reddit, self.loader)
|
||||||
self.nav = Navigator(self.content.get)
|
self.nav = Navigator(self.content.get)
|
||||||
|
|
||||||
@SubscriptionController.register(curses.KEY_ENTER, 10, curses.KEY_RIGHT)
|
@SubscriptionController.register(curses.KEY_ENTER, 10, curses.KEY_RIGHT)
|
||||||
@@ -70,4 +70,4 @@ class SubscriptionPage(BasePage):
|
|||||||
row = offset + 1
|
row = offset + 1
|
||||||
for row, text in enumerate(data['split_title'], start=row):
|
for row, text in enumerate(data['split_title'], start=row):
|
||||||
if row in valid_rows:
|
if row in valid_rows:
|
||||||
add_line(win, text, row, 1)
|
add_line(win, text, row, 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user