Skip to content

Commit a8de711

Browse files
committed
fix: scroll icon disable color reset
1 parent b0acebf commit a8de711

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

components/AddressBook/AddressBook.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,10 +495,10 @@ const AddressBook: React.FunctionComponent<AddressBookProps> = ({
495495
right: 10,
496496
paddingHorizontal: 5,
497497
paddingVertical: 10,
498-
backgroundColor: isScrollingToTop ? colors.primaryDisabled : colors.sideMenuBackground,
498+
backgroundColor: colors.sideMenuBackground,
499499
borderRadius: 50,
500500
borderWidth: 1,
501-
borderColor: isScrollingToTop ? colors.primaryDisabled : colors.zingo,
501+
borderColor: colors.zingo,
502502
opacity: isScrollingToTop ? 0.5 : 1,
503503
}}>
504504
<FontAwesomeIcon

components/AddressList/AddressList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,10 @@ const AddressList: React.FunctionComponent<AddressListProps> = ({
259259
right: 10,
260260
paddingHorizontal: 5,
261261
paddingVertical: 10,
262-
backgroundColor: isScrollingToTop ? colors.primaryDisabled : colors.sideMenuBackground,
262+
backgroundColor: colors.sideMenuBackground,
263263
borderRadius: 50,
264264
borderWidth: 1,
265-
borderColor: isScrollingToTop ? colors.primaryDisabled : colors.zingo,
265+
borderColor: colors.zingo,
266266
opacity: isScrollingToTop ? 0.5 : 1,
267267
}}>
268268
<FontAwesomeIcon

components/History/History.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,11 +508,11 @@ const History: React.FunctionComponent<HistoryProps> = ({
508508
right: 10,
509509
paddingHorizontal: 5,
510510
paddingVertical: 10,
511-
backgroundColor: isScrollingToTop ? colors.primaryDisabled : colors.sideMenuBackground,
511+
backgroundColor: colors.sideMenuBackground,
512512
borderRadius: 50,
513513
transform: [{ scale: pressed ? 0.9 : 1 }],
514514
borderWidth: 1,
515-
borderColor: isScrollingToTop ? colors.primaryDisabled : colors.zingo,
515+
borderColor: colors.zingo,
516516
opacity: isScrollingToTop ? 0.5 : 1,
517517
})}>
518518
<FontAwesomeIcon

components/Messages/components/ContactList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,10 +628,10 @@ const ContactList: React.FunctionComponent<ContactListProps> = ({
628628
right: 10,
629629
paddingHorizontal: 5,
630630
paddingVertical: 10,
631-
backgroundColor: isScrollingToTop ? colors.primaryDisabled : colors.sideMenuBackground,
631+
backgroundColor: colors.sideMenuBackground,
632632
borderRadius: 50,
633633
borderWidth: 1,
634-
borderColor: isScrollingToTop ? colors.primaryDisabled : colors.zingo,
634+
borderColor: colors.zingo,
635635
opacity: isScrollingToTop ? 0.5 : 1,
636636
}}>
637637
<FontAwesomeIcon

components/Messages/components/MessageList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -778,10 +778,10 @@ const MessageList: React.FunctionComponent<MessageListProps> = ({
778778
right: 10,
779779
paddingHorizontal: 5,
780780
paddingVertical: 10,
781-
backgroundColor: isScrollingToBottom ? colors.primaryDisabled : colors.sideMenuBackground,
781+
backgroundColor: colors.sideMenuBackground,
782782
borderRadius: 50,
783783
borderWidth: 1,
784-
borderColor: isScrollingToBottom ? colors.primaryDisabled : colors.zingo,
784+
borderColor: colors.zingo,
785785
opacity: isScrollingToBottom ? 0.5 : 1,
786786
}}>
787787
<FontAwesomeIcon

0 commit comments

Comments
 (0)