Fix some bug and error

Fixes #4
Bu işleme şunda yer alıyor:
Schoumi 2017-08-04 18:38:33 +02:00
ebeveyn 011b586c6b
işleme 45468f6469
1 değiştirilmiş dosya ile 5 ekleme ve 4 silme

Dosyayı Görüntüle

@ -123,10 +123,13 @@ public class FlashFragment extends Fragment{
progressBar.setVisibility(View.GONE);
updateProgress(0);
flash_infoStr += getString(R.string.ok)+"\n";
flash_infoStr += getString(R.string.flash_succeed);
flash_info.setText(flash_infoStr);
TextView step = v.findViewById(R.id.flash_steps);
step.setVisibility(View.GONE);
previousStep = 0;
previousId = 0;
}
});
}
@ -147,10 +150,6 @@ public class FlashFragment extends Fragment{
TextView stepV = v.findViewById(R.id.flash_steps);
stepV.setVisibility(View.VISIBLE);
stepV.setText(getString(R.string.step)+" "+step+"/"+endStep+" "+getString(step_res_id));
if(step == previousStep) {
previousStep = 0;
previousId = 0;
}
}
updateProgress(progress);
}
@ -170,6 +169,8 @@ public class FlashFragment extends Fragment{
progressBar.setVisibility(View.GONE);
TextView step = v.findViewById(R.id.flash_steps);
step.setVisibility(View.GONE);
previousId = 0;
previousStep = 0;
}
});
}