AppDetailsFragment: Localize app launch error

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2024-12-31 13:58:01 +07:00
parent 825ed174b2
commit e36e3341f7
2 changed files with 2 additions and 1 deletions

View File

@@ -616,7 +616,7 @@ class AppDetailsFragment : BaseFragment<FragmentDetailsBinding>() {
try {
startActivity(intent)
} catch (exception: ActivityNotFoundException) {
toast("Unable to open app")
toast(getString(R.string.unable_to_open))
}
}
} else {

View File

@@ -483,4 +483,5 @@
<!-- AppDetailsFragment -->
<string name="action_unarchive">Unarchive</string>
<string name="unable_to_open">Unable to open app</string>
</resources>