Skip to content

Commit

Permalink
Chore/clean up (#1)
Browse files Browse the repository at this point in the history
* Clean up inconsistency

* Remove whitespace

* Update pods script

* Cleanup new lines
  • Loading branch information
tien authored Mar 4, 2021
1 parent 7cc1be8 commit 9723f54
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PODS:
- React-RCTSettings (= 0.63.4)
- React-RCTText (= 0.63.4)
- React-RCTVibration (= 0.63.4)
- react-airplay (0.1.1-beta.1):
- react-airplay (0.1.1-beta.3):
- React
- React-callinvoker (0.63.4)
- React-Core (0.63.4):
Expand Down Expand Up @@ -358,7 +358,7 @@ SPEC CHECKSUMS:
RCTRequired: 082f10cd3f905d6c124597fd1c14f6f2655ff65e
RCTTypeSafety: 8c9c544ecbf20337d069e4ae7fd9a377aadf504b
React: b0a957a2c44da4113b0c4c9853d8387f8e64e615
react-airplay: 68c6b4b6622a567f2d98e30dc758e73931f0ffb7
react-airplay: 6232341765ca05675edf817f377cdc47e108f4ba
React-callinvoker: c3f44dd3cb195b6aa46621fff95ded79d59043fe
React-Core: d3b2a1ac9a2c13c3bcde712d9281fc1c8a5b315b
React-CoreModules: 0581ff36cb797da0943d424f69e7098e43e9be60
Expand Down
2 changes: 1 addition & 1 deletion ios/modules/RAAirplayConnectivityContext.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

@interface RCT_EXTERN_MODULE(RAAirplayConnectivityContext, RCTEventEmitter)

RCT_EXTERN_METHOD(fetchAirplayConnectivity: (RCTPromiseResolveBlock)resolve withRejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(fetchAirplayConnectivity:(RCTPromiseResolveBlock)resolve withRejecter:(RCTPromiseRejectBlock)reject)

@end
2 changes: 1 addition & 1 deletion ios/modules/RAAirplayConnectivityContext.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class RAAirplayConnectivityContext: RAEventEmitter {
}

@objc(fetchAirplayConnectivity:withRejecter:)
func fetchAirplayConnectivity(_ resolve: RCTPromiseResolveBlock, withRejecter reject: RCTPromiseRejectBlock) -> Void {
func fetchAirplayConnectivity(_ resolve: RCTPromiseResolveBlock, withRejecter reject: RCTPromiseRejectBlock) {
resolve(self.getAirplayConnectivity())
}

Expand Down
2 changes: 1 addition & 1 deletion ios/modules/RAExternalPlaybackAvailabilityContext.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

@interface RCT_EXTERN_MODULE(RAExternalPlaybackAvailabilityContext, RCTEventEmitter)

RCT_EXTERN_METHOD(fetchExternalPlaybackAvailability: (RCTPromiseResolveBlock)resolve withRejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(fetchExternalPlaybackAvailability:(RCTPromiseResolveBlock)resolve withRejecter:(RCTPromiseRejectBlock)reject)

@end
2 changes: 1 addition & 1 deletion ios/modules/RAExternalPlaybackAvailabilityContext.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class RAExternalPlaybackAvailabilityContext: RAEventEmitter {
}

@objc(fetchExternalPlaybackAvailability:withRejecter:)
func fetchExternalPlaybackAvailability(_ resolve: RCTPromiseResolveBlock, withRejecter rejecter: RCTPromiseRejectBlock) -> Void {
func fetchExternalPlaybackAvailability(_ resolve: RCTPromiseResolveBlock, withRejecter reject: RCTPromiseRejectBlock) {
resolve(self.getExternalPlaybackAvailability())
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"prepare": "bob build",
"release": "release-it",
"example": "yarn --cwd example",
"pods": "cd example && pod-install --quiet",
"pods": "cd ios && pod-install --quiet && cd ../example && pod-install --quiet",
"bootstrap": "yarn example && yarn && yarn pods"
},
"keywords": [
Expand Down

0 comments on commit 9723f54

Please sign in to comment.