@@ -79,7 +79,7 @@ export function EditorHeader({
7979 style = { styles . gradient }
8080 />
8181 < View style = { styles . header } >
82- < GlassView glassEffectStyle = "regular" style = { styles . glassButton } >
82+ < GlassView glassEffectStyle = "regular" style = { [ styles . glassButton , { backgroundColor : theme . isDark ? 'rgba(255, 255, 255, 0.01)' : 'rgba(0, 0, 0, 0.01)' } ] } >
8383 < TouchableOpacity
8484 style = { styles . iconButton }
8585 onPress = { onBack }
@@ -103,7 +103,7 @@ export function EditorHeader({
103103
104104 < View style = { styles . headerActions } >
105105 { onToggleHeader && (
106- < GlassView glassEffectStyle = "regular" style = { styles . glassButton } >
106+ < GlassView glassEffectStyle = "regular" style = { [ styles . glassButton , { backgroundColor : theme . isDark ? 'rgba(255, 255, 255, 0.01)' : 'rgba(0, 0, 0, 0.01)' } ] } >
107107 < TouchableOpacity
108108 style = { [ styles . iconButton , showHeader && styles . iconButtonActive ] }
109109 onPress = { onToggleHeader }
@@ -121,7 +121,7 @@ export function EditorHeader({
121121 ) }
122122
123123 { onToggleToolbar && (
124- < GlassView glassEffectStyle = "regular" style = { styles . glassButton } >
124+ < GlassView glassEffectStyle = "regular" style = { [ styles . glassButton , { backgroundColor : theme . isDark ? 'rgba(255, 255, 255, 0.01)' : 'rgba(0, 0, 0, 0.01)' } ] } >
125125 < TouchableOpacity
126126 style = { [ styles . iconButton , showToolbar && styles . iconButtonActive ] }
127127 onPress = { onToggleToolbar }
@@ -139,7 +139,7 @@ export function EditorHeader({
139139 ) }
140140
141141 { onToggleAttachments && (
142- < GlassView glassEffectStyle = "regular" style = { styles . glassButton } >
142+ < GlassView glassEffectStyle = "regular" style = { [ styles . glassButton , { backgroundColor : theme . isDark ? 'rgba(255, 255, 255, 0.01)' : 'rgba(0, 0, 0, 0.01)' } ] } >
143143 < TouchableOpacity
144144 style = { [ styles . iconButton , showAttachments && styles . iconButtonActive ] }
145145 onPress = { onToggleAttachments }
@@ -166,7 +166,7 @@ export function EditorHeader({
166166 ) }
167167
168168 { onTestEditor && isEditing && (
169- < GlassView glassEffectStyle = "regular" style = { styles . glassButton } >
169+ < GlassView glassEffectStyle = "regular" style = { [ styles . glassButton , { backgroundColor : theme . isDark ? 'rgba(255, 255, 255, 0.01)' : 'rgba(0, 0, 0, 0.01)' } ] } >
170170 < TouchableOpacity
171171 style = { styles . iconButton }
172172 onPress = { onTestEditor }
@@ -178,7 +178,7 @@ export function EditorHeader({
178178 ) }
179179
180180 { isEditing && (
181- < GlassView glassEffectStyle = "regular" style = { styles . glassButton } >
181+ < GlassView glassEffectStyle = "regular" style = { [ styles . glassButton , { backgroundColor : theme . isDark ? 'rgba(255, 255, 255, 0.01)' : 'rgba(0, 0, 0, 0.01)' } ] } >
182182 < TouchableOpacity
183183 style = { [ styles . iconButton , { opacity : ( isOffline && ! isTempNote ) ? 0.4 : 1 } ] }
184184 onPress = { onDelete }
@@ -190,7 +190,7 @@ export function EditorHeader({
190190 </ GlassView >
191191 ) }
192192
193- < GlassView glassEffectStyle = "regular" style = { styles . glassButton } >
193+ < GlassView glassEffectStyle = "regular" style = { [ styles . glassButton , { backgroundColor : theme . isDark ? 'rgba(255, 255, 255, 0.01)' : 'rgba(0, 0, 0, 0.01)' } ] } >
194194 < TouchableOpacity
195195 style = { [
196196 styles . iconButton ,
@@ -245,7 +245,6 @@ const styles = StyleSheet.create({
245245 glassButton : {
246246 borderRadius : 19 ,
247247 overflow : 'hidden' ,
248- backgroundColor : 'rgba(255, 255, 255, 0.01)' ,
249248 } ,
250249 iconButton : {
251250 width : 38 ,
0 commit comments