fix name of ShowAboutDialog extension
This commit is contained in:
parent
a2791a6717
commit
5738239da2
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ import "package:m3e_card_list/m3e_card_list.dart";
|
||||||
import "package:nexus/helpers/launch_helper.dart";
|
import "package:nexus/helpers/launch_helper.dart";
|
||||||
import "package:package_info_plus/package_info_plus.dart";
|
import "package:package_info_plus/package_info_plus.dart";
|
||||||
|
|
||||||
extension ShowContextMenu on BuildContext {
|
extension ShowAboutDialog on BuildContext {
|
||||||
Future<void> showAboutDialog(WidgetRef ref) async {
|
Future<void> showAboutDialog(WidgetRef ref) async {
|
||||||
final packageInfo = await PackageInfo.fromPlatform();
|
final packageInfo = await PackageInfo.fromPlatform();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ extension ShowContextMenu on BuildContext {
|
||||||
|
|
||||||
showMenu(
|
showMenu(
|
||||||
context: this,
|
context: this,
|
||||||
constraints: .loose(Size.infinite),
|
constraints: .loose(.infinite),
|
||||||
position: .fromLTRB(
|
position: .fromLTRB(
|
||||||
globalPosition.dx,
|
globalPosition.dx,
|
||||||
globalPosition.dy,
|
globalPosition.dy,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue