Change module enabled/disabled indicators, update agp, change versioning ideas

This commit is contained in:
frknkrc44 2025-08-23 15:12:19 +03:00
commit 39a7a23501
No known key found for this signature in database
GPG key ID: 784AE1CC0DCFD34F
7 changed files with 24 additions and 24 deletions

View file

@ -95,12 +95,12 @@ class HomeFragment : Fragment(R.layout.fragment_home) {
root.outlineSpotShadowColor = color
if (hmaApp.isHooked) {
moduleStatusIcon.setImageResource(R.drawable.outline_done_all_24)
moduleStatusIcon.setImageResource(R.drawable.sentiment_calm_24px)
val versionNameSimple = BuildConfig.VERSION_NAME.substringBefore(".r")
moduleStatus.text =
getString(R.string.home_xposed_activated, versionNameSimple)
} else {
moduleStatusIcon.setImageResource(R.drawable.outline_done_all_24)
moduleStatusIcon.setImageResource(R.drawable.sentiment_very_dissatisfied_24px)
moduleStatus.setText(R.string.home_xposed_not_activated)
}

View file

@ -1,10 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="?colorOnPrimary"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M18,7l-1.41,-1.41 -6.34,6.34 1.41,1.41L18,7zM22.24,5.59L11.66,16.17 7.48,12l-1.41,1.41L11.66,19l12,-12 -1.42,-1.41zM0.41,13.41L6,19l1.41,-1.41L1.83,12 0.41,13.41z" />
</vector>

View file

@ -1,10 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="?colorOnPrimary"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M1.39,4.22l1.62,1.62c0,0.05 -0.01,0.1 -0.01,0.16v3.8C5.7,9.8 6,11.96 6,12.5c0,0.54 -0.29,2.7 -3,2.7V19c0,1.1 0.9,2 2,2h3.8c0,-2.71 2.16,-3 2.7,-3c0.54,0 2.7,0.29 2.7,3H18c0.06,0 0.11,0 0.16,-0.01l1.61,1.61l1.41,-1.41L2.81,2.81L1.39,4.22zM11.5,16c-1.5,0 -3.57,0.83 -4.37,3H5v-2.13c2.17,-0.8 3,-2.87 3,-4.37c0,-0.69 -0.18,-1.5 -0.58,-2.25l6.33,6.33C13,16.18 12.19,16 11.5,16zM8.83,6l-2,-2H9c0,-1.38 1.12,-2.5 2.5,-2.5S14,2.62 14,4h4c1.1,0 2,0.9 2,2v4c1.38,0 2.5,1.12 2.5,2.5S21.38,15 20,15v2.17l-2,-2V13h2c0.28,0 0.5,-0.22 0.5,-0.5S20.28,12 20,12h-2V6h-6V4c0,-0.28 -0.22,-0.5 -0.5,-0.5S11,3.72 11,4v2H8.83z" />
</vector>

View file

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:tint="?colorOnPrimary">
<path
android:fillColor="@android:color/white"
android:pathData="M340,480Q382,480 410,449.5Q438,419 449,377L391,363Q386,385 373.5,402.5Q361,420 340,420Q319,420 306.5,402.5Q294,385 289,363L231,377Q242,419 270,449.5Q298,480 340,480ZM480,700Q519,700 555,682.5Q591,665 622,630L578,590Q556,614 531,626.5Q506,639 480,639Q454,639 429,626.5Q404,614 382,590L338,630Q370,665 405.5,682.5Q441,700 480,700ZM620,480Q662,480 690,449.5Q718,419 729,377L671,363Q666,385 653.5,402.5Q641,420 620,420Q599,420 586.5,402.5Q574,385 569,363L511,377Q522,419 550,449.5Q578,480 620,480ZM480,880Q397,880 324,848.5Q251,817 197,763Q143,709 111.5,636Q80,563 80,480Q80,397 111.5,324Q143,251 197,197Q251,143 324,111.5Q397,80 480,80Q563,80 636,111.5Q709,143 763,197Q817,251 848.5,324Q880,397 880,480Q880,563 848.5,636Q817,709 763,763Q709,817 636,848.5Q563,880 480,880ZM480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480ZM480,800Q614,800 707,707Q800,614 800,480Q800,346 707,253Q614,160 480,160Q346,160 253,253Q160,346 160,480Q160,614 253,707Q346,800 480,800Z"/>
</vector>

View file

@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:tint="?colorOnPrimary">
<path
android:fillColor="@android:color/white"
android:pathData="M480,540Q412,540 356.5,578.5Q301,617 276,680L684,680Q659,617 603.5,578.5Q548,540 480,540ZM312,480L356,438L398,480L440,438L398,396L440,352L398,310L356,352L312,310L270,352L312,396L270,438L312,480ZM562,480L604,438L648,480L690,438L648,396L690,352L648,310L604,352L562,310L520,352L562,396L520,438L562,480ZM480,880Q397,880 324,848.5Q251,817 197,763Q143,709 111.5,636Q80,563 80,480Q80,397 111.5,324Q143,251 197,197Q251,143 324,111.5Q397,80 480,80Q563,80 636,111.5Q709,143 763,197Q817,251 848.5,324Q880,397 880,480Q880,563 848.5,636Q817,709 763,763Q709,817 636,848.5Q563,880 480,880ZM480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480Q480,480 480,480ZM480,800Q614,800 707,707Q800,614 800,480Q800,346 707,253Q614,160 480,160Q346,160 253,253Q160,346 160,480Q160,614 253,707Q346,800 480,800Z"/>
</vector>

View file

@ -18,7 +18,7 @@ fun String.execute(currentWorkingDir: File = file("./")): String {
}
fun getUncommittedSuffix(): String {
val result = "git status -suno".execute()
val result = "git status -s".execute()
if (result.isEmpty()) {
return ""
}

View file

@ -1,5 +1,5 @@
[versions]
agp = "8.12.0"
agp = "8.12.1"
kotlin = "2.1.10"
material = "1.13.0-rc01"
rxhttp = "3.3.1"