mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
gpts: show provider logo on active dropdown item
This commit is contained in:
@@ -57,13 +57,17 @@ const ProviderSwitcher = () => {
|
||||
setup: setupCursorHover,
|
||||
});
|
||||
}
|
||||
let indicatorIcon = Icon({
|
||||
icon: GPTService.providers[userOptions.ai.defaultGPTProvider]['logo_name'],
|
||||
className: 'txt-large'
|
||||
});
|
||||
const indicatorChevron = MaterialIcon('expand_more', 'norm');
|
||||
const indicatorButton = Button({
|
||||
tooltipText: getString('Select ChatGPT-compatible API provider'),
|
||||
child: Box({
|
||||
className: 'spacing-h-10 txt',
|
||||
children: [
|
||||
MaterialIcon('cloud', 'norm'),
|
||||
indicatorIcon,
|
||||
Label({
|
||||
hexpand: true,
|
||||
xalign: 0,
|
||||
|
||||
Reference in New Issue
Block a user