Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(typos): fix typos #1780

Merged
merged 3 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ui/src/layouts/log_in/entry_point.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ pub fn Layout(cx: Scope, page: UseState<AuthPages>, pin: UseRef<String>) -> 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;
Expand Down Expand Up @@ -127,7 +127,7 @@ pub fn Layout(cx: Scope, page: UseState<AuthPages>, pin: UseRef<String>) -> 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));
Expand All @@ -140,7 +140,7 @@ pub fn Layout(cx: Scope, page: UseState<AuthPages>, pin: UseRef<String>) -> Elem
_ => {
// unexpected
error.set(Some(UnlockError::Unknown));
log::error!("LogIn failed: {}", err);
log::error!("Login failed: {}", err);
}
},
}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/layouts/storage/files_layout/file_preview.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading