0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-26 13:12:59 +00:00

reverted links back to vanced ones

This commit is contained in:
X1nto 2020-04-04 17:28:25 +04:00
parent b1c4ec0265
commit f5cfbcd5df

View file

@ -103,25 +103,25 @@ class HomeFragment : Fragment() {
customTabsIntent.launchUrl(requireContext(), Uri.parse(vancedurl)) customTabsIntent.launchUrl(requireContext(), Uri.parse(vancedurl))
} }
discordbtn.setOnClickListener { discordbtn.setOnClickListener {
val discordurl = "https://youtube.com/dQw4w9WgXcQ" val discordurl = "https://discord.gg/TUVd7rd"
builder.setToolbarColor(ContextCompat.getColor(requireContext(), R.color.Discord)) builder.setToolbarColor(ContextCompat.getColor(requireContext(), R.color.Discord))
val customTabsIntent = builder.build() val customTabsIntent = builder.build()
customTabsIntent.launchUrl(requireContext(), Uri.parse(discordurl)) customTabsIntent.launchUrl(requireContext(), Uri.parse(discordurl))
} }
telegrambtn.setOnClickListener { telegrambtn.setOnClickListener {
val telegramurl = "https://t.me/NoGooLag" val telegramurl = "https://t.me/joinchat/AAAAAEHf-pi4jH1SDIAL4w"
builder.setToolbarColor(ContextCompat.getColor(requireContext(), R.color.Telegram)) builder.setToolbarColor(ContextCompat.getColor(requireContext(), R.color.Telegram))
val customTabsIntent = builder.build() val customTabsIntent = builder.build()
customTabsIntent.launchUrl(requireContext(), Uri.parse(telegramurl)) customTabsIntent.launchUrl(requireContext(), Uri.parse(telegramurl))
} }
twitterbtn.setOnClickListener { twitterbtn.setOnClickListener {
val twitterurl = "https://youtube.com/dQw4w9WgXcQ" val twitterurl = "https://twitter.com/YTVanced"
builder.setToolbarColor(ContextCompat.getColor(requireContext(), R.color.Twitter)) builder.setToolbarColor(ContextCompat.getColor(requireContext(), R.color.Twitter))
val customTabsIntent = builder.build() val customTabsIntent = builder.build()
customTabsIntent.launchUrl(requireContext(), Uri.parse(twitterurl)) customTabsIntent.launchUrl(requireContext(), Uri.parse(twitterurl))
} }
redditbtn.setOnClickListener { redditbtn.setOnClickListener {
val redditurl = "https://reddit.com/r/NewPipe" val redditurl = "https://reddit.com/r/vanced"
builder.setToolbarColor(ContextCompat.getColor(requireContext(), R.color.Reddit)) builder.setToolbarColor(ContextCompat.getColor(requireContext(), R.color.Reddit))
val customTabsIntent = builder.build() val customTabsIntent = builder.build()
customTabsIntent.launchUrl(requireContext(), Uri.parse(redditurl)) customTabsIntent.launchUrl(requireContext(), Uri.parse(redditurl))
@ -133,13 +133,13 @@ class HomeFragment : Fragment() {
customTabsIntent.launchUrl(requireContext(), Uri.parse(gitmanagerurl)) customTabsIntent.launchUrl(requireContext(), Uri.parse(gitmanagerurl))
} }
git2btn.setOnClickListener { git2btn.setOnClickListener {
val gitboturl = "https://youtube.com/dQw4w9WgXcQ" val gitboturl = "https://github.com/YTVanced/VancedHelper"
builder.setToolbarColor(ContextCompat.getColor(requireContext(), R.color.GitHub)) builder.setToolbarColor(ContextCompat.getColor(requireContext(), R.color.GitHub))
val customTabsIntent = builder.build() val customTabsIntent = builder.build()
customTabsIntent.launchUrl(requireContext(), Uri.parse(gitboturl)) customTabsIntent.launchUrl(requireContext(), Uri.parse(gitboturl))
} }
git3btn.setOnClickListener { git3btn.setOnClickListener {
val gitwebsiteurl = "https://youtube.com/dQw4w9WgXcQ" val gitwebsiteurl = "https://github.com/YTVanced/VancedWebsite"
builder.setToolbarColor(ContextCompat.getColor(requireContext(), R.color.GitHub)) builder.setToolbarColor(ContextCompat.getColor(requireContext(), R.color.GitHub))
val customTabsIntent = builder.build() val customTabsIntent = builder.build()
customTabsIntent.launchUrl(requireContext(), Uri.parse(gitwebsiteurl)) customTabsIntent.launchUrl(requireContext(), Uri.parse(gitwebsiteurl))