Fixed Negative Button for converters inconsistent with visibility (#1410)
When the unit converter's category is changed, the corresponding property setter for the CurrentCategory variable mistakenly calls OnPropertyChanged("CurrentCategory") instead of RaisePropertyChanged("CurrentCategory"). This results in a failure to notify XAML that the CurrentCategory variable has changed, resulting in the corresponding UI to not be updated accordingly.
This commit is contained in:
parent
903b231b1f
commit
8cdc177658
@ -187,7 +187,7 @@ namespace CalculatorApp
|
||||
auto currentCategory = value->GetModelCategory();
|
||||
IsCurrencyCurrentCategory = currentCategory.id == CalculatorApp::Common::NavCategory::Serialize(CalculatorApp::Common::ViewMode::Currency);
|
||||
}
|
||||
OnPropertyChanged("CurrentCategory");
|
||||
RaisePropertyChanged("CurrentCategory");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user