From ff97fd341d3dd022e827a1b7e0e854e556be519e Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 6 Dec 2013 15:14:52 +0100 Subject: Backout changeset 1d8b310becfab706b1ffe8b9c2c4312fd570597c --HG-- extra : rebase_source : 4b78ee065695c1c803b8c85c847ee04f780481e4 --- src/de/blinkt/openvpn/fragments/LogFragment.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/de') 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,19 +602,15 @@ 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); return v; } - @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); -- cgit v1.2.3