From 9765393f61f3d642fed051932b94b8de38b0a60c Mon Sep 17 00:00:00 2001 From: julian Date: Fri, 30 Dec 2022 12:50:55 -0600 Subject: [PATCH] re enable git versions --- .../global_settings_view/about_view.dart | 12 ++++++------ .../advanced_views/debug_view.dart | 12 ++++++------ .../settings/settings_menu/desktop_about_view.dart | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/lib/pages/settings_views/global_settings_view/about_view.dart b/lib/pages/settings_views/global_settings_view/about_view.dart index 0e08a29a2..a1e78ba7d 100644 --- a/lib/pages/settings_views/global_settings_view/about_view.dart +++ b/lib/pages/settings_views/global_settings_view/about_view.dart @@ -2,11 +2,11 @@ import 'dart:convert'; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; -// import 'package:flutter_libepiccash/git_versions.dart' as EPIC_VERSIONS; -// import 'package:flutter_libmonero/git_versions.dart' as MONERO_VERSIONS; +import 'package:flutter_libepiccash/git_versions.dart' as EPIC_VERSIONS; +import 'package:flutter_libmonero/git_versions.dart' as MONERO_VERSIONS; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:http/http.dart'; -// import 'package:lelantus/git_versions.dart' as FIRO_VERSIONS; +import 'package:lelantus/git_versions.dart' as FIRO_VERSIONS; import 'package:package_info_plus/package_info_plus.dart'; import 'package:stackwallet/utilities/logger.dart'; import 'package:stackwallet/utilities/text_styles.dart'; @@ -98,9 +98,9 @@ class AboutView extends ConsumerWidget { @override Widget build(BuildContext context, WidgetRef ref) { - String firoCommit ="fixme";//FIRO_VERSIONS.getPluginVersion(); - String epicCashCommit ="fixme";// EPIC_VERSIONS.getPluginVersion(); - String moneroCommit ="fixme";// MONERO_VERSIONS.getPluginVersion(); + String firoCommit = FIRO_VERSIONS.getPluginVersion(); + String epicCashCommit = EPIC_VERSIONS.getPluginVersion(); + String moneroCommit = MONERO_VERSIONS.getPluginVersion(); List futureFiroList = [ doesCommitExist("cypherstack", "flutter_liblelantus", firoCommit), isHeadCommit("cypherstack", "flutter_liblelantus", "main", firoCommit), diff --git a/lib/pages/settings_views/global_settings_view/advanced_views/debug_view.dart b/lib/pages/settings_views/global_settings_view/advanced_views/debug_view.dart index c3402d121..442ad5d2a 100644 --- a/lib/pages/settings_views/global_settings_view/advanced_views/debug_view.dart +++ b/lib/pages/settings_views/global_settings_view/advanced_views/debug_view.dart @@ -7,11 +7,11 @@ import 'package:event_bus/event_bus.dart'; import 'package:file_picker/file_picker.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; -// import 'package:flutter_libepiccash/git_versions.dart' as EPIC_VERSIONS; -// import 'package:flutter_libmonero/git_versions.dart' as MONERO_VERSIONS; +import 'package:flutter_libepiccash/git_versions.dart' as EPIC_VERSIONS; +import 'package:flutter_libmonero/git_versions.dart' as MONERO_VERSIONS; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_svg/svg.dart'; -// import 'package:lelantus/git_versions.dart' as FIRO_VERSIONS; +import 'package:lelantus/git_versions.dart' as FIRO_VERSIONS; import 'package:package_info_plus/package_info_plus.dart'; import 'package:stackwallet/models/isar/models/log.dart'; import 'package:stackwallet/notifications/show_flush_bar.dart'; @@ -294,11 +294,11 @@ class _DebugViewState extends ConsumerState { packageInfo.buildSignature; final appName = packageInfo.appName; String firoCommit = - "fixme";// FIRO_VERSIONS.getPluginVersion(); + FIRO_VERSIONS.getPluginVersion(); String epicCashCommit = - "fixme";// EPIC_VERSIONS.getPluginVersion(); + EPIC_VERSIONS.getPluginVersion(); String moneroCommit = - "fixme";// MONERO_VERSIONS.getPluginVersion(); + MONERO_VERSIONS.getPluginVersion(); DeviceInfoPlugin deviceInfoPlugin = DeviceInfoPlugin(); final deviceInfo = diff --git a/lib/pages_desktop_specific/settings/settings_menu/desktop_about_view.dart b/lib/pages_desktop_specific/settings/settings_menu/desktop_about_view.dart index 92660a532..18988cb68 100644 --- a/lib/pages_desktop_specific/settings/settings_menu/desktop_about_view.dart +++ b/lib/pages_desktop_specific/settings/settings_menu/desktop_about_view.dart @@ -2,11 +2,11 @@ import 'dart:convert'; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; -// import 'package:flutter_libepiccash/git_versions.dart' as EPIC_VERSIONS; -// import 'package:flutter_libmonero/git_versions.dart' as MONERO_VERSIONS; +import 'package:flutter_libepiccash/git_versions.dart' as EPIC_VERSIONS; +import 'package:flutter_libmonero/git_versions.dart' as MONERO_VERSIONS; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:http/http.dart'; -// import 'package:lelantus/git_versions.dart' as FIRO_VERSIONS; +import 'package:lelantus/git_versions.dart' as FIRO_VERSIONS; import 'package:package_info_plus/package_info_plus.dart'; import 'package:stackwallet/utilities/logger.dart'; import 'package:stackwallet/utilities/text_styles.dart'; @@ -98,9 +98,9 @@ class DesktopAboutView extends ConsumerWidget { @override Widget build(BuildContext context, WidgetRef ref) { - String firoCommit = "fixme";//FIRO_VERSIONS.getPluginVersion(); - String epicCashCommit = "fixme";//EPIC_VERSIONS.getPluginVersion(); - String moneroCommit = "fixme";//MONERO_VERSIONS.getPluginVersion(); + String firoCommit = FIRO_VERSIONS.getPluginVersion(); + String epicCashCommit = EPIC_VERSIONS.getPluginVersion(); + String moneroCommit = MONERO_VERSIONS.getPluginVersion(); List futureFiroList = [ doesCommitExist("cypherstack", "flutter_liblelantus", firoCommit), isHeadCommit("cypherstack", "flutter_liblelantus", "main", firoCommit),