mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 14:53:59 +01:00 
			
		
		
		
	Fixes #4357 After switching to different account, contributions screen shows pictures of previous account (#4421)
* Update UploadMediaDetailFragment.java
* Update LoginActivity.java
Clear CompositeDisposable after logging in successfully. It may help solve the problem of saving the contribution to the previous account
* Revert "Update UploadMediaDetailFragment.java"
This reverts commit b1b4257f20.
Co-authored-by: Obsidian_zero <1198474846@qq.com>
			
			
This commit is contained in:
		
							parent
							
								
									c06756b89d
								
							
						
					
					
						commit
						feb75cbb9f
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -339,6 +339,7 @@ public class LoginActivity extends AccountAuthenticatorActivity { | |||
|             // no longer attached to activity! | ||||
|             return; | ||||
|         } | ||||
|         compositeDisposable.clear(); | ||||
|         sessionManager.setUserLoggedIn(true); | ||||
|         AppAdapter.get().updateAccount(loginResult); | ||||
|         progressDialog.dismiss(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 obsidian-zero
						obsidian-zero