mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 06:43:56 +01:00 
			
		
		
		
	* fix the issue with contributions not appearing after logging in again * fix old contribution appearing on top Co-authored-by: Pratham2305 <Pratham2305@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									0fb2f1b7be
								
							
						
					
					
						commit
						2b62d8487b
					
				
					 4 changed files with 25 additions and 0 deletions
				
			
		|  | @ -27,6 +27,9 @@ class ContributionBoundaryCallback @Inject constructor( | |||
|      * network | ||||
|      */ | ||||
|     override fun onZeroItemsLoaded() { | ||||
|         if (sessionManager.userName != null) { | ||||
|             mediaClient.resetUserNameContinuation(sessionManager.userName!!) | ||||
|         } | ||||
|         fetchContributions() | ||||
|     } | ||||
| 
 | ||||
|  | @ -66,6 +69,8 @@ class ContributionBoundaryCallback @Inject constructor( | |||
|                         ) | ||||
|                     } | ||||
|             ) | ||||
|         }else { | ||||
|             compositeDisposable.clear() | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Pratham Pahariya
						Pratham Pahariya