mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 00:45:55 +08:00
bug修复
This commit is contained in:
140868
android/app/mapping.txt
140868
android/app/mapping.txt
File diff suppressed because it is too large
Load Diff
95264
android/app/seeds.txt
95264
android/app/seeds.txt
File diff suppressed because it is too large
Load Diff
@@ -203,7 +203,7 @@ public class SimpleTabFragment extends BaseFragment {
|
||||
}
|
||||
|
||||
holder.click(R.id.device_item_light_button, v -> {
|
||||
if(device.getIsOnline()==0) return;
|
||||
if(device.getIsOnline()==null || device.getIsOnline()==0) return;
|
||||
//震动
|
||||
Vibrator vibrator = (Vibrator) activity.getSystemService(activity.VIBRATOR_SERVICE);
|
||||
vibrator.vibrate(100);
|
||||
@@ -213,7 +213,7 @@ public class SimpleTabFragment extends BaseFragment {
|
||||
, lightIconView);
|
||||
});
|
||||
holder.click(R.id.device_item_switch_button, v -> {
|
||||
if(device.getIsOnline()==0) return;
|
||||
if(device.getIsOnline()==null || device.getIsOnline()==0) return;
|
||||
//震动
|
||||
Vibrator vibrator = (Vibrator) activity.getSystemService(activity.VIBRATOR_SERVICE);
|
||||
vibrator.vibrate(100);
|
||||
|
||||
Reference in New Issue
Block a user