Skip to content

Commit

Permalink
Fix #8 use total
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontemagno authored Jan 21, 2017
1 parent c3a3bc7 commit 777e4c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MvvmHelpers/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public async static Task<T> WithTimeout<T>(this Task<T> task, int timeoutInMilli
/// <param name="timeout">Timeout Duration.</param>
/// <typeparam name="T">The 1st type parameter.</typeparam>
public static Task<T> WithTimeout<T>(this Task<T> task, TimeSpan timeout) =>
WithTimeout(task, timeout.Milliseconds);
WithTimeout(task, timeout.TotalMilliseconds);

}
}
Expand Down

0 comments on commit 777e4c7

Please sign in to comment.