mirror of
https://github.com/wownero/cyberwow.git
synced 2026-10-26 10:48:44 +01:00
add splash to config
This commit is contained in:
@@ -25,4 +25,5 @@ final config = CryptoConfig
|
||||
(
|
||||
'wownerod',
|
||||
'wownerod',
|
||||
'Follow the white rabbit.',
|
||||
);
|
||||
|
||||
@@ -22,9 +22,11 @@ along with CyberWOW. If not, see <https://www.gnu.org/licenses/>.
|
||||
class CryptoConfig {
|
||||
final String outputBin;
|
||||
final String appPath;
|
||||
final String splash;
|
||||
CryptoConfig
|
||||
(
|
||||
this.outputBin,
|
||||
this.appPath,
|
||||
this.splash,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ class _MyHomePageState extends State<MyHomePage>
|
||||
}
|
||||
|
||||
Future<void> buildStateMachine(BlankState _blankState) async {
|
||||
const loadingText = "Follow the white rabbit.";
|
||||
final loadingText = config.splash;
|
||||
LoadingState _loadingState = await _blankState.next(loadingText);
|
||||
|
||||
final binName = config.outputBin;
|
||||
|
||||
Reference in New Issue
Block a user