@@ -63,7 +63,7 @@ const AutoScanningStep = props => (
6363 </ div >
6464 </ Box >
6565 < Box className = { styles . bottomArea } >
66- < Box className = { styles . instructions } >
66+ < Box className = { classNames ( styles . bottomAreaItem , styles . instructions ) } >
6767 { props . phase === PHASES . prescan && (
6868 < FormattedMessage
6969 defaultMessage = "Have your device nearby, then begin searching."
@@ -80,60 +80,63 @@ const AutoScanningStep = props => (
8080 ) }
8181 </ Box >
8282 < Dots
83+ className = { styles . bottomAreaItem }
8384 counter = { 0 }
8485 total = { 3 }
8586 />
86- { props . phase === PHASES . prescan && (
87- < button
88- className = { styles . connectionButton }
89- onClick = { props . onStartScan }
90- >
91- < FormattedMessage
92- defaultMessage = "Start Searching"
93- description = "Button in prompt for starting a search"
94- id = "gui.connection.auto-scanning.start-search"
95- />
96- </ button >
97- ) }
98- { props . phase === PHASES . pressbutton && (
99- < div className = { styles . segmentedButton } >
87+ < Box className = { classNames ( styles . bottomAreaItem , styles . buttonRow ) } >
88+ { props . phase === PHASES . prescan && (
10089 < button
101- disabled
10290 className = { styles . connectionButton }
91+ onClick = { props . onStartScan }
10392 >
10493 < FormattedMessage
105- defaultMessage = "Searching... "
106- description = "Label indicating that search is in progress "
107- id = "gui.connection.connecting-searchbutton "
94+ defaultMessage = "Start Searching"
95+ description = "Button in prompt for starting a search "
96+ id = "gui.connection.auto-scanning.start-search "
10897 />
10998 </ button >
99+ ) }
100+ { props . phase === PHASES . pressbutton && (
101+ < div className = { styles . segmentedButton } >
102+ < button
103+ disabled
104+ className = { styles . connectionButton }
105+ >
106+ < FormattedMessage
107+ defaultMessage = "Searching..."
108+ description = "Label indicating that search is in progress"
109+ id = "gui.connection.connecting-searchbutton"
110+ />
111+ </ button >
112+ < button
113+ className = { styles . connectionButton }
114+ onClick = { props . onRefresh }
115+ >
116+ < img
117+ className = { styles . abortConnectingIcon }
118+ src = { closeIcon }
119+ />
120+ </ button >
121+ </ div >
122+ ) }
123+ { props . phase === PHASES . notfound && (
110124 < button
111125 className = { styles . connectionButton }
112126 onClick = { props . onRefresh }
113127 >
114128 < img
115- className = { styles . abortConnectingIcon }
116- src = { closeIcon }
129+ className = { styles . buttonIconLeft }
130+ src = { backIcon }
131+ />
132+ < FormattedMessage
133+ defaultMessage = "Try again"
134+ description = "Button in prompt for trying a device search again"
135+ id = "gui.connection.auto-scanning.try-again"
117136 />
118137 </ button >
119- </ div >
120- ) }
121- { props . phase === PHASES . notfound && (
122- < button
123- className = { styles . connectionButton }
124- onClick = { props . onRefresh }
125- >
126- < img
127- className = { styles . buttonIconLeft }
128- src = { backIcon }
129- />
130- < FormattedMessage
131- defaultMessage = "Try again"
132- description = "Button in prompt for trying a device search again"
133- id = "gui.connection.auto-scanning.try-again"
134- />
135- </ button >
136- ) }
138+ ) }
139+ </ Box >
137140 </ Box >
138141 </ Box >
139142) ;
0 commit comments