Add emojis (#5420)

This commit is contained in:
Gavin Wood
2020-03-27 10:41:31 +01:00
committed by GitHub
parent 15df85a000
commit acab5f0570
19 changed files with 42 additions and 42 deletions
+3 -3
View File
@@ -68,9 +68,9 @@ impl<B: BlockT> InformantDisplay<B> {
self.last_number = Some(best_number);
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::Idle, _) => ("💤 Idle".into(), "".into()),
(SyncState::Downloading, None) => (format!("⚙️ Syncing{}", speed), "".into()),
(SyncState::Downloading, Some(n)) => (format!("⚙️ Syncing{}", speed), format!(", target=#{}", n)),
};
if self.format == OutputFormat::Coloured {