Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
8d47d657
Commit
8d47d657
authored
9 years ago
by
Rodrigo Nascimento
Browse files
Options
Downloads
Patches
Plain Diff
Set status bar fixed with background black
parent
1ab26c31
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
client/lib/menu.coffee
+0
-6
0 additions, 6 deletions
client/lib/menu.coffee
client/stylesheets/base.less
+0
-12
0 additions, 12 deletions
client/stylesheets/base.less
client/views/main.coffee
+1
-8
1 addition, 8 deletions
client/views/main.coffee
mobile-config.js
+3
-1
3 additions, 1 deletion
mobile-config.js
with
4 additions
and
27 deletions
client/lib/menu.coffee
+
0
−
6
View file @
8d47d657
...
...
@@ -8,16 +8,10 @@
open
:
->
if
not
@
isOpen
()
@
container
?
.
removeClass
(
"menu-closed"
).
addClass
(
"menu-opened"
)
if
Meteor
.
isCordova
StatusBar
.
hide
()
close
:
->
if
@
isOpen
()
@
container
?
.
removeClass
(
"menu-opened"
).
addClass
(
"menu-closed"
)
if
Meteor
.
isCordova
Meteor
.
setTimeout
->
StatusBar
.
show
()
,
300
toggle
:
->
if
@
isOpen
()
...
...
This diff is collapsed.
Click to expand it.
client/stylesheets/base.less
+
0
−
12
View file @
8d47d657
...
...
@@ -3336,18 +3336,7 @@ a.github-fork {
}
.is-cordova {
.main-content {
top: 10px;
}
.side-nav > .header {
padding-top: 10px;
height: 70px;
}
.flex-tab {
padding-top: 10px;
.control {
padding-left: 50px;
}
...
...
@@ -3360,7 +3349,6 @@ a.github-fork {
}
.connection-status > .alert {
padding-top: 18px;
border-width: 0 0 1px 0;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
client/views/main.coffee
+
1
−
8
View file @
8d47d657
...
...
@@ -69,14 +69,7 @@ Template.body.onRendered ->
Template
.
main
.
helpers
logged
:
->
if
Meteor
.
userId
()
?
if
Meteor
.
isCordova
StatusBar
.
styleDefault
()
return
true
else
if
Meteor
.
isCordova
StatusBar
.
styleLightContent
()
return
false
return
Meteor
.
userId
()
?
subsReady
:
->
return
not
Meteor
.
userId
()
?
or
(
FlowRouter
.
subsReady
(
'userData'
,
'activeUsers'
))
...
...
This diff is collapsed.
Click to expand it.
mobile-config.js
+
3
−
1
View file @
8d47d657
...
...
@@ -47,7 +47,9 @@ App.launchScreens({
// Set PhoneGap/Cordova preferences
App
.
setPreference
(
'
HideKeyboardFormAccessoryBar
'
,
true
);
App
.
setPreference
(
'
StatusBarStyle
'
,
'
default
'
);
App
.
setPreference
(
'
StatusBarOverlaysWebView
'
,
false
);
App
.
setPreference
(
'
StatusBarStyle
'
,
'
lightcontent
'
);
App
.
setPreference
(
'
StatusBarBackgroundColor
'
,
'
#000000
'
);
App
.
accessRule
(
'
*
'
);
// // Pass preferences for a particular PhoneGap/Cordova plugin
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment