Commit 3a6ac16
Refactor volume action state management and deprecate stream actions
- Consolidated volumeUpActionState and volumeDownActionState into single volumeActionState
- Added actionId to VolumeActionBottomSheetState to determine which action to create
- Updated bottom sheet to use actionId for dynamic title selection
- Merged onDoneConfigVolumeUpClick and onDoneConfigVolumeDownClick into single handler
- Deprecated VOLUME_INCREASE_STREAM and VOLUME_DECREASE_STREAM ActionIds
- Deprecated Volume.Stream classes (kept for backward compatibility)
- Updated CHANGELOG wording to "Consolidated volume and stream actions"
Co-authored-by: sds100 <[email protected]>1 parent 99e7780 commit 3a6ac16
File tree
6 files changed
+41
-63
lines changed- base/src/main/java/io/github/sds100/keymapper/base/actions
6 files changed
+41
-63
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
| |||
Lines changed: 19 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
| 57 | + | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
162 | 161 | | |
163 | 162 | | |
164 | 163 | | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
183 | 177 | | |
184 | | - | |
| 178 | + | |
185 | 179 | | |
186 | 180 | | |
187 | 181 | | |
| |||
291 | 285 | | |
292 | 286 | | |
293 | 287 | | |
294 | | - | |
| 288 | + | |
| 289 | + | |
295 | 290 | | |
296 | 291 | | |
297 | 292 | | |
| |||
300 | 295 | | |
301 | 296 | | |
302 | 297 | | |
303 | | - | |
| 298 | + | |
| 299 | + | |
304 | 300 | | |
305 | 301 | | |
306 | 302 | | |
| |||
Lines changed: 17 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
83 | 61 | | |
84 | | - | |
85 | 62 | | |
86 | 63 | | |
87 | 64 | | |
88 | | - | |
| 65 | + | |
89 | 66 | | |
90 | | - | |
91 | | - | |
| 67 | + | |
| 68 | + | |
92 | 69 | | |
93 | | - | |
| 70 | + | |
94 | 71 | | |
95 | 72 | | |
96 | | - | |
| 73 | + | |
97 | 74 | | |
98 | 75 | | |
99 | 76 | | |
100 | 77 | | |
101 | | - | |
| 78 | + | |
102 | 79 | | |
103 | 80 | | |
104 | 81 | | |
| |||
220 | 197 | | |
221 | 198 | | |
222 | 199 | | |
| 200 | + | |
223 | 201 | | |
224 | 202 | | |
225 | 203 | | |
| |||
238 | 216 | | |
239 | 217 | | |
240 | 218 | | |
| 219 | + | |
241 | 220 | | |
242 | 221 | | |
243 | 222 | | |
| |||
269 | 248 | | |
270 | 249 | | |
271 | 250 | | |
| 251 | + | |
272 | 252 | | |
273 | 253 | | |
274 | 254 | | |
| |||
0 commit comments