fix: build warnings
This commit is contained in:
23
.github/workflows/debug.yml
vendored
23
.github/workflows/debug.yml
vendored
@@ -155,26 +155,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: purrfectsnap-armv7-debug
|
name: purrfectsnap-armv7-debug
|
||||||
path: app/build/outputs/apk/armv7/debug/*.apk
|
path: app/build/outputs/apk/armv7/debug/*.apk
|
||||||
make_prerelease:
|
|
||||||
needs: [job_armv7, job_armv8]
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Download all build artifacts
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
path: ./all-apks
|
|
||||||
- name: Display all files for debug
|
|
||||||
run: find ./all-apks
|
|
||||||
- name: Set up GitHub CLI
|
|
||||||
run: |
|
|
||||||
sudo apt-get install -y gh
|
|
||||||
- name: Create Debug Prerelease with all APKs
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: |
|
|
||||||
VERSION="debug-${{ github.run_id }}-${{ github.sha }}"
|
|
||||||
TITLE="Debug CI $VERSION"
|
|
||||||
NOTE="Auto-generated debug prerelease including all APKs from jobs."
|
|
||||||
APKLIST=$(find ./all-apks -type f -name '*.apk' | tr '\n' ' ')
|
|
||||||
echo "APKS: $APKLIST"
|
|
||||||
gh release create "$VERSION" $APKLIST --repo ${{ github.repository }} --title "$TITLE" --notes "$NOTE" --prerelease
|
|
||||||
|
|||||||
@@ -417,7 +417,7 @@ class ScriptingRootSection : Routes.Route() {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
if (openSettings) {
|
if (openSettings) {
|
||||||
Divider(color = Color.White.copy(alpha = 0.08f))
|
HorizontalDivider(color = Color.White.copy(alpha = 0.08f))
|
||||||
ScriptSettings(script)
|
ScriptSettings(script)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import androidx.compose.material.icons.filled.Add
|
|||||||
import androidx.compose.material.icons.filled.AutoGraph
|
import androidx.compose.material.icons.filled.AutoGraph
|
||||||
import androidx.compose.material.icons.filled.DeleteOutline
|
import androidx.compose.material.icons.filled.DeleteOutline
|
||||||
import androidx.compose.material.icons.filled.FolderOpen
|
import androidx.compose.material.icons.filled.FolderOpen
|
||||||
import androidx.compose.material.icons.filled.Rule
|
import androidx.compose.material.icons.automirrored.filled.Rule
|
||||||
import androidx.compose.material.icons.filled.SaveAlt
|
import androidx.compose.material.icons.filled.SaveAlt
|
||||||
import androidx.compose.material.icons.filled.UploadFile
|
import androidx.compose.material.icons.filled.UploadFile
|
||||||
import androidx.compose.material.icons.filled.FileOpen
|
import androidx.compose.material.icons.filled.FileOpen
|
||||||
@@ -466,7 +466,7 @@ class FriendTrackerManagerRoot : Routes.Route() {
|
|||||||
),
|
),
|
||||||
contentAlignment = Alignment.Center
|
contentAlignment = Alignment.Center
|
||||||
) {
|
) {
|
||||||
Icon(Icons.Default.Rule, contentDescription = null, tint = Color.White)
|
Icon(Icons.AutoMirrored.Filled.Rule, contentDescription = null, tint = Color.White)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Column(
|
Column(
|
||||||
|
|||||||
@@ -11,10 +11,11 @@ class RefreshFriendSuggestions : Feature("Refresh Friend Suggestions") {
|
|||||||
listOf("m34803a", "mo81d").forEach { methodName ->
|
listOf("m34803a", "mo81d").forEach { methodName ->
|
||||||
runCatching {
|
runCatching {
|
||||||
findClass(className).hook(methodName, HookStage.AFTER) { param ->
|
findClass(className).hook(methodName, HookStage.AFTER) { param ->
|
||||||
(param.getResult() as? MutableMap<String, String>)?.apply {
|
val result = param.getResult()
|
||||||
put("_t", System.currentTimeMillis().toString())
|
val updated = (result as? Map<*, *>)?.toMutableMap() ?: return@hook
|
||||||
put("limit", "100")
|
updated["_t"] = System.currentTimeMillis().toString()
|
||||||
}
|
updated["limit"] = "100"
|
||||||
|
param.setResult(updated)
|
||||||
}
|
}
|
||||||
}.onFailure {}
|
}.onFailure {}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user