use adw Clamp for input

This commit is contained in:
yggverse 2024-10-16 12:40:38 +03:00
parent 9be583044f
commit 78c2765d2a
4 changed files with 14 additions and 12 deletions

View file

@ -4,7 +4,7 @@ mod widget;
use content::Content;
use widget::Widget;
use adw::ToolbarView;
use adw::Clamp;
use std::sync::Arc;
pub struct Input {
@ -32,7 +32,7 @@ impl Input {
}
// Getters
pub fn gobject(&self) -> &ToolbarView {
pub fn gobject(&self) -> &Clamp {
&self.widget.gobject()
}
}