From c5ec5c17ac0419ee2ca8ca46c5fc5f162b5f8290 Mon Sep 17 00:00:00 2001 From: Adamantcheese Date: Sat, 7 Mar 2020 14:54:28 -0800 Subject: [PATCH] Adjustments to #706 --- .../github/adamantcheese/chan/ui/view/MultiImageView.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Kuroba/app/src/main/java/com/github/adamantcheese/chan/ui/view/MultiImageView.java b/Kuroba/app/src/main/java/com/github/adamantcheese/chan/ui/view/MultiImageView.java index aa35615105..0d3e637e3a 100644 --- a/Kuroba/app/src/main/java/com/github/adamantcheese/chan/ui/view/MultiImageView.java +++ b/Kuroba/app/src/main/java/com/github/adamantcheese/chan/ui/view/MultiImageView.java @@ -681,11 +681,13 @@ private void setOther(Loadable loadable, PostImage image) { public void toggleTransparency() { transparentBackground = !transparentBackground; - final int BACKGROUND_COLOR_SFW = Color.argb(255, 211, 217, 241); + // these colors are specific to 4chan for the time being + final int BACKGROUND_COLOR_SFW = Color.argb(255, 214, 218, 240); + final int BACKGROUND_COLOR_SFW_OP = Color.argb(255, 238, 242, 255); final int BACKGROUND_COLOR_NSFW = Color.argb(255, 240, 224, 214); final int BACKGROUND_COLOR_NSFW_OP = Color.argb(255, 255, 255, 238); int boardColor = callback.getLoadable().board.workSafe - ? BACKGROUND_COLOR_SFW + ? (op ? BACKGROUND_COLOR_SFW_OP : BACKGROUND_COLOR_SFW) : (op ? BACKGROUND_COLOR_NSFW_OP : BACKGROUND_COLOR_NSFW); View activeView = getActiveView(); if (!(activeView instanceof CustomScaleImageView || activeView instanceof GifImageView)) return;