#1435 - Update to latest SIA package

This commit is contained in:
moezbhatti
2019-03-04 23:19:06 -05:00
parent a86229db52
commit 86102e9d16
3 changed files with 19 additions and 15 deletions
@@ -184,7 +184,7 @@ class Navigator @Inject constructor(
* Launch the Play Store and display the Should I Answer? listing
*/
fun showSia() {
val url = "https://play.google.com/store/apps/details?id=org.mistergroup.shouldianswerpersonal"
val url = "https://play.google.com/store/apps/details?id=org.mistergroup.shouldianswer"
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
startActivity(intent)
}
@@ -53,7 +53,8 @@ class BlockedViewModel @Inject constructor(
view.siaClickedIntent
.map {
tryOrNull(false) { context.packageManager.getApplicationInfo("org.mistergroup.shouldianswerpersonal", 0).enabled }
tryOrNull(false) { context.packageManager.getApplicationInfo("org.mistergroup.shouldianswer", 0).enabled }
?: tryOrNull(false) { context.packageManager.getApplicationInfo("org.mistergroup.shouldianswerpersonal", 0).enabled }
?: tryOrNull(false) { context.packageManager.getApplicationInfo("org.mistergroup.muzutozvednout", 0).enabled }
?: false
}