mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
complete certificate export feature
This commit is contained in:
parent
8a62ef46df
commit
3dfcbc279d
9 changed files with 182 additions and 81 deletions
|
|
@ -4,6 +4,7 @@ pub mod form;
|
|||
use action::Action;
|
||||
use form::{list::item::value::Value, Form};
|
||||
|
||||
use crate::profile::Profile;
|
||||
use adw::{
|
||||
prelude::{AdwDialogExt, AlertDialogExt, AlertDialogExtManual},
|
||||
AlertDialog, ResponseAppearance,
|
||||
|
|
@ -32,12 +33,12 @@ impl Widget {
|
|||
// Constructors
|
||||
|
||||
/// Create new `Self`
|
||||
pub fn new() -> Self {
|
||||
pub fn new(profile: Rc<Profile>) -> Self {
|
||||
// Init actions
|
||||
let action = Rc::new(Action::new());
|
||||
|
||||
// Init child container
|
||||
let form = Rc::new(Form::new(action.clone()));
|
||||
let form = Rc::new(Form::new(profile, action.clone()));
|
||||
|
||||
// Init main `GObject`
|
||||
let gobject = AlertDialog::builder()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue