@@ -123,9 +123,9 @@ const Content = ({ deviceID }: TProps) => {
123123 < ShowRecoveryWordsSetting deviceID = { deviceID } />
124124 </ div >
125125
126- { /*"Device information " section*/ }
126+ { /*"Device settings " section*/ }
127127 < div className = { styles . section } >
128- < SubTitle className = { styles . withMobilePadding } > { t ( 'deviceSettings.deviceInformation .title' ) } </ SubTitle >
128+ < SubTitle className = { styles . withMobilePadding } > { t ( 'deviceSettings.deviceSettings .title' ) } </ SubTitle >
129129 { deviceInfo ? (
130130 < DeviceNameSetting
131131 deviceName = { deviceInfo . name }
@@ -134,7 +134,25 @@ const Content = ({ deviceID }: TProps) => {
134134 ) :
135135 < StyledSkeleton />
136136 }
137- < AttestationCheckSetting deviceID = { deviceID } />
137+ { deviceInfo && deviceInfo . bluetooth && ! runningInIOS ( )
138+ ? < BluetoothToggleEnabledSetting deviceID = { deviceID } />
139+ : null
140+ }
141+ {
142+ versionInfo ? (
143+ < ChangeDevicePasswordSetting
144+ deviceID = { deviceID }
145+ canChangePassword = { versionInfo . canChangePassword }
146+ />
147+ ) : (
148+ < StyledSkeleton />
149+ )
150+ }
151+ </ div >
152+
153+ { /*"Device information" section*/ }
154+ < div className = { styles . section } >
155+ < SubTitle className = { styles . withMobilePadding } > { t ( 'deviceSettings.deviceInformation.title' ) } </ SubTitle >
138156 {
139157 versionInfo ? (
140158 < FirmwareSetting
@@ -145,30 +163,27 @@ const Content = ({ deviceID }: TProps) => {
145163 < StyledSkeleton />
146164 }
147165 {
148- deviceInfo && deviceInfo . securechipModel !== '' ?
149- < SecureChipSetting secureChipModel = { deviceInfo . securechipModel } />
150- :
151- < StyledSkeleton />
166+ deviceInfo && deviceInfo . bluetooth ? (
167+ < BluetoothFirmwareSetting
168+ firmwareVersion = { deviceInfo . bluetooth . firmwareVersion }
169+ />
170+ ) : null
152171 }
172+ < AttestationCheckSetting deviceID = { deviceID } />
153173 {
154174 rootFingerprintResult && rootFingerprintResult . success ?
155175 < RootFingerprintSetting rootFingerprint = { rootFingerprintResult . rootFingerprint } />
156176 :
157177 < StyledSkeleton />
158178 }
179+ {
180+ deviceInfo && deviceInfo . securechipModel !== '' ?
181+ < SecureChipSetting secureChipModel = { deviceInfo . securechipModel } />
182+ :
183+ < StyledSkeleton />
184+ }
159185 </ div >
160186
161- { /*"Bluetooth" section*/ }
162- { deviceInfo && deviceInfo . bluetooth ? (
163- < div className = { styles . section } >
164- < SubTitle className = { styles . withMobilePadding } > Bluetooth</ SubTitle >
165- { ! runningInIOS ( ) ? < BluetoothToggleEnabledSetting deviceID = { deviceID } /> : null }
166- < BluetoothFirmwareSetting
167- firmwareVersion = { deviceInfo . bluetooth . firmwareVersion }
168- />
169- </ div >
170- ) : null }
171-
172187 { /*"Expert settings" section*/ }
173188 < div className = { styles . section } >
174189 < SubTitle className = { styles . withMobilePadding } > { t ( 'settings.expert.title' ) } </ SubTitle >
@@ -194,16 +209,6 @@ const Content = ({ deviceID }: TProps) => {
194209 }
195210 < GoToStartupSettings deviceID = { deviceID } />
196211 < FactoryResetSetting deviceID = { deviceID } />
197- {
198- versionInfo ? (
199- < ChangeDevicePasswordSetting
200- deviceID = { deviceID }
201- canChangePassword = { versionInfo . canChangePassword }
202- />
203- ) : (
204- < StyledSkeleton />
205- )
206- }
207212 </ div >
208213 </ >
209214 ) ;
0 commit comments