Small changes
This commit is contained in:
+8
-2
@@ -24,14 +24,20 @@ use crate::navigation::{AppSettings, RootMessage, ScreenState};
|
||||
use crate::quiz::*;
|
||||
use crate::repetitions::CardSetSettings;
|
||||
use crate::RootMessage::Keyboard;
|
||||
use iced::Font;
|
||||
use iced::{window, Font};
|
||||
use iced::{keyboard, Subscription, Theme};
|
||||
use iced_core::Size;
|
||||
use iced_core::window::Position;
|
||||
use rusqlite::Connection;
|
||||
|
||||
const USER_FONT: Font = Font::with_name("Noto Sans JP");
|
||||
|
||||
fn main() -> iced::Result {
|
||||
iced::application(ScreenState::boot, ScreenState::update, ScreenState::view)
|
||||
iced::application(ScreenState::boot, ScreenState::update, ScreenState::view).window(window::Settings{
|
||||
position: Position::Centered,
|
||||
min_size: Some(Size::new(700.0_f32.into(), 700.0_f32.into())),
|
||||
.. Default::default()
|
||||
})
|
||||
.subscription(subscription)
|
||||
.title("Kana learn app")
|
||||
.settings(iced::Settings {
|
||||
|
||||
Reference in New Issue
Block a user