From dd2b6c5e3e90f6d3b383c385ea8bf7581d0d8fff Mon Sep 17 00:00:00 2001 From: Spenser Black Date: Wed, 23 Mar 2022 13:51:04 -0400 Subject: [PATCH] Fix "other" language block hidden in background (#626) The language blocks use background coloring for their styling. The default coloring is the background itself, rendering the block invisible. This reverts the change introduced in #625 to use `Default` instead of `White` for the "other" block. See https://github.com/o2sh/onefetch/pull/625#discussion_r832237395 --- src/info/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/info/mod.rs b/src/info/mod.rs index 19703310d..363a90ab6 100644 --- a/src/info/mod.rs +++ b/src/info/mod.rs @@ -335,7 +335,7 @@ impl Info { languages.push(( "Other".to_string(), other_perc, - DynColors::Ansi(AnsiColors::Default), + DynColors::Ansi(AnsiColors::White), )); languages } else {