use const config

This commit is contained in:
fuwa
2019-06-25 09:03:58 +00:00
parent c89f9fd6d7
commit 57cc908e6e
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ along with CyberWOW. If not, see <https://www.gnu.org/licenses/>.
import 'config/prototype.dart';
import 'config/cyberwow.dart' as cryptoConfig;
final config = cryptoConfig.config;
const config = cryptoConfig.config;
const arch = 'arm64';
// const arch = 'x86_64';
+2 -2
View File
@@ -23,13 +23,13 @@ import 'package:flutter/material.dart';
import 'prototype.dart';
final config = CryptoConfig
const config = CryptoConfig
(
'wownerod',
'wownerod',
'Follow the white rabbit.',
70,
Colors.green.withOpacity(1.0),
Colors.green,
Colors.black,
['--prune-blockchain'],
);
+1 -1
View File
@@ -29,7 +29,7 @@ class CryptoConfig {
final Color textColor;
final Color backgroundColor;
final List<String> extraArgs;
CryptoConfig
const CryptoConfig
(
this.outputBin,
this.appPath,