From da8af38dcc23ea33c686714be2ce5f0bf0e65798 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Mon, 24 Apr 2023 16:36:05 -0500 Subject: Android & visual fixes: color themes, repost icon, navigation, back handler, etc (#519) * Switch android to use slide left/right animations on navigation * Bump the repost icon down by a pixel * Tune theme colors for contrast and darker bg on darkmode * Move back handler to a point in the init flow that leads to more consistent capture of events * Fix image share flow on android * Fix lint * Add todo about sharing not available * Drop the android slide animation because it's too slow * Fix 'flashes of white' in dark mode android --- src/view/com/util/forms/DropdownButton.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/view/com/util/forms/DropdownButton.tsx') diff --git a/src/view/com/util/forms/DropdownButton.tsx b/src/view/com/util/forms/DropdownButton.tsx index 2aeae9bae..fcb209005 100644 --- a/src/view/com/util/forms/DropdownButton.tsx +++ b/src/view/com/util/forms/DropdownButton.tsx @@ -291,6 +291,8 @@ const DropdownItems = ({ const theme = useTheme() const dropDownBackgroundColor = theme.colorScheme === 'dark' ? pal.btn : pal.view + const separatorColor = + theme.colorScheme === 'dark' ? pal.borderDark : pal.border return ( <> @@ -322,7 +324,9 @@ const DropdownItems = ({ ) } else if (isSep(item)) { - return + return ( + + ) } return null })} -- cgit 1.4.1