diff --git a/ui/src/layouts/log_in/entry_point.rs b/ui/src/layouts/log_in/entry_point.rs index 37efb95df34..bec1f9744dd 100644 --- a/ui/src/layouts/log_in/entry_point.rs +++ b/ui/src/layouts/log_in/entry_point.rs @@ -67,7 +67,7 @@ pub fn Layout(cx: Scope, page: UseState, pin: UseRef) -> Elem let reset_input = use_state(cx, || false); // On windows, is necessary use state on topbar controls, without using use_shared_state - // So state is loaded thete to use window_maximized and offer better UX + // So state is loaded there to use window_maximized and offer better UX if cfg!(target_os = "windows") && *first_render.read() { *first_render.write_silent() = false; state.write_silent().ui.window_maximized = false; @@ -127,7 +127,7 @@ pub fn Layout(cx: Scope, page: UseState, pin: UseRef) -> Elem } Err(err) => match err { warp::error::Error::DecryptionError => { - // check if account exist. can be the case when account got reset + // check if account exists. can be the case when account got reset if account.unwrap_or_default() { // wrong password error.set(Some(UnlockError::InvalidPin)); @@ -140,7 +140,7 @@ pub fn Layout(cx: Scope, page: UseState, pin: UseRef) -> Elem _ => { // unexpected error.set(Some(UnlockError::Unknown)); - log::error!("LogIn failed: {}", err); + log::error!("Login failed: {}", err); } }, } diff --git a/ui/src/layouts/storage/files_layout/file_preview.rs b/ui/src/layouts/storage/files_layout/file_preview.rs index acf3d3dfc1b..c71318e9a56 100644 --- a/ui/src/layouts/storage/files_layout/file_preview.rs +++ b/ui/src/layouts/storage/files_layout/file_preview.rs @@ -146,7 +146,7 @@ fn FilePreview<'a>(cx: Scope<'a, Props<'a>>) -> Element<'a> { } else if !file_path_in_local_disk.read().exists() && *file_loading_counter.read() > TIME_TO_WAIT_FOR_IMAGE_TO_DOWNLOAD && !is_video { - // It will show image with thumbnial and not with high quality + // It will show image with thumbnail and not with high quality // because image didn't download and is not possible to load it rsx!(FileTypeTag { is_video: false,