Skip to content

Commit f09aff4

Browse files
committed
reverse orde of lines, so the correct expand / collapse text is shown
1 parent ba0b325 commit f09aff4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/at/blogc/android/activities/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ protected void onCreate(final Bundle savedInstanceState)
5757
@Override
5858
public void onClick(final View v)
5959
{
60+
buttonToggle.setText(expandableTextView.isExpanded() ? R.string.expand : R.string.collapse);
6061
expandableTextView.toggle();
61-
buttonToggle.setText(expandableTextView.isExpanded() ? R.string.collapse : R.string.expand);
6262
}
6363
});
6464

0 commit comments

Comments
 (0)