mirror of
				https://github.com/KokaKiwi/BarInsta
				synced 2025-10-31 03:25:34 +00:00 
			
		
		
		
	fix avatar persistence
This commit is contained in:
		
							parent
							
								
									5952bf4b60
								
							
						
					
					
						commit
						0164516343
					
				| @ -89,9 +89,11 @@ public final class PostsAdapter extends RecyclerView.Adapter<PostViewHolder> { | ||||
|                         final HttpURLConnection conn = (HttpURLConnection) new URL(postModel.getDisplayUrl()).openConnection(); | ||||
|                         conn.setUseCaches(false); | ||||
|                         conn.connect(); | ||||
|                         if (conn.getResponseCode() != HttpURLConnection.HTTP_GONE) | ||||
|                         if (conn.getResponseCode() != HttpURLConnection.HTTP_GONE) { | ||||
|                             glideRequestManager.load(postModel.getDisplayUrl()).into(holder.postImage); | ||||
|                         } | ||||
|                         else return true; | ||||
|                     } | ||||
|                     catch (Exception urle) { | ||||
|                         if (logCollector != null) | ||||
|                             logCollector.appendException(urle, LogCollector.LogFile.ASYNC_POST_FETCHER, "doInBackground"); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user