Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -46,7 +46,7 @@ public class SettingActivity extends AppCompatActivity { | ... | @@ -46,7 +46,7 @@ public class SettingActivity extends AppCompatActivity { |
46 | swcRecording.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { | 46 | swcRecording.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { |
47 | @Override | 47 | @Override |
48 | public void onCheckedChanged(CompoundButton compoundButton, boolean b) { | 48 | public void onCheckedChanged(CompoundButton compoundButton, boolean b) { |
49 | - Api.setSetting(new Setting(true), new Api.Callback() { | 49 | + Api.setSetting(new Setting(b), new Api.Callback() { |
50 | @Override | 50 | @Override |
51 | public void callbackMethod(Object obj) { | 51 | public void callbackMethod(Object obj) { |
52 | if (obj == null) { | 52 | if (obj == null) { | ... | ... |
-
Please register or login to post a comment