Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ladislas/feature/reformat code #469

Merged
merged 1 commit into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ public struct CharacteristicModelNotifying {
public let cbCharacteristic: CBCharacteristic?
public let onNotification: Callback?

public init(characteristicUUID: CBUUID, serviceUUID: CBUUID, cbCharacteristic: CBCharacteristic? = nil, onNotification: Callback? = nil ) {
public init(
characteristicUUID: CBUUID, serviceUUID: CBUUID, cbCharacteristic: CBCharacteristic? = nil,
onNotification: Callback? = nil
) {
self.characteristicUUID = characteristicUUID
self.serviceUUID = serviceUUID
self.cbCharacteristic = cbCharacteristic
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public struct CharacteristicModelWriteOnly {
public let serviceUUID: CBUUID
public let onWrite: Callback?

public init(characteristicUUID: CBUUID, serviceUUID: CBUUID, onWrite: Callback? = nil ) {
public init(characteristicUUID: CBUUID, serviceUUID: CBUUID, onWrite: Callback? = nil) {
self.characteristicUUID = characteristicUUID
self.serviceUUID = serviceUUID
self.onWrite = onWrite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ class DraggableImageShadowNode: SKSpriteNode {
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ import SwiftUI
// MARK: - Public ButtonStyle extensions
//

public extension ButtonStyle where Self == RobotControlPlainButtonStyle {
extension ButtonStyle where Self == RobotControlPlainButtonStyle {

static func robotControlPlainButtonStyle(foreground: Color? = nil, background: Color? = nil) -> Self {
public static func robotControlPlainButtonStyle(foreground: Color? = nil, background: Color? = nil) -> Self {
.init(foreground: foreground, background: background)
}

}

public extension ButtonStyle where Self == RobotControlBorderedButtonStyle {
extension ButtonStyle where Self == RobotControlBorderedButtonStyle {

static func robotControlBorderedButtonStyle(foreground: Color? = nil, border: Color? = nil) -> Self {
public static func robotControlBorderedButtonStyle(foreground: Color? = nil, border: Color? = nil) -> Self {
.init(foreground: foreground, border: border)
}

Expand Down
Loading