mirror of
https://github.com/aljazceru/Android-nRF-Toolbox.git
synced 2025-12-24 01:44:23 +01:00
Fix manager in progress indicator
This commit is contained in:
@@ -20,7 +20,7 @@ import no.nordicsemi.android.theme.R
|
||||
import no.nordicsemi.android.theme.view.ScreenSection
|
||||
|
||||
enum class Reason {
|
||||
USER, LINK_LOSS, MISSING_SERVICE
|
||||
USER, UNKNOWN, LINK_LOSS, MISSING_SERVICE
|
||||
}
|
||||
|
||||
@Composable
|
||||
@@ -57,6 +57,7 @@ fun DeviceDisconnectedView(reason: Reason, navigateUp: () -> Unit) {
|
||||
Reason.USER -> stringResource(id = R.string.device_reason_user)
|
||||
Reason.LINK_LOSS -> stringResource(id = R.string.device_reason_link_loss)
|
||||
Reason.MISSING_SERVICE -> stringResource(id = R.string.device_reason_missing_service)
|
||||
Reason.UNKNOWN -> stringResource(id = R.string.device_reason_unknown)
|
||||
}
|
||||
|
||||
Text(
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<string name="dialog">Dialog</string>
|
||||
<string name="cancel">CANCEL</string>
|
||||
|
||||
<string name="go_up">Go up</string>
|
||||
<string name="go_up">Back</string>
|
||||
|
||||
<string name="close_app">Close the application.</string>
|
||||
<string name="back_screen">Close the current screen.</string>
|
||||
@@ -15,10 +15,11 @@
|
||||
|
||||
<string name="device_disconnected">Disconnected</string>
|
||||
<string name="device_reason_user">Device disconnected successfully.</string>
|
||||
<string name="device_reason_unknown">Device disconnected with unknown reason.</string>
|
||||
<string name="device_reason_link_loss">Device signal has been lost.</string>
|
||||
<string name="device_reason_missing_service">Device was disconnected, because required services are missing.</string>
|
||||
|
||||
<string name="device_connecting">Connecting</string>
|
||||
<string name="device_connecting">Connecting...</string>
|
||||
<string name="device_explanation">The mobile is trying to connect to peripheral device.</string>
|
||||
<string name="device_please_wait">Please wait...</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user