Fixed a typo
This commit is contained in:
parent
7d98ba1e0d
commit
1cee865b7e
3 changed files with 3 additions and 3 deletions
|
|
@ -92,7 +92,7 @@ namespace Nuclex.Avalonia.CommonDialogs {
|
|||
/// A task that will provide the pre-opened file for readiong or null if
|
||||
/// the user has canceled the file picker dialog
|
||||
/// </returns>
|
||||
public async Task<IStorageFile?> AskForFileToOpeAsync(
|
||||
public async Task<IStorageFile?> AskForFileToOpenAsync(
|
||||
string caption, params FilePickerFileType[] fileTypes
|
||||
) {
|
||||
var options = new FilePickerOpenOptions() {
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ namespace Nuclex.Avalonia.CommonDialogs {
|
|||
/// A task that will provide the pre-opened file for readiong or null if
|
||||
/// the user has canceled the file picker dialog
|
||||
/// </returns>
|
||||
Task<IStorageFile?> AskForFileToOpeAsync(
|
||||
Task<IStorageFile?> AskForFileToOpenAsync(
|
||||
string caption, params FilePickerFileType[] fileTypes
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ namespace Nuclex.Avalonia.ViewModels {
|
|||
/// <param name="newPage">New page to switch to</param>
|
||||
/// <returns>A task that will finish when the new page has been switched to</returns>
|
||||
private Task switchPageAsync(TPageEnumeration newPage) {
|
||||
if(Comparer.Default.Compare(this.activePage, newPage) == 0) {
|
||||
if(newPage.Equals(this.activePage)) {
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue