diff --git a/tristatetogglebutton_sample/src/main/java/it/beppi/tristatetogglebuttonsample/SampleActivity.java b/tristatetogglebutton_sample/src/main/java/it/beppi/tristatetogglebuttonsample/SampleActivity.java index 060723f..e88d6ce 100644 --- a/tristatetogglebutton_sample/src/main/java/it/beppi/tristatetogglebuttonsample/SampleActivity.java +++ b/tristatetogglebutton_sample/src/main/java/it/beppi/tristatetogglebuttonsample/SampleActivity.java @@ -52,7 +52,7 @@ public void onToggle(TriStateToggleButton.ToggleStatus toggleStatus, boolean boo switch (toggleStatus) { case off: tstb_2_text.setText("Off"); break; case mid: tstb_2_text.setText("Almost..."); break; - case on: tstb_2_text.setText("On"); tstb_3.setEnabled(true); break; + case on: tstb_2_text.setText("On"); break; } } });