💥 fix(ags): bar/media widget, new appearance to control center
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Binding } from "astal";
|
||||
import { Binding, Variable } from "astal";
|
||||
import { Gtk, Widget } from "astal/gtk3";
|
||||
|
||||
export interface NormalTileProps {
|
||||
@@ -14,9 +14,6 @@ export interface NormalTileProps {
|
||||
|
||||
export function MoreTile(props: NormalTileProps): Gtk.Widget {
|
||||
|
||||
let toggleState: boolean = props?.toggleState !== undefined ?
|
||||
props.toggleState : false;
|
||||
|
||||
const mainEventBox = new Widget.EventBox({
|
||||
onClick: () => toggleState ? props.onToggledOff() : props.onToggledOn(),
|
||||
expand: true,
|
||||
|
||||
Reference in New Issue
Block a user