More emojies and spaces (#5498)

* More emojies and spaces

* Sync emojis

* More emoji
This commit is contained in:
Gavin Wood
2020-04-02 20:17:39 +02:00
committed by GitHub
parent 2e720f93a2
commit 3b43429729
7 changed files with 23 additions and 23 deletions
+2 -2
View File
@@ -69,8 +69,8 @@ impl<B: BlockT> InformantDisplay<B> {
let (status, target) = match (net_status.sync_state, net_status.best_seen_block) {
(SyncState::Idle, _) => ("💤 Idle".into(), "".into()),
(SyncState::Downloading, None) => (format!("⚙️ Syncing{}", speed), "".into()),
(SyncState::Downloading, Some(n)) => (format!("⚙️ Syncing{}", speed), format!(", target=#{}", n)),
(SyncState::Downloading, None) => (format!("⚙️ Preparing{}", speed), "".into()),
(SyncState::Downloading, Some(n)) => (format!("⚙️ Syncing{}", speed), format!(", target=#{}", n)),
};
if self.format == OutputFormat::Coloured {