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)
|
modifier = Modifier.padding(it)
|
||||||
) {
|
) {
|
||||||
if (state.uartManagerState.deviceName == null) {
|
if (state.uartManagerState.deviceName == null) {
|
||||||
DeviceConnectingView()
|
PaddingBox { DeviceConnectingView() }
|
||||||
} else {
|
} else {
|
||||||
when (state.uartManagerState.connectionState) {
|
when (state.uartManagerState.connectionState) {
|
||||||
GattConnectionState.STATE_CONNECTING -> PaddingBox { DeviceConnectingView { NavigateUpButton(navigateUp) } }
|
GattConnectionState.STATE_CONNECTING -> PaddingBox { DeviceConnectingView { NavigateUpButton(navigateUp) } }
|
||||||
|
|||||||
Reference in New Issue
Block a user