forked from distok/cutthecord
		
	Port to 1148
This commit is contained in:
		
							parent
							
								
									51dd62b8dd
								
							
						
					
					
						commit
						1ef4aeca93
					
				
					 46 changed files with 58912 additions and 2 deletions
				
			
		
							
								
								
									
										21
									
								
								patches/squareavatars/1148.patch
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								patches/squareavatars/1148.patch
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,21 @@
 | 
			
		|||
diff -crB from/res/values/styles.xml to/res/values/styles.xml
 | 
			
		||||
*** from/res/values/styles.xml	2020-05-19 03:35:24.264680015 +0100
 | 
			
		||||
--- to/res/values/styles.xml	2020-05-19 03:35:42.574506035 +0100
 | 
			
		||||
***************
 | 
			
		||||
*** 1021,1027 ****
 | 
			
		||||
          <item name="actualImageScaleType">fitCenter</item>
 | 
			
		||||
          <item name="placeholderImage">@drawable/asset_default_avatar_32dp</item>
 | 
			
		||||
          <item name="placeholderImageScaleType">fitCenter</item>
 | 
			
		||||
!         <item name="roundAsCircle">true</item>
 | 
			
		||||
      </style>
 | 
			
		||||
      <style name="Avatar.Chat" parent="@style/Avatar.Large">
 | 
			
		||||
          <item name="android:layout_width">@dimen/avatar_size_chat</item>
 | 
			
		||||
--- 1021,1028 ----
 | 
			
		||||
          <item name="actualImageScaleType">fitCenter</item>
 | 
			
		||||
          <item name="placeholderImage">@drawable/asset_default_avatar_32dp</item>
 | 
			
		||||
          <item name="placeholderImageScaleType">fitCenter</item>
 | 
			
		||||
!         <item name="roundAsCircle">false</item>
 | 
			
		||||
!         <item name="roundedCornerRadius">3dp</item>
 | 
			
		||||
      </style>
 | 
			
		||||
      <style name="Avatar.Chat" parent="@style/Avatar.Large">
 | 
			
		||||
          <item name="android:layout_width">@dimen/avatar_size_chat</item>
 | 
			
		||||
| 
						 | 
				
			
			@ -159,4 +159,5 @@ A very small amount of rounding is applied to make it look a little better.
 | 
			
		|||
- 22.4
 | 
			
		||||
- 22.5
 | 
			
		||||
- 23.0
 | 
			
		||||
- 24-alpha2
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue