diff --git a/app/src/main/java/com/gh/gamecenter/ViewImageActivity.java b/app/src/main/java/com/gh/gamecenter/ViewImageActivity.java index 1d6d9a2953..f5f7fcd659 100644 --- a/app/src/main/java/com/gh/gamecenter/ViewImageActivity.java +++ b/app/src/main/java/com/gh/gamecenter/ViewImageActivity.java @@ -35,6 +35,7 @@ import com.gh.common.util.DisplayUtils; import com.gh.common.util.EntranceUtils; import com.gh.common.util.ImageUtils; import com.gh.common.util.MD5Utils; +import com.gh.common.util.MessageShareUtils; import com.gh.common.util.NetworkUtils; import com.gh.common.util.PermissionHelper; import com.gh.common.util.SimpleImageLoader; @@ -425,6 +426,7 @@ public class ViewImageActivity extends BaseActivity implements OnPageChangeListe } Utils.toast(ViewImageActivity.this, "图片已保存到/Pictures/ghzhushou/"); + MessageShareUtils.refreshImage(ViewImageActivity.this, dst); } catch (Exception e) { Utils.log("图片保存失败:" + e.toString()); } finally { diff --git a/app/src/main/java/com/gh/gamecenter/video/videomanager/VideoVerifyAdapter.kt b/app/src/main/java/com/gh/gamecenter/video/videomanager/VideoVerifyAdapter.kt index 13f79e8152..db88c5d46a 100644 --- a/app/src/main/java/com/gh/gamecenter/video/videomanager/VideoVerifyAdapter.kt +++ b/app/src/main/java/com/gh/gamecenter/video/videomanager/VideoVerifyAdapter.kt @@ -6,6 +6,7 @@ import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.LinearLayout +import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import com.gh.common.constant.ItemViewType import com.gh.common.util.* @@ -71,9 +72,9 @@ class VideoVerifyAdapter(context: Context, LinearLayout.LayoutParams.WRAP_CONTENT ) - val edit = layout.findViewById(R.id.edit) + val edit = layout.findViewById(R.id.edit) val line = layout.findViewById(R.id.line) - val delete = layout.findViewById(R.id.delete) + val delete = layout.findViewById(R.id.delete) val contentContainer = layout.findViewById(R.id.content_container) if (entity.status == "fail") { @@ -81,6 +82,8 @@ class VideoVerifyAdapter(context: Context, edit.visibility = View.GONE } else if (entity.status == "pending") { contentContainer.setBackgroundColor(R.color.background.toColor()) + delete.setTextColor(R.color.text_cccccc.toColor()) + edit.setTextColor(R.color.text_cccccc.toColor()) } edit.setOnClickListener { if (entity.status == "pending") {