Skip to content

A local-first personal finance app

:bug: fix side-nav collapse/pin icon color (#1421)

Matiss Janis Aboltinsa3c59f1ec361
diff --git a/packages/desktop-client/src/components/sidebar.js b/packages/desktop-client/src/components/sidebar.js
index 50027dccec..eea86a9816 100644
--- a/packages/desktop-client/src/components/sidebar.js
+++ b/packages/desktop-client/src/components/sidebar.js
@@ -445,11 +445,8 @@ function Accounts({
function ToggleButton({ style, isFloating, onFloat }) {
return (
- <View
- className="float"
- style={[style, { flexShrink: 0, color: colors.n5 }]}
- >
- <Button type="bare" onClick={onFloat}>
+ <View className="float" style={[style, { flexShrink: 0 }]}>
+ <Button type="bare" onClick={onFloat} color={colors.n5}>
{isFloating ? (
<Pin
style={{
diff --git a/upcoming-release-notes/1421.md b/upcoming-release-notes/1421.md
new file mode 100644
index 0000000000..04b41597a3
--- /dev/null
+++ b/upcoming-release-notes/1421.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [MatissJanis]
+---
+
+Fix collapse/pin icon color in the sidenav