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

View file

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

View file

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