feat: add app version in settings (#839)

* feat: add app version in settings

* feat: add about app section

* feat: change icon
This commit is contained in:
Yogesh Choudhary Paliyal
2024-05-12 14:29:59 +05:30
committed by GitHub
parent c139cad899
commit 29fd5ab8b2
11 changed files with 252 additions and 3 deletions

View File

@@ -61,6 +61,17 @@ fun Context.sendSMS(chooserTitle: String, number: String, text: String = ""): Bo
}
}
fun Context.openLink(link: String): Boolean {
try {
val intent = Intent(Intent.ACTION_VIEW, Uri.parse("$link?utm_source=KeyPass&utm_medium=app&utm_campaign=KeyPass"))
startActivity(intent)
return true
} catch (e: Exception) {
e.printStackTrace()
return false
}
}
fun Context.share(chooserTitle: String, text: String): Boolean {
try {
val intent = Intent(Intent.ACTION_SEND)