refactor: remove getString() from RadioConfigViewModel

This commit is contained in:
andrekir 2024-12-17 12:42:09 -03:00 committed by Andre K
parent b05768df98
commit 74497488a7
5 changed files with 90 additions and 42 deletions

View file

@ -74,7 +74,7 @@ fun <T> PacketResponseStateDialog(
}
if (state is ResponseState.Error) {
Text(text = stringResource(id = R.string.error), minLines = 2)
Text(text = state.error)
Text(text = state.error.asString())
}
}
},