Skip to content

Commit de2f5ef

Browse files
committed
fix: auto push should work
1 parent f544f9a commit de2f5ef

File tree

11 files changed

+186
-253
lines changed

11 files changed

+186
-253
lines changed

api/autoafk/activities.py

Lines changed: 167 additions & 243 deletions
Large diffs are not rendered by default.

api/autoafk/img/buttons/checkbox_blank.png

100644100755
17 Bytes
Loading

api/autoafk/img/buttons/formation_select.png

100644100755
-6.14 KB
Loading
6.99 KB
Loading

api/autoafk/settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ class AppSettings(TypedDict):
1212
surpress_victory_check_spam: bool
1313
ignore_formations: bool
1414
use_popular_formations: bool
15-
copy_artifacts: bool
1615
hibernate_when_finished: bool
1716

1817
enable_telegram: bool

api/autoafk/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def touch_escape_wait(seconds=1) -> None:
473473
Args:
474474
seconds (int, optional): passed to `touch_xy_wait`. Defaults to 1.
475475
"""
476-
touch_xy_wait(300, 50, seconds=seconds) # maybe x=420 is better :)
476+
touch_xy_wait(420, 50, seconds=seconds)
477477

478478

479479
def touch_escape():

api/test/ss-imgs-map.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"campaign/menu-2-collapsed": ["buttons/downarrow"],
2424
"campaign/afk-rewards": ["buttons/collect", "buttons/close"],
2525
"campaign/fast-rewards": ["buttons/close"],
26-
"campaign/multi-battle-preview": ["buttons/begin"],
26+
"campaign/multi-battle-preview": ["buttons/formation_select", "buttons/begin"],
2727
"campaign/multi-battle": [
2828
"buttons/heroclassselect",
2929
"buttons/beginbattle",
@@ -69,5 +69,11 @@
6969
],
7070

7171
"misc/battle": ["buttons/pause"],
72-
"misc/battle-menu": ["buttons/exitbattle"]
72+
"misc/battle-menu": [
73+
"buttons/exitbattle",
74+
"buttons/tryagain",
75+
"buttons/continue"
76+
],
77+
"misc/formations": ["buttons/formation_select", "labels/popular-formations"],
78+
"misc/use-formation": ["buttons/checkbox_blank", "buttons/confirm_small"]
7379
}

api/test/ss/misc/formations.png

1.38 MB
Loading

api/test/ss/misc/use-formation.png

1.1 MB
Loading

ui/src/stores/setting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const initialState: SettingSliceState = {
4848
{
4949
key: "victory_check_freq_min",
5050
name: "Victory check frequency (minutes)",
51-
value: 2,
51+
value: 1,
5252
},
5353
{
5454
key: "surpress_victory_check_spam",

0 commit comments

Comments
 (0)