Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: the locked hint is not visible when there's a cover (#7439)
Lucas56a023c98a8d
diff --git a/frontend/appflowy_flutter/lib/mobile/presentation/base/mobile_view_page.dart b/frontend/appflowy_flutter/lib/mobile/presentation/base/mobile_view_page.dartindex 4d043410bf..792679daf1 100644--- a/frontend/appflowy_flutter/lib/mobile/presentation/base/mobile_view_page.dart+++ b/frontend/appflowy_flutter/lib/mobile/presentation/base/mobile_view_page.dart@@ -387,8 +387,8 @@ class _MobileViewPageState extends State<MobileViewPage> {bottom: 4.0,),child: FlowySvg(- FlowySvgs.lock_page_s,- color: const Color(0xFFD95A0B),+ FlowySvgs.lock_page_fill_s,+ blendMode: null,),),);diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/widgets/view_title_bar.dart b/frontend/appflowy_flutter/lib/workspace/presentation/widgets/view_title_bar.dartindex a1f2717d97..87452d560e 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/widgets/view_title_bar.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/widgets/view_title_bar.dart@@ -400,6 +400,7 @@ class LockedPageStatus extends StatelessWidget {side: BorderSide(color: color),borderRadius: BorderRadius.circular(6),),+ color: Colors.white.withValues(alpha: 0.75),),child: FlowyButton(useIntrinsicWidth: true,@@ -414,7 +415,10 @@ class LockedPageStatus extends StatelessWidget {fontSize: 12.0,),hoverColor: color.withValues(alpha: 0.1),- leftIcon: FlowySvg(FlowySvgs.lock_page_s, color: color),+ leftIcon: FlowySvg(+ FlowySvgs.lock_page_fill_s,+ blendMode: null,+ ),onTap: () => context.read<ViewLockStatusBloc>().add(const ViewLockStatusEvent.unlock(),),@@ -436,6 +440,7 @@ class ReLockedPageStatus extends StatelessWidget {side: BorderSide(color: iconColor),borderRadius: BorderRadius.circular(6),),+ color: Colors.white.withValues(alpha: 0.75),),child: FlowyButton(useIntrinsicWidth: true,diff --git a/frontend/resources/flowy_icons/16x/lock_page_fill.svg b/frontend/resources/flowy_icons/16x/lock_page_fill.svgnew file mode 100644index 0000000000..b2ed846e69--- /dev/null+++ b/frontend/resources/flowy_icons/16x/lock_page_fill.svg@@ -0,0 +1,4 @@+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M1.75 10.5C1.75 8.73225 1.75 7.84838 2.29918 7.29919C2.84835 6.75 3.73223 6.75 5.5 6.75H10.5C12.2677 6.75 13.1516 6.75 13.7008 7.29919C14.25 7.84838 14.25 8.73225 14.25 10.5C14.25 12.2677 14.25 13.1516 13.7008 13.7008C13.1516 14.25 12.2677 14.25 10.5 14.25H5.5C3.73223 14.25 2.84835 14.25 2.29918 13.7008C1.75 13.1516 1.75 12.2677 1.75 10.5Z" fill="#ED8835" stroke="#ED8835"/>+<path d="M4.25 6.75V5.5C4.25 3.42893 5.92893 1.75 8 1.75C10.0711 1.75 11.75 3.42893 11.75 5.5V6.75" stroke="#ED8835" stroke-linecap="round"/>+</svg>