|
@@ -372,7 +372,7 @@ export class Window {
|
|
|
this.touchBarControl.segments = segments.map(s => ({
|
|
this.touchBarControl.segments = segments.map(s => ({
|
|
|
label: s.label,
|
|
label: s.label,
|
|
|
icon: s.hasActivity ? activityIcon : undefined,
|
|
icon: s.hasActivity ? activityIcon : undefined,
|
|
|
- })
|
|
|
|
|
|
|
+ }))
|
|
|
this.touchBarControl.selectedIndex = selectedIndex
|
|
this.touchBarControl.selectedIndex = selectedIndex
|
|
|
})
|
|
})
|
|
|
|
|
|