Skip to content

Commit

Permalink
temp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-CStack committed May 19, 2023
1 parent 523fd96 commit 141c3f3
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 24 deletions.
25 changes: 14 additions & 11 deletions lib/pages/settings_views/global_settings_view/about_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 141c3f3

Please sign in to comment.