Skip to content

Instantly share code, notes, and snippets.

@tinylox
Created November 3, 2014 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tinylox/675750969f7b79345b7b to your computer and use it in GitHub Desktop.
Save tinylox/675750969f7b79345b7b to your computer and use it in GitHub Desktop.
diff --git a/app/src/com/fitnesskeeper/runkeeper/StartFragment.java b/app/src/com/fitnesskeeper/runkeeper/StartFragment.java
index 624cf23..e1e2fbe 100644
--- a/app/src/com/fitnesskeeper/runkeeper/StartFragment.java
+++ b/app/src/com/fitnesskeeper/runkeeper/StartFragment.java
@@ -1121,7 +1121,8 @@ public class StartFragment extends BaseFragment implements TabFragment,
{
showHeartRateMonitorIndicator();
}
- else if (bluetoothDeviceManager.getConnectionStatus() == HRMStatusEnum.NOT_CONNECTED || (bluetoothDeviceManager.getNumDevicesFound() > 0 && bluetoothDeviceManager.getConnectionStatus() != HRMStatusEnum.WARMING))
+ else if ((bluetoothDeviceManager.getConnectionStatus() == HRMStatusEnum.NOT_CONNECTED || bluetoothDeviceManager.getConnectionStatus() != HRMStatusEnum.WARMING)
+ && bluetoothDeviceManager.getNumDevicesFound() > 0)
{
// Not currently monitoring and we've found devices, show the unpaired HR icon.
showUnpairedHeartRateMonitorIndicator();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment