Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Commit

Permalink
Direct disclaimer to shosetsu website
Browse files Browse the repository at this point in the history
  • Loading branch information
Doomsdayrs committed Aug 15, 2022
1 parent f0658a0 commit c7db4d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const val BACKUP_FILE_EXTENSION = "sbk"
const val REPOSITORY_HELP_URL = "https://shosetsu.app/help/guides/repositories/"
const val URL_WEBSITE = "https://shosetsu.app"
const val URL_PRIVACY = "https://shosetsu.app/privacy"
const val URL_DISCLAIMER = "https://shosetsu.app/disclaimer"
const val URL_GITHUB_APP = "https://github.com/shosetsuorg/shosetsu"
const val URL_GITHUB_EXTENSIONS = "https://github.com/shosetsuorg/extensions"
const val URL_PATREON = "https://www.patreon.com/doomsdayrs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,7 @@ class AboutController : ShosetsuController() {
}

private fun onClickDisclaimer() {
findNavController().navigateSafely(
R.id.action_aboutController_to_textAssetReader,
TextAsset.DISCLAIMER.bundle,
navOptions = navOptions {
launchSingleTop = true
setShosetsuTransition()
}
)
openSite(URL_DISCLAIMER)
}

private fun openSite(url: String) {
Expand Down

0 comments on commit c7db4d4

Please sign in to comment.