mirror of
https://github.com/aljazceru/Android-nRF-Toolbox.git
synced 2025-12-21 08:24:22 +01:00
Remove DFU from Toolbox, because it will be in separate application.
This commit is contained in:
@@ -62,7 +62,7 @@ dependencies {
|
||||
implementation project(':profile_rscs')
|
||||
|
||||
implementation project(':profile_uart')
|
||||
implementation project(':profile_dfu')
|
||||
// implementation project(':profile_dfu')
|
||||
|
||||
implementation project(":lib_theme")
|
||||
implementation project(":lib_utils")
|
||||
|
||||
@@ -30,7 +30,6 @@ import no.nordicsemi.android.prx.view.PRXScreen
|
||||
import no.nordicsemi.android.rscs.view.RSCSScreen
|
||||
import no.nordicsemi.android.theme.view.CloseIconAppBar
|
||||
import no.nordicsemi.android.uart.view.UARTScreen
|
||||
import no.nordicsemi.dfu.view.DFUScreen
|
||||
import no.nordicsemi.ui.scanner.navigation.view.FindDeviceScreen
|
||||
|
||||
@Composable
|
||||
@@ -119,7 +118,6 @@ internal fun HomeScreen() {
|
||||
composable(NavDestination.DFU.id) {
|
||||
FindDeviceScreen(ParcelUuid(NavDestination.DFU.uuid)) {
|
||||
deviceHolder.onDeviceSelected(it)
|
||||
DFUScreen { goHome() }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -284,8 +282,8 @@ fun HomeView(callback: (NavDestination) -> Unit) {
|
||||
) {
|
||||
FeatureButton(
|
||||
R.drawable.ic_dfu, R.string.dfu_module,
|
||||
R.string.uart_module_full
|
||||
) { callback(NavDestination.DFU) }
|
||||
R.string.dfu_module_full
|
||||
) { }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -18,5 +18,5 @@
|
||||
<string name="uart_module">UART</string>
|
||||
<string name="uart_module_full">Serial port over BLE</string>
|
||||
<string name="dfu_module">DFU</string>
|
||||
<string name="dfu_module_full">Device Firmware Update</string>
|
||||
<string name="dfu_module_full">DFU is now available in separate application.</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user