This commit is contained in:
julian 2023-05-19 16:58:44 -06:00
parent 523fd96929
commit 141c3f34c9
3 changed files with 33 additions and 24 deletions

View file

@ -105,9 +105,12 @@ class AboutView extends ConsumerWidget {
@override @override
Widget build(BuildContext context, WidgetRef ref) { Widget build(BuildContext context, WidgetRef ref) {
String firoCommit = "lololololo"; //FIRO_VERSIONS.getPluginVersion(); String firoCommit =
String epicCashCommit ="lololololo"; // EPIC_VERSIONS.getPluginVersion(); "Unable to fetch version"; //FIRO_VERSIONS.getPluginVersion();
String moneroCommit ="lololololo"; // MONERO_VERSIONS.getPluginVersion(); String epicCashCommit =
"Unable to fetch version"; // EPIC_VERSIONS.getPluginVersion();
String moneroCommit =
"Unable to fetch version"; // MONERO_VERSIONS.getPluginVersion();
List<Future> futureFiroList = [ List<Future> futureFiroList = [
doesCommitExist("cypherstack", "flutter_liblelantus", firoCommit), doesCommitExist("cypherstack", "flutter_liblelantus", firoCommit),
isHeadCommit("cypherstack", "flutter_liblelantus", "main", firoCommit), isHeadCommit("cypherstack", "flutter_liblelantus", "main", firoCommit),
@ -161,14 +164,14 @@ class AboutView extends ConsumerWidget {
String appName = ""; String appName = "";
String build = ""; String build = "";
if (snapshot.connectionState == // if (snapshot.connectionState ==
ConnectionState.done && // ConnectionState.done &&
snapshot.hasData) { // snapshot.hasData) {
version = snapshot.data!.version; // version = snapshot.data!.version;
build = snapshot.data!.buildNumber; // build = snapshot.data!.buildNumber;
signature = snapshot.data!.buildSignature; // signature = snapshot.data!.buildSignature;
appName = snapshot.data!.appName; // appName = snapshot.data!.appName;
} // }
return Column( return Column(
crossAxisAlignment: CrossAxisAlignment.stretch, crossAxisAlignment: CrossAxisAlignment.stretch,

View file

@ -291,9 +291,12 @@ class _DebugViewState extends ConsumerState<DebugView> {
final signature = final signature =
packageInfo.buildSignature; packageInfo.buildSignature;
final appName = packageInfo.appName; final appName = packageInfo.appName;
String firoCommit ="lololololo"; //FIRO_VERSIONS.getPluginVersion(); String firoCommit =
String epicCashCommit ="lololololo"; //EPIC_VERSIONS.getPluginVersion(); "Unable to fetch version"; //FIRO_VERSIONS.getPluginVersion();
String moneroCommit ="lololololo"; // MONERO_VERSIONS.getPluginVersion(); String epicCashCommit =
"Unable to fetch version"; //EPIC_VERSIONS.getPluginVersion();
String moneroCommit =
"Unable to fetch version"; // MONERO_VERSIONS.getPluginVersion();
DeviceInfoPlugin deviceInfoPlugin = DeviceInfoPlugin deviceInfoPlugin =
DeviceInfoPlugin(); DeviceInfoPlugin();
final deviceInfo = final deviceInfo =

View file

@ -98,9 +98,12 @@ class DesktopAboutView extends ConsumerWidget {
@override @override
Widget build(BuildContext context, WidgetRef ref) { Widget build(BuildContext context, WidgetRef ref) {
String firoCommit ="lololololo"; // FIRO_VERSIONS.getPluginVersion(); String firoCommit =
String epicCashCommit ="lololololo"; // EPIC_VERSIONS.getPluginVersion(); "Unable to fetch version"; // FIRO_VERSIONS.getPluginVersion();
String moneroCommit = "lololololo"; //MONERO_VERSIONS.getPluginVersion(); String epicCashCommit =
"Unable to fetch version"; // EPIC_VERSIONS.getPluginVersion();
String moneroCommit =
"Unable to fetch version"; //MONERO_VERSIONS.getPluginVersion();
List<Future> futureFiroList = [ List<Future> futureFiroList = [
doesCommitExist("cypherstack", "flutter_liblelantus", firoCommit), doesCommitExist("cypherstack", "flutter_liblelantus", firoCommit),
isHeadCommit("cypherstack", "flutter_liblelantus", "main", firoCommit), isHeadCommit("cypherstack", "flutter_liblelantus", "main", firoCommit),
@ -237,13 +240,13 @@ class DesktopAboutView extends ConsumerWidget {
String signature = ""; String signature = "";
String build = ""; String build = "";
if (snapshot.connectionState == // if (snapshot.connectionState ==
ConnectionState.done && // ConnectionState.done &&
snapshot.hasData) { // snapshot.hasData) {
version = snapshot.data!.version; // version = snapshot.data!.version;
build = snapshot.data!.buildNumber; // build = snapshot.data!.buildNumber;
signature = snapshot.data!.buildSignature; // signature = snapshot.data!.buildSignature;
} // }
return Column( return Column(
mainAxisAlignment: mainAxisAlignment: