Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
react-native-picker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ym
react-native-picker
Commits
6f0008b6
Commit
6f0008b6
authored
Nov 15, 2017
by
zooble
Committed by
GitHub
Nov 15, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into master
parents
1fa64518
eaa8589f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
9 deletions
+2
-9
android/src/main/java/com/beefe/picker/PickerViewModule.java
android/src/main/java/com/beefe/picker/PickerViewModule.java
+1
-1
ios/RCTBEEPickerManager/RCTBEEPickerManager.m
ios/RCTBEEPickerManager/RCTBEEPickerManager.m
+0
-7
package.json
package.json
+1
-1
No files found.
android/src/main/java/com/beefe/picker/PickerViewModule.java
View file @
6f0008b6
...
@@ -353,7 +353,7 @@ public class PickerViewModule extends ReactContextBaseJavaModule implements Life
...
@@ -353,7 +353,7 @@ public class PickerViewModule extends ReactContextBaseJavaModule implements Life
if
(
MIUIUtils
.
isMIUI
())
{
if
(
MIUIUtils
.
isMIUI
())
{
layoutParams
.
type
=
WindowManager
.
LayoutParams
.
TYPE_APPLICATION
;
layoutParams
.
type
=
WindowManager
.
LayoutParams
.
TYPE_APPLICATION
;
}
else
{
}
else
{
layoutParams
.
type
=
WindowManager
.
LayoutParams
.
TYPE_TOAST
;
//
layoutParams.type = WindowManager.LayoutParams.TYPE_TOAST;
}
}
layoutParams
.
flags
=
WindowManager
.
LayoutParams
.
FLAG_NOT_FOCUSABLE
;
layoutParams
.
flags
=
WindowManager
.
LayoutParams
.
FLAG_NOT_FOCUSABLE
;
layoutParams
.
format
=
PixelFormat
.
TRANSPARENT
;
layoutParams
.
format
=
PixelFormat
.
TRANSPARENT
;
...
...
ios/RCTBEEPickerManager/RCTBEEPickerManager.m
View file @
6f0008b6
...
@@ -83,13 +83,6 @@ RCT_EXPORT_METHOD(_init:(NSDictionary *)indic){
...
@@ -83,13 +83,6 @@ RCT_EXPORT_METHOD(_init:(NSDictionary *)indic){
dispatch_async
(
dispatch_get_main_queue
(),
^
{
dispatch_async
(
dispatch_get_main_queue
(),
^
{
[
self
.
window
addSubview
:
_pick
];
[
self
.
window
addSubview
:
_pick
];
[
UIView
animateWithDuration
:.
3
animations
:
^
{
[
_pick
setFrame
:
CGRectMake
(
0
,
SCREEN_HEIGHT
-
self
.
height
,
SCREEN_WIDTH
,
self
.
height
)];
}];
});
});
}
}
...
...
package.json
View file @
6f0008b6
{
{
"name"
:
"react-native-picker"
,
"name"
:
"react-native-picker"
,
"version"
:
"4.
2
.0"
,
"version"
:
"4.
3
.0"
,
"description"
:
"A Native Picker with high performance."
,
"description"
:
"A Native Picker with high performance."
,
"main"
:
"index.js"
,
"main"
:
"index.js"
,
"types"
:
"index.d.ts"
,
"types"
:
"index.d.ts"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment