File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
android/app/src/main/java/org/fossasia/openevent/core/main Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -326,9 +326,18 @@ private void setUpUserProfileMenu() {
326
326
private void setNavHeader (Event event ) {
327
327
String logo = event .getLogoUrl ();
328
328
if (!Utils .isEmpty (logo )) {
329
- StrategyRegistry .getInstance ().getHttpStrategy ().getPicassoWithCache ().load (logo ).into (headerView );
329
+ StrategyRegistry .getInstance ()
330
+ .getHttpStrategy ()
331
+ .getPicassoWithCache ()
332
+ .load (logo )
333
+ .error (R .mipmap .ic_launcher )
334
+ .into (headerView );
330
335
} else {
331
- StrategyRegistry .getInstance ().getHttpStrategy ().getPicassoWithCache ().load (R .mipmap .ic_launcher ).into (headerView );
336
+ StrategyRegistry .getInstance ()
337
+ .getHttpStrategy ()
338
+ .getPicassoWithCache ()
339
+ .load (R .mipmap .ic_launcher )
340
+ .into (headerView );
332
341
}
333
342
}
334
343
You can’t perform that action at this time.
0 commit comments