Commit c99362bb authored by Administrator's avatar Administrator

update

parent 01f694af
...@@ -88,8 +88,7 @@ public class MainPanelFragment extends Fragment { ...@@ -88,8 +88,7 @@ public class MainPanelFragment extends Fragment {
@Override @Override
public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
reDialConfigTextView.setText(String.valueOf(progress)); reDialConfigTextView.setText(String.valueOf(progress));
SharedPreferences spf = PreferenceManager.getDefaultSharedPreferences(TheApp.getApplication());
spf.edit().putInt("auto_redial_duration", progress).apply();
} }
@Override @Override
...@@ -99,7 +98,8 @@ public class MainPanelFragment extends Fragment { ...@@ -99,7 +98,8 @@ public class MainPanelFragment extends Fragment {
@Override @Override
public void onStopTrackingTouch(SeekBar seekBar) { public void onStopTrackingTouch(SeekBar seekBar) {
SharedPreferences spf = PreferenceManager.getDefaultSharedPreferences(TheApp.getApplication());
spf.edit().putInt("auto_redial_duration", seekBar.getProgress()).apply();
} }
}); });
return view; return view;
......
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