mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-01 13:20:16 +02:00
Enable Android TV 'OK' Button (#281)
This commit is contained in:
@@ -22,7 +22,7 @@ import 'package:easy_localization/src/easy_localization_controller.dart';
|
||||
// ignore: implementation_imports
|
||||
import 'package:easy_localization/src/localization.dart';
|
||||
|
||||
const String currentVersion = '0.13.25';
|
||||
const String currentVersion = '0.13.26';
|
||||
const String currentReleaseTag =
|
||||
'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES
|
||||
|
||||
@@ -299,7 +299,9 @@ class _ObtainiumState extends State<Obtainium> {
|
||||
? lightColorScheme
|
||||
: darkColorScheme,
|
||||
fontFamily: 'Metropolis'),
|
||||
home: const HomePage());
|
||||
home: Shortcuts(shortcuts: <LogicalKeySet, Intent>{
|
||||
LogicalKeySet(LogicalKeyboardKey.select): const ActivateIntent(),
|
||||
}, child: const HomePage()));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user