diff options
author | jelemux <jeremias.weber@protonmail.com> | 2021-02-17 22:27:41 +0100 |
---|---|---|
committer | jelemux <jeremias.weber@protonmail.com> | 2021-02-17 22:27:41 +0100 |
commit | 9698e6952cb568f6dce49b35bd47b52d992c0f9a (patch) | |
tree | 1c8cff0b2c6824653da68b94a81bbbfb314f01dd /src/view/main.rs | |
parent | d0d42c5ae00560e4464479a98df90ed063a1c773 (diff) | |
download | wasm-card-9698e6952cb568f6dce49b35bd47b52d992c0f9a.tar.gz wasm-card-9698e6952cb568f6dce49b35bd47b52d992c0f9a.tar.bz2 |
refactor: put input_fields and property_groups into their own modules
Diffstat (limited to 'src/view/main.rs')
-rw-r--r-- | src/view/main.rs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/view/main.rs b/src/view/main.rs index 808b160..df8f326 100644 --- a/src/view/main.rs +++ b/src/view/main.rs @@ -1,8 +1,8 @@ -use crate::model::address::*; -use crate::model::name::*; -use crate::model::organizational::*; -use crate::model::other_identification::*; -use crate::model::telephone::*; +use crate::model::property_groups::address::*; +use crate::model::property_groups::name::*; +use crate::model::property_groups::organizational::*; +use crate::model::property_groups::other_identification::*; +use crate::model::property_groups::telephone::*; use crate::model::utility::*; use crate::model::vcard::VCardData; use crate::model::Error; @@ -103,7 +103,8 @@ impl Component for MainView { shouldrender = true; } Msg::AddDates => { - self.other_identifications_links.push(WeakComponentLink::default()); + self.other_identifications_links + .push(WeakComponentLink::default()); shouldrender = true; } Msg::AddOrganizational => { |