Initial IronStorage project structure
This commit is contained in:
23
apps/desktop/src/main.rs
Normal file
23
apps/desktop/src/main.rs
Normal file
@@ -0,0 +1,23 @@
|
||||
#![forbid(unsafe_code)]
|
||||
#![deny(clippy::disallowed_types)]
|
||||
|
||||
use iced::{Element, Length, widget::container, widget::text};
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
enum Message {}
|
||||
|
||||
fn main() -> iced::Result {
|
||||
iced::application(|| (), update, view)
|
||||
.title(ironstorage::PRODUCT_NAME)
|
||||
.run()
|
||||
}
|
||||
|
||||
fn update(_: &mut (), message: Message) {
|
||||
match message {}
|
||||
}
|
||||
|
||||
fn view(_: &()) -> Element<'_, Message> {
|
||||
container(text("No password store is open."))
|
||||
.center(Length::Fill)
|
||||
.into()
|
||||
}
|
||||
Reference in New Issue
Block a user