From 08d513e8c1ce67aa2400b14a81d3e44399579f8d Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 21 Mar 2023 13:03:25 -0500 Subject: [PATCH] Fix default-banner sizing & positioning (#336) --- src/view/com/util/UserBanner.tsx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/view/com/util/UserBanner.tsx b/src/view/com/util/UserBanner.tsx index 400d8ac3..847ef6db 100644 --- a/src/view/com/util/UserBanner.tsx +++ b/src/view/com/util/UserBanner.tsx @@ -82,12 +82,6 @@ export function UserBanner({ }, ] - const renderSvg = () => ( - - - - ) - // setUserBanner is only passed as prop on the EditProfile component return onSelectNewBanner ? ( ) : ( - renderSvg() + ) } @@ -138,4 +132,7 @@ const styles = StyleSheet.create({ width: '100%', height: 150, }, + defaultBanner: { + backgroundColor: '#0070ff', + }, })