mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-22 08:13:43 +02:00
diagram labels don't disappear anymore after fragment changes
This commit is contained in:
@@ -97,6 +97,7 @@ public class GraphFragment extends Fragment implements FragmentUpdateListener {
|
||||
public void onClick(View view) {
|
||||
calYears.roll(Calendar.YEAR, false);
|
||||
txtYear.setText(Integer.toString(calYears.get(Calendar.YEAR)));
|
||||
valueLastSelected = null;
|
||||
updateOnView(null);
|
||||
}
|
||||
});
|
||||
@@ -105,6 +106,7 @@ public class GraphFragment extends Fragment implements FragmentUpdateListener {
|
||||
public void onClick(View view) {
|
||||
calYears.roll(Calendar.YEAR, true);
|
||||
txtYear.setText(Integer.toString(calYears.get(Calendar.YEAR)));
|
||||
valueLastSelected = null;
|
||||
updateOnView(null);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user