Skip to content

Commit

Permalink
Demo points to right package
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Usbergo committed Nov 30, 2019
1 parent f5e474c commit f991bfa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Demo/CoreRenderDemo/DemoWidget.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func makeDemoWidget(context: Context, coordinator: DemoWidgetCoordinator) -> Opa
LabelNode(text: ">> TAP HERE TO SPIN THE BUTTON >>")
.font(UIFont.systemFont(ofSize: 12, weight: .bold))
.textAlignment(.center)
.textColor(.systemOrange)
.textColor(.systemRed)
.height(Const.size)
.margin(Const.margin)
.userInteractionEnabled(true)
Expand All @@ -53,7 +53,7 @@ func makeDemoWidget(context: Context, coordinator: DemoWidgetCoordinator) -> Opa
ButtonNode(key: Const.increaseButtonKey, target: coordinator)
.text("TAP HERE TO INCREASE THE COUNTER")
.font(UIFont.systemFont(ofSize: 12, weight: .bold))
.background(.systemTeal)
.background(.systemIndigo)
.padding(Const.margin * 2)
.cornerRadius(Const.cornerRadius)
EmptyNode()
Expand Down Expand Up @@ -82,7 +82,7 @@ extension DemoWidgetCoordinator {

// MARK: - Constants

struct Const {
private struct Const {
static let increaseButtonKey = "button_increase"
static let size: CGFloat = 48.0
static let cornerRadius: CGFloat = 8.0
Expand Down

0 comments on commit f991bfa

Please sign in to comment.