1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2025-01-13 19:27:33 +01:00

Do not allow alarm to start alarm activity from a long press on a Pebble

This commit is contained in:
Andreas Shimokawa 2015-07-05 00:41:06 +02:00
parent 0ca375b87b
commit cdd26a43d2

View File

@ -174,6 +174,7 @@ public class ControlCenter extends Activity {
if (!selectedDevice.isConnected() || selectedDevice.getType() == DeviceType.PEBBLE) { if (!selectedDevice.isConnected() || selectedDevice.getType() == DeviceType.PEBBLE) {
menu.removeItem(R.id.controlcenter_fetch_activity_data); menu.removeItem(R.id.controlcenter_fetch_activity_data);
menu.removeItem(R.id.controlcenter_configure_alarms);
} }
if (!selectedDevice.isConnected() || selectedDevice.getType() == DeviceType.MIBAND) { if (!selectedDevice.isConnected() || selectedDevice.getType() == DeviceType.MIBAND) {