Skip to content

My watchOS app #83822

@namename455391938-web-1

Description

Description

var body: some View {
   VStack {
        Text("Heart Rate")
            .fixedSize(horizontal: true, vertical: true)
            .font(.system(Font.TextStyle.headline))
            .foregroundColor(.gray)
        Text(String(format: "%d", Heart ?? Heart))
            .fixedSize(horizontal: true, vertical: true)
            .font(.system(Font.TextStyle.largeTitle))
            .foregroundColor(.red)
        Image(systemName: "heart.fill")
            .foregroundColor(.red)
   }
   .padding()
}

The var body: some View of my app is what caused the bug.

Reproduction

Text(String(format: "%d", Heart ?? Heart))

Expected behavior

Making the body variable of the View struct named ContentView.

Environment

6.0.3

Additional information

XCode made me report it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.triage neededThis issue needs more specific labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions