Unverified Commit 967f1981 authored by Mygod's avatar Mygod Committed by GitHub

Always initialize previousPosition

parent b72fb267
......@@ -244,7 +244,7 @@ class MainActivity extends Activity with ServiceBoundContext with Drawer.OnDrawe
if (tf != null) title.setTypeface(tf)
if (savedInstanceState == null) displayFragment(new ProfilesFragment)
else previousPosition = drawer.getCurrentSelectedPosition
previousPosition = drawer.getCurrentSelectedPosition
statusText = findViewById(R.id.status).asInstanceOf[TextView]
txText = findViewById(R.id.tx).asInstanceOf[TextView]
txRateText = findViewById(R.id.txRate).asInstanceOf[TextView]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment