mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-04-29 14:59:50 +00:00
Flan
This commit is contained in:
parent
17a5780ce6
commit
6b9e31e12a
1 changed files with 11 additions and 0 deletions
|
|
@ -1398,7 +1398,18 @@ public class CustomRomActivity extends AppCompatActivity {
|
|||
driveLayout.setEndIconDrawable(R.drawable.more_vert_24px);
|
||||
loadingPb.setVisibility(View.GONE);
|
||||
}
|
||||
//Fix image loaded from file.
|
||||
if (!thumbnailPath.isEmpty()) {
|
||||
ivAddThubnail.setImageResource(R.drawable.round_edit_24);
|
||||
File imgFile = new File(thumbnailPath);
|
||||
|
||||
if(imgFile.exists()){
|
||||
Bitmap myBitmap = BitmapFactory.decodeFile(imgFile.getAbsolutePath());
|
||||
ivIcon.setImageBitmap(myBitmap);
|
||||
} else {
|
||||
VectrasApp.setIconWithName(ivIcon, current.itemName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private String cdromPatternCompile() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue