Remove in-app sponsor

This commit is contained in:
世界
2024-02-17 10:02:58 +08:00
parent 557ed643e0
commit a35318ded2
8 changed files with 3 additions and 201 deletions

View File

@@ -81,8 +81,6 @@ class MainActivity : AbstractActivity(), ServiceConnection.Callback {
startIntegration()
onNewIntent(intent)
Vendor.initializeBillingClient(this)
}
override fun onNewIntent(intent: Intent) {

View File

@@ -104,9 +104,7 @@ class SettingsFragment : Fragment() {
startActivity(Intent(requireContext(), DebugActivity::class.java))
}
binding.startSponserButton.setOnClickListener {
Vendor.startSponsor(requireActivity()) {
activity.launchCustomTab("https://sekai.icu/sponsor/")
}
activity.launchCustomTab("https://sekai.icu/sponsors/")
}
lifecycleScope.launch(Dispatchers.IO) {
reloadSettings()