Skip to content

Commit f991bfa

Browse files
author
Alex Usbergo
committed
Demo points to right package
1 parent f5e474c commit f991bfa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Demo/CoreRenderDemo/DemoWidget.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func makeDemoWidget(context: Context, coordinator: DemoWidgetCoordinator) -> Opa
4242
LabelNode(text: ">> TAP HERE TO SPIN THE BUTTON >>")
4343
.font(UIFont.systemFont(ofSize: 12, weight: .bold))
4444
.textAlignment(.center)
45-
.textColor(.systemOrange)
45+
.textColor(.systemRed)
4646
.height(Const.size)
4747
.margin(Const.margin)
4848
.userInteractionEnabled(true)
@@ -53,7 +53,7 @@ func makeDemoWidget(context: Context, coordinator: DemoWidgetCoordinator) -> Opa
5353
ButtonNode(key: Const.increaseButtonKey, target: coordinator)
5454
.text("TAP HERE TO INCREASE THE COUNTER")
5555
.font(UIFont.systemFont(ofSize: 12, weight: .bold))
56-
.background(.systemTeal)
56+
.background(.systemIndigo)
5757
.padding(Const.margin * 2)
5858
.cornerRadius(Const.cornerRadius)
5959
EmptyNode()
@@ -82,7 +82,7 @@ extension DemoWidgetCoordinator {
8282

8383
// MARK: - Constants
8484

85-
struct Const {
85+
private struct Const {
8686
static let increaseButtonKey = "button_increase"
8787
static let size: CGFloat = 48.0
8888
static let cornerRadius: CGFloat = 8.0

0 commit comments

Comments
 (0)