AppDetailsFragment: Localize app launch error
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -616,7 +616,7 @@ class AppDetailsFragment : BaseFragment<FragmentDetailsBinding>() {
|
|||||||
try {
|
try {
|
||||||
startActivity(intent)
|
startActivity(intent)
|
||||||
} catch (exception: ActivityNotFoundException) {
|
} catch (exception: ActivityNotFoundException) {
|
||||||
toast("Unable to open app")
|
toast(getString(R.string.unable_to_open))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -483,4 +483,5 @@
|
|||||||
|
|
||||||
<!-- AppDetailsFragment -->
|
<!-- AppDetailsFragment -->
|
||||||
<string name="action_unarchive">Unarchive</string>
|
<string name="action_unarchive">Unarchive</string>
|
||||||
|
<string name="unable_to_open">Unable to open app</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user