Skip to content

Commit

Permalink
ios more issues fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
apps4av committed May 29, 2024
1 parent d87f9c0 commit 347669b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
16 changes: 10 additions & 6 deletions lib/main_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class MainScreenState extends State<MainScreen> with WidgetsBindingObserver { //
@override
Widget build(BuildContext context) {

bool apple = (Platform.isMacOS || Platform.isMacOS);
bool apple = (Platform.isIOS || Platform.isMacOS);

return Scaffold(
appBar: AppBar(toolbarHeight: 0,), // no appbar needed but use it for safe area
Expand Down Expand Up @@ -99,11 +99,15 @@ class MainScreenState extends State<MainScreen> with WidgetsBindingObserver { //
},
),
leading: Image.asset("assets/images/logo.png", width: 48, height: 48,), dense: true,),
ListTile(
// this is apple issue. They do not allow donation links in the app
title: Text(apple? "Apps4Av" : "Donate", style: const TextStyle(decoration: TextDecoration.underline),),
// this is apple issue. They do not allow donation links in the app
onTap: () { launchUrl(Uri.parse(apple ? "https://www.apps4av.com/" : "https://www.apps4av.com/donate.html"));},),
if(!apple)
ListTile(
// this is apple issue. They do not allow donation links in the app
title: const Text("Donate", style: TextStyle(decoration: TextDecoration.underline),),
// this is apple issue. They do not allow donation links in the app
onTap: () {
launchUrl(Uri.parse("https://www.apps4av.com/donate.html"));
},
),
ListTile(title: const Text("Download"), leading: const Icon(Icons.download), onTap: () => Navigator.pushNamed(context, '/download'), dense: true,),
ListTile(title: const Text("Documents"), leading: Icon(MdiIcons.fileDocument), onTap: () => Navigator.pushNamed(context, '/documents'), dense: true,),
ListTile(title: const Text("Aircraft"), leading: Icon(MdiIcons.airplane), onTap: () => Navigator.pushNamed(context, '/aircraft'), dense: true,),
Expand Down
2 changes: 1 addition & 1 deletion lib/onboarding_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ Do you agree to ALL the above Terms, Conditions, and Privacy Policy? By clicking
),
PageViewModel(
title: "Join the Forum",
bodyWidget: const Text("For 24/7 help, join our forum\n\n[email protected]."),
bodyWidget: const SelectableText("For 24/7 help, join our forum\n\nhttps://groups.google.com/g/apps4av-forum"),
image: _buildImage('forum.png'),
decoration: pageDecoration,
),
Expand Down
2 changes: 1 addition & 1 deletion lib/online_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class OnlineScreenState extends State<OnlineScreen> {
Visibility(visible: _visibleProgressLogin, child: const CircularProgressIndicator())
]),
if(loggedIn)
Text("You are currently logged in as $email, and your data is backed up automatically when Internet connection is available."),
Text("You are currently logged in as $email, and your data is backed up automatically when Internet connection is available.\nTo delete this account, along with the app's backed up data, send an email to [email protected], with Subject 'Delete Account'."),
if(loggedIn)
Row(children: [TextButton(
onPressed: () {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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
# 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.
version: 0.0.8+8
version: 0.0.9+9

environment:
sdk: '>=3.2.0 <4.0.0'
Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: avarex
version: 0.0.8
version: 0.0.9
icon: assets/images/logo.png
summary: AvareX Flight Support
description: AvareX provide FAA charts, plates, airport data, weather, air traffic over ADS-B, and lets you create and file flight plans.
Expand Down

0 comments on commit 347669b

Please sign in to comment.