make results optional

This commit is contained in:
yggverse 2024-09-27 16:23:59 +03:00
parent 89aed28056
commit ad8ebe87e5
6 changed files with 27 additions and 23 deletions

View file

@ -25,7 +25,7 @@ impl Header {
}
// Actions
pub fn update(&self, title: GString, description: GString) {
pub fn update(&self, title: Option<GString>, description: Option<GString>) {
self.subject.update(title, description);
}