This commit is contained in:
Page Asgardius 2022-11-05 13:35:30 -07:00
parent 68f8f1969e
commit ac750a105f

View file

@ -481,11 +481,9 @@ public class MainScreen extends AppCompatActivity {
//System.out.println("content://com.android.externalstorage.documents"+file.getPath());
} else {
Toast.makeText(MainScreen.this, getResources().getString(R.string.file_path_fail), Toast.LENGTH_SHORT).show();
finish();
}
} else {
//System.out.println("User cancelled file browsing {}");
finish();
}
}
}
@ -523,7 +521,9 @@ public class MainScreen extends AppCompatActivity {
@Override
public void run() {
profile.setImageDrawable(thumb_d);
if(file.exists()) {
profile.setImageDrawable(thumb_d);
}
}
});