From 570ecd9987e674206a19dc6f0c1b512a2d806bcb Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Mon, 31 Dec 2018 03:04:30 +0800 Subject: [PATCH] Prevent unnecessary setTextColor --- app/src/full/java/com/topjohnwu/magisk/FlashActivity.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/src/full/java/com/topjohnwu/magisk/FlashActivity.java b/app/src/full/java/com/topjohnwu/magisk/FlashActivity.java index a4db867e1..4dba6bc7e 100644 --- a/app/src/full/java/com/topjohnwu/magisk/FlashActivity.java +++ b/app/src/full/java/com/topjohnwu/magisk/FlashActivity.java @@ -137,12 +137,6 @@ public class FlashActivity extends BaseActivity { super(console, true); } - @Override - public void onBindViewHolder(@NonNull ViewHolder holder, int position) { - super.onBindViewHolder(holder, position); - holder.txt.setTextColor(white); - } - @Override protected int itemLayoutRes() { return R.layout.list_item_console; @@ -158,6 +152,7 @@ public class FlashActivity extends BaseActivity { public ViewHolder(@NonNull View itemView) { super(itemView); + txt.setTextColor(white); } @Override