This commit is contained in:
Eugene Pankov 2021-08-16 00:04:47 +02:00
parent 5d213efa73
commit e33d01c3bf
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -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
}) })