Skip to content

Commit

Permalink
Enable GetDrawableAsync for release (dotnet#26983)
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWeen authored Jan 7, 2025
1 parent 32c54e0 commit 68c7dc7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public async Task ThrowsForIncorrectTypes(Type type)
await Assert.ThrowsAsync<InvalidCastException>(() => service.GetDrawableAsync(imageSource, MauiProgram.DefaultContext));
}

#if DEBUG
[Theory]
[InlineData("#FF0000")]
[InlineData("#00FF00")]
Expand All @@ -45,6 +44,5 @@ public async Task GetDrawableAsync(string colorHex)

bitmap.AssertColorAtCenter(expectedColor);
}
#endif
}
}
}

0 comments on commit 68c7dc7

Please sign in to comment.