From e16e8693c8aabd39270f0deefd5a08c2f3f26ff5 Mon Sep 17 00:00:00 2001 From: crazeteam <164632007+crazeteam@users.noreply.github.com> Date: Thu, 28 Mar 2024 17:52:33 +0800 Subject: [PATCH] chore: remove repetitive words (#4992) Signed-off-by: crazeteam --- .../appflowy_flutter/lib/startup/tasks/generate_router.dart | 2 +- frontend/rust-lib/flowy-folder/src/manager_observer.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/appflowy_flutter/lib/startup/tasks/generate_router.dart b/frontend/appflowy_flutter/lib/startup/tasks/generate_router.dart index 44f979a1ea..10d267dfbf 100644 --- a/frontend/appflowy_flutter/lib/startup/tasks/generate_router.dart +++ b/frontend/appflowy_flutter/lib/startup/tasks/generate_router.dart @@ -589,7 +589,7 @@ GoRoute _rootRoute(Widget child) { return GoRoute( path: '/', redirect: (context, state) async { - // Every time before navigating to splash screen, we check if user is already logged in in desktop. It is used to skip showing splash screen when user just changes apperance settings like theme mode. + // Every time before navigating to splash screen, we check if user is already logged in desktop. It is used to skip showing splash screen when user just changes apperance settings like theme mode. final userResponse = await getIt().getUser(); final routeName = userResponse.fold( (user) => DesktopHomeScreen.routeName, diff --git a/frontend/rust-lib/flowy-folder/src/manager_observer.rs b/frontend/rust-lib/flowy-folder/src/manager_observer.rs index 964e0efe0a..3e9ca3589a 100644 --- a/frontend/rust-lib/flowy-folder/src/manager_observer.rs +++ b/frontend/rust-lib/flowy-folder/src/manager_observer.rs @@ -140,7 +140,7 @@ pub(crate) fn subscribe_folder_trash_changed( }); } -/// Notify the the list of parent view ids that its child views were changed. +/// Notify the list of parent view ids that its child views were changed. #[tracing::instrument(level = "debug", skip(folder, parent_view_ids))] pub(crate) fn notify_parent_view_did_change>( folder: Arc, @@ -159,7 +159,7 @@ pub(crate) fn notify_parent_view_did_change>( let parent_view_id = parent_view_id.as_ref(); // if the view's parent id equal to workspace id. Then it will fetch the current - // workspace views. Because the the workspace is not a view stored in the views map. + // workspace views. Because the workspace is not a view stored in the views map. if parent_view_id == workspace_id { notify_did_update_workspace(&workspace_id, folder); notify_did_update_section_views(&workspace_id, folder); @@ -232,7 +232,7 @@ pub enum ChildViewChangeReason { Update, } -/// Notify the the list of parent view ids that its child views were changed. +/// Notify the list of parent view ids that its child views were changed. #[tracing::instrument(level = "debug", skip_all)] pub(crate) fn notify_child_views_changed(view_pb: ViewPB, reason: ChildViewChangeReason) { let parent_view_id = view_pb.parent_view_id.clone();