mirror of
https://github.com/wownero/cyberwow.git
synced 2026-11-12 03:04:05 +01:00
use const config
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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'],
|
||||
);
|
||||
|
||||
@@ -29,7 +29,7 @@ class CryptoConfig {
|
||||
final Color textColor;
|
||||
final Color backgroundColor;
|
||||
final List<String> extraArgs;
|
||||
CryptoConfig
|
||||
const CryptoConfig
|
||||
(
|
||||
this.outputBin,
|
||||
this.appPath,
|
||||
|
||||
Reference in New Issue
Block a user