Commit 66e63f6
committed
Dashboard: Hold back the upgrade promo card for launch
Pre-launch decision: build a user base before asking for the upgrade on
the dashboard's main surface. Both render sites of UpgradePromoCard (the
unsupported branch and the supported branch, after the quick-access
promotion) are removed, so the dashboard no longer carries an upgrade
ask of its own.
The upgrade stays discoverable through the Pro badges, the locked
tile/widget, and the settings row. shouldShowUpgradePromo still gates
those badges, and the DashboardScreen onUpgrade parameter plus its
MainActivity wiring are kept, so reintroducing the card after launch is
a one-line change. The composable, its previews, strings, and component
test are untouched.1 parent 4be4964 commit 66e63f6
3 files changed
Lines changed: 15 additions & 15 deletions
File tree
- app/src/main/java/eu/darken/amply/main/ui/dashboard
Lines changed: 5 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
332 | 334 | | |
333 | 335 | | |
334 | 336 | | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | 337 | | |
342 | 338 | | |
343 | 339 | | |
| |||
354 | 350 | | |
355 | 351 | | |
356 | 352 | | |
357 | | - | |
358 | | - | |
| 353 | + | |
| 354 | + | |
359 | 355 | | |
360 | 356 | | |
361 | 357 | | |
362 | 358 | | |
363 | 359 | | |
364 | 360 | | |
365 | 361 | | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | 362 | | |
372 | 363 | | |
373 | 364 | | |
| |||
920 | 911 | | |
921 | 912 | | |
922 | 913 | | |
923 | | - | |
| 914 | + | |
924 | 915 | | |
925 | 916 | | |
926 | 917 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
125 | 128 | | |
126 | 129 | | |
127 | 130 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
| |||
0 commit comments