Update URLs

- TOS URL redirects to play.google.com
- blob mode offers better formatting compared to raw
- Redirect to the valid FAQ page on wiki

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2023-04-29 17:30:41 +05:30
parent 4b6a9b9aa9
commit 7864beea6f
2 changed files with 9 additions and 9 deletions

View File

@@ -4,34 +4,34 @@
"title": "FAQs",
"subtitle": "Have questions? Find out the answers.",
"icon": "ic_faq",
"url": "https://gitlab.com/AuroraOSS/AuroraStore"
"url": "https://gitlab.com/AuroraOSS/AuroraStore/-/wikis/Frequently%20Asked%20Questions"
},
{
"id": "1",
"title": "Source code",
"icon": "ic_code",
"subtitle": "Find out what's inside.",
"url": "https://gitlab.com/AuroraOSS/AuroraStore/-/blob/master"
"url": "https://gitlab.com/AuroraOSS/AuroraStore/"
},
{
"id": "2",
"title": "License",
"subtitle": "Yes we do have one ;)",
"icon": "ic_license",
"url": "https://gitlab.com/AuroraOSS/AuroraStore/-/raw/master/LICENSE"
"url": "https://gitlab.com/AuroraOSS/AuroraStore/-/blob/master/LICENSE"
},
{
"id": "3",
"title": "Privacy policy",
"subtitle": "Find out if we have your nudes :p",
"icon": "ic_privacy",
"url": "https://gitlab.com/AuroraOSS/AuroraStore/-/raw/master/POLICY.md"
"url": "https://gitlab.com/AuroraOSS/AuroraStore/-/blob/master/POLICY.md"
},
{
"id": "4",
"title": "Disclaimer",
"subtitle": "Hold your own beer!",
"icon": "ic_disclaimer",
"url": "https://gitlab.com/AuroraOSS/AuroraStore/-/raw/master/DISCLAIMER.md"
"url": "https://gitlab.com/AuroraOSS/AuroraStore/-/blob/master/DISCLAIMER.md"
}
]
]

View File

@@ -49,9 +49,9 @@ class AccountActivity : BaseActivity() {
private lateinit var authData: AuthData
private lateinit var accountProvider: AccountProvider
private val URL_TOS = "https://www.google.com/mobile/android/market-tos.html"
private val URL_LICENSE = "https://gitlab.com/AuroraOSS/AuroraStore/raw/master/LICENSE"
private val URL_DISCLAIMER = "https://gitlab.com/AuroraOSS/AuroraStore/raw/master/DISCLAIMER.md"
private val URL_TOS = "https://play.google.com/about/play-terms/"
private val URL_LICENSE = "https://gitlab.com/AuroraOSS/AuroraStore/blob/master/LICENSE"
private val URL_DISCLAIMER = "https://gitlab.com/AuroraOSS/AuroraStore/blob/master/DISCLAIMER.md"
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)