Skip to content

Commit 4d97483

Browse files
committed
wip
1 parent ababb68 commit 4d97483

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,13 @@ else {
2727
By default, [`reportIssue`](<doc:reportIssue(_:fileID:filePath:line:column:)>) will trigger an
2828
unobtrusive, purple runtime warning when running your app in Xcode (simulator and device):
2929

30-
![A purple runtime warning in Xcode showing that an issue has been reported.](runtime-warning)
30+
<picture>
31+
<source media="(prefers-color-scheme: dark)" srcset="Sources/IssueReporting/Resources/runtime-warning~dark.png">
32+
<source media="(prefers-color-scheme: light)" srcset="Sources/IssueReporting/Resources/runtime-warning.png">
33+
<img alt="A purple runtime warning in Xcode showing that an issue has been reported." src="Sources/IssueReporting/Resources/runtime-warning.png">
34+
</picture>
3135

32-
This provides a very visible way to see when an issue has occured in your application without
36+
This provides a very visible way to see when an issue has occurred in your application without
3337
stopping the app's execution and interrupting your workflow.
3438

3539
The [`reportIssue`](<doc:reportIssue(_:fileID:filePath:line:column:)>) tool can also be customized
@@ -43,7 +47,11 @@ framework), all reported issues become _test failures_. This helps you get test
4347
problematic code paths are not executed, and makes it possible to build testing tools for libraries
4448
that ship in the same target as the library itself.
4549

46-
// TODO: test failure image
50+
<picture>
51+
<source media="(prefers-color-scheme: dark)" srcset="Sources/IssueReporting/Resources/test-failure~dark.png">
52+
<source media="(prefers-color-scheme: light)" srcset="Sources/IssueReporting/Resources/test-failure.png">
53+
<img alt="A purple runtime warning in Xcode showing that an issue has been reported." src="Sources/IssueReporting/Resources/test-failure.png">
54+
</picture>
4755

4856
// TODO: link to get started article
4957

Sources/IssueReporting/Documentation.docc/Articles/GettingStarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ unobtrusive, purple runtime warning when running your app in Xcode (simulator an
2222

2323
![A purple runtime warning in Xcode showing that an issue has been reported.](runtime-warning)
2424

25-
This provides a very visible way to see when an issue has occured in your application without
25+
This provides a very visible way to see when an issue has occurred in your application without
2626
stopping the app's execution and interrupting your workflow.
2727

2828
The [`reportIssue`](<doc:reportIssue(_:fileID:filePath:line:column:)>) tool can also be customized

Sources/IssueReporting/Documentation.docc/IssueReporting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ unobtrusive, purple runtime warning when running your app in Xcode (simulator an
2525

2626
![A purple runtime warning in Xcode showing that an issue has been reported.](runtime-warning)
2727

28-
This provides a very visible way to see when an issue has occured in your application without
28+
This provides a very visible way to see when an issue has occurred in your application without
2929
stopping the app's execution and interrupting your workflow.
3030

3131
The [`reportIssue`](<doc:reportIssue(_:fileID:filePath:line:column:)>) tool can also be customized

0 commit comments

Comments
 (0)