We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 60a120d6 authored by Mike Sheldon's avatar Mike Sheldon

Fix 'Change Station' button in LibreDroid menu after new pages have been added

parent a5ad3b7f
......@@ -367,9 +367,11 @@ public class LibreDroid extends ListActivity {
changeStation.setOnMenuItemClickListener(new OnMenuItemClickListener() {
public boolean onMenuItemClick(MenuItem item) {
final ViewAnimator view = (ViewAnimator) findViewById(R.id.viewAnimator);
if (view.getDisplayedChild() == 2) {
if (view.getDisplayedChild() == 4) {
return true;
} else {
return false;
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