Skip to content

Commit 3fbca75

Browse files
committed
nitpick: change openDeviceAndPort to private in MainActivityViewModel
1 parent 52a9918 commit 3fbca75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/kabiri/android/usbterminal/viewmodel/MainActivityViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ internal class MainActivityViewModel
101101
arduinoUseCase.disconnect()
102102
}
103103

104-
fun openDeviceAndPort(device: UsbDevice) = viewModelScope.launch {
104+
private fun openDeviceAndPort(device: UsbDevice) = viewModelScope.launch {
105105
arduinoUseCase.openDeviceAndPort(device)
106106
}
107107

0 commit comments

Comments
 (0)