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

Commit e0a8010

Browse files
committed
remove styleDark until we know it's app store safe
1 parent bf2bc1f commit e0a8010

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

src/ios/IonicKeyboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
@property (readwrite, assign) BOOL hideKeyboardAccessoryBar;
99
@property (readwrite, assign) BOOL disableScroll;
10-
@property (readwrite, assign) BOOL styleDark;
10+
//@property (readwrite, assign) BOOL styleDark;
1111

1212
@end
1313

src/ios/IonicKeyboard.m

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ @implementation IonicKeyboard
66

77
@synthesize hideKeyboardAccessoryBar = _hideKeyboardAccessoryBar;
88
@synthesize disableScroll = _disableScroll;
9-
@synthesize styleDark = _styleDark;
9+
//@synthesize styleDark = _styleDark;
1010

1111
- (void)pluginInitialize {
1212

@@ -16,7 +16,7 @@ - (void)pluginInitialize {
1616
//set defaults
1717
self.hideKeyboardAccessoryBar = NO;
1818
self.disableScroll = NO;
19-
self.styleDark = NO;
19+
//self.styleDark = NO;
2020

2121
_keyboardShowObserver = [nc addObserverForName:UIKeyboardWillShowNotification
2222
object:nil
@@ -81,6 +81,7 @@ - (void)setHideKeyboardAccessoryBar:(BOOL)hideKeyboardAccessoryBar {
8181
_hideKeyboardAccessoryBar = hideKeyboardAccessoryBar;
8282
}
8383

84+
/*
8485
- (BOOL)styleDark {
8586
return _styleDark;
8687
}
@@ -98,6 +99,7 @@ - (void)setStyleDark:(BOOL)styleDark {
9899
99100
_styleDark = styleDark;
100101
}
102+
*/
101103

102104

103105
/* ------------------------------------------------------------- */
@@ -139,6 +141,7 @@ - (void) close:(CDVInvokedUrlCommand*)command {
139141
[self.webView endEditing:YES];
140142
}
141143

144+
/*
142145
- (void) styleDark:(CDVInvokedUrlCommand*)command {
143146
if (!command.arguments || ![command.arguments count]){
144147
return;
@@ -147,6 +150,7 @@ - (void) styleDark:(CDVInvokedUrlCommand*)command {
147150
148151
self.styleDark = [value boolValue];
149152
}
153+
*/
150154

151155
@end
152156

src/ios/UIWebViewExtension.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
@interface UIWebView (HackishAccessoryHiding)
22
@property (nonatomic, assign) BOOL hackishlyHidesInputAccessoryView;
3-
@property (nonatomic, assign) BOOL styleDark;
3+
//@property (nonatomic, assign) BOOL styleDark;
44
@end

src/ios/UIWebViewExtension.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ - (void) setHackishlyHidesInputAccessoryView:(BOOL)value {
6060
}
6161
/* ---------------------------------------------------------------- */
6262

63+
/*
6364
- (UIKeyboardAppearance) darkKeyboardAppearanceTemplateMethod {
6465
return UIKeyboardAppearanceDark;
6566
}
@@ -102,6 +103,7 @@ - (void) setStyleDark:(BOOL)styleDark {
102103
class_replaceMethod( [browserView class], @selector(keyboardAppearance), imp, typeEncoding );
103104
}
104105
}
106+
*/
105107

106108
@end
107109

0 commit comments

Comments
 (0)