public void UpdateViewModel(string deviceId) { if (Device?.Id != deviceId) { return; } ResetProgress(); ViewModelUpdated?.Invoke(this, EventArgs.Empty); }
public void UpdateViewModel(string deviceId, bool askButton, bool askOldPin, bool confirmNewPin) { if (Device?.Id != deviceId) { return; } AskButton = askButton; AskOldPin = askOldPin; ConfirmNewPin = confirmNewPin; ResetProgress(); ViewModelUpdated?.Invoke(this, EventArgs.Empty); }