QOL: Chores.

Final beta before release 1.0.
This commit is contained in:
zontreck 2025-05-17 12:36:31 -07:00
parent ac7a5c885d
commit 8293ddeb68
10 changed files with 98 additions and 49 deletions

View file

@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import 'package:libacflutter/Constants.dart';
import 'package:timetrack/consts.dart';
import 'package:timetrack/data.dart';
import 'package:url_launcher/url_launcher.dart';
class WebMain extends StatefulWidget {
const WebMain({super.key});
@ -66,6 +67,35 @@ class _WebMain extends State<WebMain> {
setState(() {});
},
),
ListTile(
title: Text("Source Code"),
subtitle: Text("Licensed under the GPLv3"),
leading: Icon(Icons.code_rounded),
onTap: () async {
final Uri url = Uri.parse(
'https://git.zontreck.com/AriasCreations/TimeTracker',
);
if (!await launchUrl(url)) {
throw Exception('Could not launch $url');
}
},
),
ListTile(
title: Text("Download Mobile App"),
subtitle: Text(
"Click to go to the download page, from there you will want the APK file.",
),
leading: Icon(Icons.download),
onTap: () async {
final Uri url = Uri.parse(
"https://ci.zontreck.com/job/Projects/job/Dart/job/Time%20Tracker/",
);
if (!await launchUrl(url)) {
throw Exception("Could not launch $url");
}
},
),
],
),
),