Skip to content
This repository was archived by the owner on Apr 2, 2018. It is now read-only.

Commit 93d05ef

Browse files
committed
consistent style tweak
1 parent 77ab8f6 commit 93d05ef

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

src/ios/IonicKeyboard.m

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,13 @@ - (void)setStyleDark:(BOOL)styleDark {
9898

9999
/* ------------------------------------------------------------- */
100100

101-
- (void)scrollViewDidScroll:(UIScrollView *)scrollView
102-
{
101+
- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
103102
[scrollView setContentOffset: CGPointZero];
104103
}
105104

106105
/* ------------------------------------------------------------- */
107106

108-
- (void)dealloc
109-
{
107+
- (void)dealloc {
110108
NSNotificationCenter* nc = [NSNotificationCenter defaultCenter];
111109

112110
[nc removeObserver:self name:UIKeyboardWillShowNotification object:nil];
@@ -115,8 +113,7 @@ - (void)dealloc
115113

116114
/* ------------------------------------------------------------- */
117115

118-
- (void) disableScroll:(CDVInvokedUrlCommand*)command
119-
{
116+
- (void) disableScroll:(CDVInvokedUrlCommand*)command {
120117
if (!command.arguments || ![command.arguments count]){
121118
return;
122119
}
@@ -125,8 +122,7 @@ - (void) disableScroll:(CDVInvokedUrlCommand*)command
125122
self.disableScroll = [value boolValue];
126123
}
127124

128-
- (void) hideKeyboardAccessoryBar:(CDVInvokedUrlCommand*)command
129-
{
125+
- (void) hideKeyboardAccessoryBar:(CDVInvokedUrlCommand*)command {
130126
if (!command.arguments || ![command.arguments count]){
131127
return;
132128
}
@@ -135,13 +131,11 @@ - (void) hideKeyboardAccessoryBar:(CDVInvokedUrlCommand*)command
135131
self.hideKeyboardAccessoryBar = [value boolValue];
136132
}
137133

138-
- (void) close:(CDVInvokedUrlCommand*)command
139-
{
134+
- (void) close:(CDVInvokedUrlCommand*)command {
140135
[self.webView endEditing:YES];
141136
}
142137

143-
- (void) styleDark:(CDVInvokedUrlCommand*)command
144-
{
138+
- (void) styleDark:(CDVInvokedUrlCommand*)command {
145139
if (!command.arguments || ![command.arguments count]){
146140
return;
147141
}

0 commit comments

Comments
 (0)