Commit 317a7f5
committed
fix(activity): apply Android view detection in ActivityView child component
The parent Activity.vue now returns androidViews for the tab list when
the host is an Android device, but ActivityView.vue was still resolving
the current view from viewsStore.views (desktop views). This caused the
child to render desktop-view elements (e.g. Top Window Titles) even when
the Android Summary tab was selected.
Fix: replicate the same runtime bucket check (available.android &&
!available.window) in ActivityView.vue, reading the host from
$route.params.host. Android hosts now get androidViews elements;
desktop hosts and the build-time VUE_APP_ON_ANDROID path are unchanged.1 parent ff5f91b commit 317a7f5
1 file changed
Lines changed: 17 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | 62 | | |
64 | 63 | | |
65 | | - | |
| 64 | + | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
80 | 93 | | |
81 | 94 | | |
82 | 95 | | |
| |||
0 commit comments