Skip to content

Commit

Permalink
Nicer View button
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Aug 29, 2021
1 parent 726d64d commit 2c0714f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 20 deletions.
25 changes: 6 additions & 19 deletions Pulse.xcodeproj/xcshareddata/xcschemes/Pulse Demo watchOS.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -54,46 +54,33 @@
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<RemoteRunnable
runnableDebuggingMode = "2"
BundleIdentifier = "com.apple.Carousel"
RemotePath = "/Pulse">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0CEAB3D925FE862D00F09B0F"
BuildableName = "Pulse Demo watchOS.app"
BlueprintName = "Pulse Demo watchOS"
ReferencedContainer = "container:Pulse.xcodeproj">
</BuildableReference>
</RemoteRunnable>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<RemoteRunnable
runnableDebuggingMode = "2"
BundleIdentifier = "com.apple.Carousel"
RemotePath = "/Pulse">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0CEAB3D925FE862D00F09B0F"
BuildableName = "Pulse Demo watchOS.app"
BlueprintName = "Pulse Demo watchOS"
ReferencedContainer = "container:Pulse.xcodeproj">
</BuildableReference>
</RemoteRunnable>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0CEAB3D925FE862D00F09B0F"
BuildableName = "Pulse Demo watchOS.app"
BlueprintName = "Pulse Demo watchOS"
ReferencedContainer = "container:Pulse.xcodeproj">
</BuildableReference>
</MacroExpansion>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
Expand Down
7 changes: 6 additions & 1 deletion Pulse/Sources/PulseUI/Views/KeyValueSectionView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@ struct KeyValueSectionView: View {
Button(action: action.action, label: {
Text(action.title)
Image(systemName: "chevron.right")
.foregroundColor(.separator)
.foregroundColor(Color.gray)
.font(.caption)
.padding(.top, 2)
})
.padding(EdgeInsets(top: 7, leading: 11, bottom: 7, trailing: 11))
.background(Color.secondaryFill)
.cornerRadius(20)
}
#endif
}
Expand All @@ -44,6 +48,7 @@ struct KeyValueSectionView: View {
.foregroundColor(.separator)
.font(.caption)
})

}

#else
Expand Down

0 comments on commit 2c0714f

Please sign in to comment.