Commit c99362bb authored by Administrator's avatar Administrator

update

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