diff --git a/app/src/main/java/com/gh/base/DownloadToolbarActivity.kt b/app/src/main/java/com/gh/base/DownloadToolbarActivity.kt index 562588245a..a43f4662dd 100644 --- a/app/src/main/java/com/gh/base/DownloadToolbarActivity.kt +++ b/app/src/main/java/com/gh/base/DownloadToolbarActivity.kt @@ -6,7 +6,6 @@ import android.view.MenuItem import android.view.View import android.widget.ImageView import android.widget.TextView -import androidx.core.content.ContextCompat import com.gh.download.DownloadManager import com.gh.gamecenter.DownloadManagerActivity import com.gh.gamecenter.R @@ -72,7 +71,7 @@ abstract class DownloadToolbarActivity : ToolBarActivity() { } private fun updateDownloadCountHint(updateList: List?) { - if (mDownloadCountHint == null || updateList.isNullOrEmpty()) return + if (mDownloadCountHint == null) return val count = DownloadManager.getInstance().getDownloadOrUpdateCount(updateList) if (count != null) { mDownloadCountHint!!.visibility = View.VISIBLE diff --git a/module_core/src/main/res/values-night/colors.xml b/module_core/src/main/res/values-night/colors.xml deleted file mode 100644 index 388508876e..0000000000 --- a/module_core/src/main/res/values-night/colors.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - #5C8399 - #5C9599 - #6F5EA8 - #996283 - #748054 - #946262 - \ No newline at end of file diff --git a/module_core/src/main/res/values-night/themes.xml b/module_core/src/main/res/values-night/themes.xml deleted file mode 100644 index 757059b8ed..0000000000 --- a/module_core/src/main/res/values-night/themes.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - \ No newline at end of file