feat: add support for showing bar at top of screen
This commit is contained in:
@@ -30,7 +30,7 @@ impl Module<Button> for ClockModule {
|
||||
fn into_widget(self, info: &ModuleInfo) -> Button {
|
||||
let button = Button::new();
|
||||
|
||||
let popup = Popup::new("popup-clock", info.app, Orientation::Vertical);
|
||||
let popup = Popup::new("popup-clock", info.app, Orientation::Vertical, info.bar_position);
|
||||
popup.add_clock_widgets();
|
||||
|
||||
button.show_all();
|
||||
|
||||
Reference in New Issue
Block a user