Skip to content

Commit

Permalink
using val than var
Browse files Browse the repository at this point in the history
  • Loading branch information
xylophone21 committed Sep 24, 2021
1 parent 46e85b5 commit b49d502
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class DeviceProvisioningFragment : Fragment() {
deviceController.setCompletionListener(ConnectionCallback())

val deviceId = DeviceIdUtil.getNextAvailableId(requireContext())
var connId = bluetoothManager.connectionId
val connId = bluetoothManager.connectionId
deviceController.pairDevice(gatt, connId, deviceId, deviceInfo.setupPinCode)
DeviceIdUtil.setNextAvailableId(requireContext(), deviceId + 1)
}
Expand Down

0 comments on commit b49d502

Please sign in to comment.