mirror of
https://github.com/wownero/cyberwow.git
synced 2026-11-12 11:13:55 +01:00
clean up unused status
This commit is contained in:
@@ -117,7 +117,7 @@ class _CyberWOW_PageState extends State<CyberWOW_Page> with WidgetsBindingObserv
|
||||
final bundle = DefaultAssetBundle.of(context);
|
||||
final loading = process.deployBinary(bundle, resourcePath, binName);
|
||||
|
||||
state.SyncingState _syncingState = await _loadingState.next(loading, '');
|
||||
state.SyncingState _syncingState = await _loadingState.next(loading);
|
||||
|
||||
final syncing = process
|
||||
.runBinary(binName, input: inputStreamController.stream, shouldExit: _isExiting)
|
||||
@@ -125,8 +125,8 @@ class _CyberWOW_PageState extends State<CyberWOW_Page> with WidgetsBindingObserv
|
||||
|
||||
await _syncingState.next(inputStreamController.sink, syncing);
|
||||
|
||||
var exited = false;
|
||||
var validState = true;
|
||||
bool exited = false;
|
||||
bool validState = true;
|
||||
|
||||
while (validState && !exited) {
|
||||
switch (_state.runtimeType) {
|
||||
|
||||
@@ -38,15 +38,15 @@ class LoadingState extends AppState {
|
||||
}
|
||||
|
||||
|
||||
Future<SyncingState> next(Stream<String> loadingProgress, String status) async {
|
||||
Future<SyncingState> next(final Stream<String> loadingProgress) async {
|
||||
Future<void> showBanner() async {
|
||||
var chars = [];
|
||||
List<String> chars = [];
|
||||
banner.runes.forEach((int rune) {
|
||||
final c = String.fromCharCode(rune);
|
||||
chars.add(c);
|
||||
});
|
||||
|
||||
for (String char in chars) {
|
||||
for (final String char in chars) {
|
||||
append(char);
|
||||
await Future.delayed(Duration(milliseconds: config.c.splashDelay), () => "1");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user