summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-12-06 15:14:52 +0100
committerArne Schwabe <arne@rfc2549.org>2013-12-06 15:14:52 +0100
commitff97fd341d3dd022e827a1b7e0e854e556be519e (patch)
tree483ae92201e1958a0ee31deb3b63a1f0eea3b869 /src/de/blinkt/openvpn
parentf5b64019421396f59654984838b567afd19b01cf (diff)
Backout changeset 1d8b310becfab706b1ffe8b9c2c4312fd570597c
--HG-- extra : rebase_source : 4b78ee065695c1c803b8c85c847ee04f780481e4
Diffstat (limited to 'src/de/blinkt/openvpn')
-rw-r--r--src/de/blinkt/openvpn/fragments/LogFragment.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/de/blinkt/openvpn/fragments/LogFragment.java b/src/de/blinkt/openvpn/fragments/LogFragment.java
index 6d4031a3..a2a6e3c4 100644
--- a/src/de/blinkt/openvpn/fragments/LogFragment.java
+++ b/src/de/blinkt/openvpn/fragments/LogFragment.java
@@ -602,6 +602,9 @@ public class LogFragment extends ListFragment implements StateListener, SeekBar.
mLogLevelSlider.setOnSeekBarChangeListener(this);
+ if(getResources().getBoolean(R.bool.logSildersAlwaysVisible))
+ mOptionsLayout.setVisibility(View.VISIBLE);
+
mUpStatus = (TextView) v.findViewById(R.id.speedUp);
mDownStatus = (TextView) v.findViewById(R.id.speedDown);
mConnectStatus = (TextView) v.findViewById(R.id.speedStatus);
@@ -609,13 +612,6 @@ public class LogFragment extends ListFragment implements StateListener, SeekBar.
}
@Override
- public void onAttach(Activity activity) {
- super.onAttach(activity);
- if(getResources().getBoolean(R.bool.logSildersAlwaysVisible))
- mOptionsLayout.setVisibility(View.VISIBLE);
- }
-
- @Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);