File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
java/org/toni/customfetch_android Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ class CheckUpdateFragment : Fragment() {
108108 CoroutineScope (Dispatchers .Main ).launch {
109109 val json = JSONParser ().getJSONFromUrl(" https://api.github.com/repos/Toni500github/customfetch-android-app/releases/latest" )
110110 try {
111- val release = json?.getString(" tag_name" ) ? : " "
111+ val release = json?.getString(" tag_name" ) ? : throw IllegalArgumentException ()
112112 val semver = if (release[0 ] == ' v' ) SemVer .parse(release.substring(1 )) else SemVer .parse(release)
113113 if (semver < SemVer .parse(BuildConfig .VERSION_NAME )) {
114114 binding.titleResult.setTextColor(Color .GREEN )
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<resources >
3- <color name =" background" >#FF2A2A2A </color >
4- <color name =" buttonBg" >#3D3D3D </color >
5- <color name =" reverseButtonBg" >#5A5A5A </color >
6- <color name =" toolBar" >#4F4F4F </color >
7- <color name =" text" >#FFFFFF </color >
8- <color name =" subText" >#BBBBBB </color >
3+ <color name =" background" >#1d1c22 </color >
4+ <color name =" buttonBg" >#3a3844 </color >
5+ <color name =" reverseButtonBg" >#b2afc4 </color >
6+ <color name =" toolBar" >#747088 </color >
7+ <color name =" text" >#bdbacc </color >
8+ <color name =" subText" >#d3d1dd </color >
99</resources >
You can’t perform that action at this time.
0 commit comments