mirror of
https://github.com/aljazceru/Android-nRF-Toolbox.git
synced 2026-01-26 18:14:23 +01:00
Fix new Toolbar
This commit is contained in:
@@ -50,7 +50,7 @@ fun GLSScreen() {
|
||||
@Composable
|
||||
private fun AppBar(state: GLSViewState, navigateUp: () -> Unit, viewModel: GLSViewModel) {
|
||||
val toolbarName = (state as? WorkingState)?.let {
|
||||
(it.result as? SuccessResult<GLSData>)?.deviceName()
|
||||
(it.result as? DeviceHolder)?.deviceName()
|
||||
}
|
||||
|
||||
if (toolbarName == null) {
|
||||
|
||||
Reference in New Issue
Block a user