Swap icons for light theme

This commit is contained in:
serso
2016-02-11 23:08:09 +01:00
parent 12c25b6ca6
commit fc48886929
6 changed files with 1 additions and 0 deletions

View File

@@ -144,6 +144,7 @@ public class ConverterFragment extends BaseDialogFragment
editTextFrom.addTextChangedListener(this);
swapButton.setOnClickListener(this);
swapButton.setImageResource(App.getTheme().light ? R.drawable.ic_swap_vert_black_24dp : R.drawable.ic_swap_vert_white_24dp);
if (savedInstanceState == null) {
editTextFrom.setText(String.valueOf(getArguments().getDouble(EXTRA_VALUE, 1f)));