mirror of
https://github.com/aljazceru/Android-nRF-Toolbox.git
synced 2025-12-20 16:04:22 +01:00
Fix padding on UART
This commit is contained in:
@@ -76,7 +76,7 @@ fun UARTScreen() {
|
||||
modifier = Modifier.padding(it)
|
||||
) {
|
||||
if (state.uartManagerState.deviceName == null) {
|
||||
DeviceConnectingView()
|
||||
PaddingBox { DeviceConnectingView() }
|
||||
} else {
|
||||
when (state.uartManagerState.connectionState) {
|
||||
GattConnectionState.STATE_CONNECTING -> PaddingBox { DeviceConnectingView { NavigateUpButton(navigateUp) } }
|
||||
|
||||
Reference in New Issue
Block a user