Enable Android TV 'OK' Button (#281)

This commit is contained in:
Imran Remtulla
2023-08-18 22:12:16 -04:00
parent 5269aad90d
commit 734a1aeb01
3 changed files with 6 additions and 4 deletions

View File

@@ -344,7 +344,7 @@ class AppsProvider with ChangeNotifier {
// If we did not install the app (or it isn't installed), silent install is not possible
return false;
}
var targetSDK;
int? targetSDK;
try {
targetSDK = (await pm.getPackageInfo(packageName: app.id))
?.applicationInfo