From fbca9587ae110b56242944aa9dcdfcca2c47c3e3 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Wed, 17 Jan 2024 03:02:33 +0800 Subject: [PATCH] Fix #460: wrong Android icon (#481) * fix #460: wrong android icon * Update test * Remove extra line --------- Co-authored-by: Ilan Cosman --- functions/_tide_detect_os.fish | 3 +-- tests/detect_os/_tide_detect_os.test.fish | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/functions/_tide_detect_os.fish b/functions/_tide_detect_os.fish index cf38388..bb58d07 100644 --- a/functions/_tide_detect_os.fish +++ b/functions/_tide_detect_os.fish @@ -10,9 +10,8 @@ function _tide_detect_os printf %s\n  FFFFFF 00CCFF # https://answers.microsoft.com/en-us/windows/forum/all/what-is-the-official-windows-8-blue-rgb-or-hex/fd57144b-f69b-42d8-8c21-6ca911646e44 case linux if test (uname -o) = Android - echo ﲎ # This character is evil and messes up code display, so it's put on its own line # https://developer.android.com/distribute/marketing-tools/brand-guidelines - printf %s\n 3DDC84 3C3F41 # fg is from above link, bg is from Android Studio default dark theme + printf %s\n  3DDC84 3C3F41 # fg is from above link, bg is from Android Studio default dark theme else _tide_detect_os_linux_cases /etc/os-release ID || _tide_detect_os_linux_cases /etc/os-release ID_LIKE || diff --git a/tests/detect_os/_tide_detect_os.test.fish b/tests/detect_os/_tide_detect_os.test.fish index 81498ed..764c07f 100644 --- a/tests/detect_os/_tide_detect_os.test.fish +++ b/tests/detect_os/_tide_detect_os.test.fish @@ -11,7 +11,7 @@ _tide_detect_os mock uname \* "echo Linux" mock uname -o "echo Android" _tide_detect_os -# CHECK: ﲎ +# CHECK:  # CHECK: 3DDC84 # CHECK: 3C3F41