Removed UPI (rebel not indian)

This commit is contained in:
aayush262
2024-01-06 21:26:03 +05:30
parent ced4e44490
commit d9648edc6b
2 changed files with 1 additions and 19 deletions

View File

@@ -508,10 +508,6 @@ class SettingsActivity : AppCompatActivity(), SimpleDialog.OnDialogResultListen
lifecycleScope.launch {
binding.settingBuyMeCoffee.pop()
}
binding.settingUPI.visibility = if (checkCountry(this)) View.VISIBLE else View.GONE
lifecycleScope.launch {
binding.settingUPI.pop()
}
binding.loginDiscord.setOnClickListener {
openLinkInBrowser(getString(R.string.discord))
@@ -759,8 +755,7 @@ class SettingsActivity : AppCompatActivity(), SimpleDialog.OnDialogResultListen
}
setPositiveButton("denote :)") {
if (binding.settingUPI.visibility == View.VISIBLE) binding.settingUPI.performClick()
else binding.settingBuyMeCoffee.performClick()
binding.settingBuyMeCoffee.performClick()
dismiss()
}
show(supportFragmentManager, "dialog")

View File

@@ -1510,19 +1510,6 @@
android:layout_height="wrap_content"
app:srcCompat="@drawable/ic_bmc_button"
tools:ignore="ContentDescription" />
<View
android:layout_width="16dp"
android:layout_height="match_parent" />
<ImageView
android:id="@+id/settingUPI"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/ic_upi_icon"
tools:ignore="ContentDescription" />
</LinearLayout>
<TextView