forked from distok/cutthecord
		
	customcolor: Fix status bar color
This commit is contained in:
		
							parent
							
								
									904622913c
								
							
						
					
					
						commit
						f7fa62df2f
					
				
					 2 changed files with 22 additions and 5 deletions
				
			
		|  | @ -229,4 +229,22 @@ diff -crB -x dist -x build com.discord-832-base/res/values/colors.xml com.discor | ||||||
|       </style> |       </style> | ||||||
|       <style name="AppTheme.Dark.Notice.PositiveRed" parent="@style/AppTheme.Dark.Notice"> |       <style name="AppTheme.Dark.Notice.PositiveRed" parent="@style/AppTheme.Dark.Notice"> | ||||||
|           <item name="buttonBarPositiveButtonStyle">@style/UiKit.Button.Red.Fit</item> |           <item name="buttonBarPositiveButtonStyle">@style/UiKit.Button.Red.Fit</item> | ||||||
|  | *** com.discord-833-base/smali/com/discord/app/AppActivity$e.smali      2019-01-23 11:03:46.725699525 +0300 | ||||||
|  | --- com.discord-833/smali/com/discord/app/AppActivity$e.smali     2019-01-23 14:28:25.257246702 +0300
 | ||||||
|  | *************** | ||||||
|  | *** 123,129 **** | ||||||
|  |    | ||||||
|  |       check-cast v0, Landroid/app/Activity; | ||||||
|  |    | ||||||
|  | !     const v1, 0x7f060136
 | ||||||
|  |    | ||||||
|  |       invoke-static {v0, v1}, Lcom/discord/utilities/color/ColorCompat;->setStatusBarColorResourceId(Landroid/app/Activity;I)V | ||||||
|  |    | ||||||
|  | --- 123,129 ----
 | ||||||
|  |    | ||||||
|  |       check-cast v0, Landroid/app/Activity; | ||||||
|  |    | ||||||
|  | !     const v1, 0x7f0600d3
 | ||||||
|  |    | ||||||
|  |       invoke-static {v0, v1}, Lcom/discord/utilities/color/ColorCompat;->setStatusBarColorResourceId(Landroid/app/Activity;I)V | ||||||
|    |    | ||||||
|  |  | ||||||
|  | @ -5,9 +5,8 @@ This patch replaces theme with a pitch black theme, similar to [0cord](https://g | ||||||
| Copy `asset_loading.png` to root of Discord's extracted folder and run `fixsplash.sh` to fix the splash. | Copy `asset_loading.png` to root of Discord's extracted folder and run `fixsplash.sh` to fix the splash. | ||||||
| 
 | 
 | ||||||
| #### Bugs / Side effects | #### Bugs / Side effects | ||||||
| - Not all colors are replaced | - Not all colors are replaced (almost all are, though) | ||||||
| - Ignored channel names aren't visible | - Muted channel names aren't visible | ||||||
| - Top bar isn't changed |  | ||||||
| 
 | 
 | ||||||
| #### Available and tested on: | #### Available and tested on: | ||||||
| - 8.3.2 | - 8.3.2 | ||||||
|  | @ -19,7 +18,7 @@ Copy `asset_loading.png` to root of Discord's extracted folder and run `fixsplas | ||||||
| - primary_300 -> entry color (names on direct messages), also used on dtag on small user profile | - primary_300 -> entry color (names on direct messages), also used on dtag on small user profile | ||||||
| - primary_400 -> label color (Direct Messages, "online", your discrim on bottom of sidebar, note field, @/# on channel name bar) | - primary_400 -> label color (Direct Messages, "online", your discrim on bottom of sidebar, note field, @/# on channel name bar) | ||||||
| - primary_500 -> "Create Instant Invite" | - primary_500 -> "Create Instant Invite" | ||||||
| - primary_600 -> char background | - primary_600 -> chat background, also used by cutthecord for status bar | ||||||
| - primary_630 -> sidebar color, bottom bar color (not chat), small user profile bg color, secondary color on many menus like settings | - primary_630 -> sidebar color, bottom bar color (not chat), small user profile bg color, secondary color on many menus like settings | ||||||
| - grey_guilds -> guild bar | - grey_guilds -> guild bar | ||||||
| - purple_brand -> blurple, used for things like bottom circle button for message on someone's profile, bot icon, mentions | - purple_brand -> blurple, used for things like bottom circle button for message on someone's profile, bot icon, mentions | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue