File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class Basic extends Component {
20
20
constructor ( ) {
21
21
super ( )
22
22
this . state = {
23
- hideBlurs : false ,
23
+ showBlurs : true ,
24
24
blurBlurType : 'light' ,
25
25
blurActiveSegment : 1 ,
26
26
vibrancyBlurType : 'dark' ,
@@ -54,11 +54,9 @@ class Basic extends Component {
54
54
resizeMode = 'cover'
55
55
style = { styles . img } />
56
56
57
- { ( this . state . hideBlurs
57
+ { ( this . state . showBlurs
58
58
59
- ? null
60
-
61
- : < View style = { styles . container } >
59
+ ? < View style = { styles . container } >
62
60
63
61
< BlurView
64
62
blurType = { this . state . blurBlurType }
@@ -87,13 +85,15 @@ class Basic extends Component {
87
85
</ VibrancyView >
88
86
89
87
</ View >
88
+
89
+ : null
90
90
) }
91
91
92
92
< View
93
93
style = { styles . blurToggle } >
94
94
< Switch
95
- onValueChange = { ( value ) => this . setState ( { hideBlurs : value } ) }
96
- value = { this . state . hideBlurs } />
95
+ onValueChange = { ( value ) => this . setState ( { showBlurs : value } ) }
96
+ value = { this . state . showBlurs } />
97
97
</ View >
98
98
99
99
</ View >
You can’t perform that action at this time.
0 commit comments