Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
bitmask_android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
kalimero
bitmask_android
Commits
336b7cf2
Commit
336b7cf2
authored
2 years ago
by
cyberta
Browse files
Options
Downloads
Patches
Plain Diff
show connecting state background when vpn is actually blocking for now
parent
26b786b1
Branches
fix_blocking_state
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java
+4
-4
4 additions, 4 deletions
...ava/se/leap/bitmaskclient/base/fragments/EipFragment.java
with
4 additions
and
4 deletions
app/src/main/java/se/leap/bitmaskclient/base/fragments/EipFragment.java
+
4
−
4
View file @
336b7cf2
...
...
@@ -547,16 +547,16 @@ public class EipFragment extends Fragment implements Observer {
setActivityBarColor
(
R
.
color
.
bg_disconnected_top
,
R
.
color
.
bg_disconnected_top_light_transparent
);
}
else
if
(
eipStatus
.
isBlocking
())
{
setMainButtonEnabled
(
true
);
mainButton
.
updateState
(
true
,
fals
e
,
true
);
mainButton
.
updateState
(
false
,
tru
e
,
true
);
locationButton
.
setText
(
R
.
string
.
no_location
);
locationButton
.
setLocationLoad
(
UNKNOWN
);
locationButton
.
showBridgeIndicator
(
false
);
locationButton
.
showRecommendedIndicator
(
false
);
mainDescription
.
setText
(
R
.
string
.
eip_state_connected
);
subDescription
.
setText
(
getString
(
R
.
string
.
eip_state_blocking
,
getString
(
R
.
string
.
app_name
)));
background
.
setImageResource
(
R
.
drawable
.
bg_
dis
connect
ed
);
animateState
(
R
.
drawable
.
state_
dis
connect
ed
);
setActivityBarColor
(
R
.
color
.
bg_
dis
connect
ed
_top
,
R
.
color
.
bg_
dis
connect
ed
_top_light_transparent
);
background
.
setImageResource
(
R
.
drawable
.
bg_connect
ing
);
animateState
(
R
.
drawable
.
state_connect
ing
);
setActivityBarColor
(
R
.
color
.
bg_connect
ing
_top
,
R
.
color
.
bg_connect
ing
_top_light_transparent
);
}
else
{
locationButton
.
setText
(
R
.
string
.
vpn_button_turn_on
);
setMainButtonEnabled
(
true
);
...
...
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