mirror of
https://github.com/wownero/cyberwow.git
synced 2026-12-03 13:43:59 +01:00
simplify banner split code
This commit is contained in:
@@ -42,11 +42,7 @@ class LoadingState extends AppState {
|
||||
|
||||
Future<SyncingState> next() async {
|
||||
Future<void> showBanner() async {
|
||||
List<String> chars = [];
|
||||
banner.runes.forEach((int rune) {
|
||||
final c = String.fromCharCode(rune);
|
||||
chars.add(c);
|
||||
});
|
||||
final Iterable<String> chars = banner.runes.map((x) => String.fromCharCode(x));
|
||||
|
||||
for (final String char in chars) {
|
||||
append(char);
|
||||
|
||||
Reference in New Issue
Block a user