From b79b7f9bdecf22a235d9fe7a2146b926ba6d9db7 Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Fri, 8 Apr 2022 00:10:39 +0800 Subject: [PATCH] Re-enable 'Purchases' page Closes 1284 ## Notes - Re-used the Library page, but disabled the [Downloads | Purchases] tabs. - Access from Settings > Accounts > Purchases --- static/app-strings.json | 1 + ui/component/settingAccount/view.jsx | 4 ++ ui/constants/pageTitles.js | 3 +- ui/page/fileListDownloaded/view.jsx | 72 +++++++++++++++------------- ui/page/library/view.jsx | 2 +- 5 files changed, 47 insertions(+), 35 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index 0dbe4e431..6820997e5 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -934,6 +934,7 @@ "Discover Channels": "Discover Channels", "Downloads": "Downloads", "Purchases": "Purchases", + "View your purchased content.": "View your purchased content.", "No purchases found.": "No purchases found.", "Drop here to publish!": "Drop here to publish!", "Trending for %tagName%": "Trending for %tagName%", diff --git a/ui/component/settingAccount/view.jsx b/ui/component/settingAccount/view.jsx index 59279ea4d..fa10a2c9f 100644 --- a/ui/component/settingAccount/view.jsx +++ b/ui/component/settingAccount/view.jsx @@ -103,6 +103,10 @@ export default function SettingAccount(props: Props) { /> )} + + +