mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-16 03:48:08 +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
|
// ignore: implementation_imports
|
||||||
import 'package:easy_localization/src/localization.dart';
|
import 'package:easy_localization/src/localization.dart';
|
||||||
|
|
||||||
const String currentVersion = '0.13.25';
|
const String currentVersion = '0.13.26';
|
||||||
const String currentReleaseTag =
|
const String currentReleaseTag =
|
||||||
'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES
|
'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES
|
||||||
|
|
||||||
@@ -299,7 +299,9 @@ class _ObtainiumState extends State<Obtainium> {
|
|||||||
? lightColorScheme
|
? lightColorScheme
|
||||||
: darkColorScheme,
|
: darkColorScheme,
|
||||||
fontFamily: 'Metropolis'),
|
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
|
// If we did not install the app (or it isn't installed), silent install is not possible
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
var targetSDK;
|
int? targetSDK;
|
||||||
try {
|
try {
|
||||||
targetSDK = (await pm.getPackageInfo(packageName: app.id))
|
targetSDK = (await pm.getPackageInfo(packageName: app.id))
|
||||||
?.applicationInfo
|
?.applicationInfo
|
||||||
|
@@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
# In Windows, build-name is used as the major, minor, and patch parts
|
# In Windows, build-name is used as the major, minor, and patch parts
|
||||||
# of the product and file versions while build-number is used as the build suffix.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 0.13.25+189 # When changing this, update the tag in main() accordingly
|
version: 0.13.26+190 # When changing this, update the tag in main() accordingly
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=2.18.2 <3.0.0'
|
sdk: '>=2.18.2 <3.0.0'
|
||||||
|
Reference in New Issue
Block a user