private void InstanceOnBatteryTypeResponse(object sender, BatteryTypeParser e) { Dispatcher.Invoke(() => { BatteryType.TextDetail = $"Left: {e.LeftBatteryType}, Right: {e.RightBatteryType}"; }); }
private void InstanceOnBatteryTypeResponse(object?sender, BatteryTypeParser e) { _batteryType.Description = $"{Left}: {e.LeftBatteryType}, {Right}: {e.RightBatteryType}"; if (BluetoothImpl.Instance.ActiveModel != Models.Buds) { _batteryType.Description = Loc.Resolve("system_battery_type_unknown"); } }
private void InstanceOnBatteryTypeResponse(object sender, BatteryTypeParser e) { Dispatcher.Invoke(() => { BatteryType.TextDetail = $"{Left}: {e.LeftBatteryType}, {Right}: {e.RightBatteryType}"; if (BluetoothService.Instance.ActiveModel == Model.BudsPlus) { BatteryType.TextDetail = Loc.GetString("system_battery_type_unknown"); } }); }
private void InstanceOnBatteryTypeResponse(object sender, BatteryTypeParser e) { Dispatcher.Invoke(() => { BatteryType.TextDetail = $"Left: {e.LeftBatteryType}, Right: {e.RightBatteryType}"; if (BluetoothService.Instance.ActiveModel == Model.BudsPlus) { BatteryType.TextDetail = "Not specified"; } }); }