π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[auth] Add padding for fav icon
Neeraj Gupta77f30b38af0e
diff --git a/auth/lib/ui/code_widget.dart b/auth/lib/ui/code_widget.dartindex 8a09e4b0c3..f8247b9bff 100644--- a/auth/lib/ui/code_widget.dart+++ b/auth/lib/ui/code_widget.dart@@ -118,23 +118,23 @@ class _CodeWidgetState extends State<CodeWidget> {return Stack(children: [// if (isFavorite)- // Align(- // alignment: Alignment.topRight,- // child: Icon(- // Icons.star,- // color: colorScheme.pinnedBgColor,- // size: widget.isCompactMode ? 16 : 24,+ // Align(+ // alignment: Alignment.topRight,+ // child: Icon(+ // Icons.star,+ // color: colorScheme.pinnedBgColor,+ // size: widget.isCompactMode ? 16 : 24,+ // ),+ // //+ // // child: CustomPaint(+ // // painter: PinBgPainter(+ // // color: colorScheme.pinnedBgColor,+ // // ),+ // // size: widget.isCompactMode+ // // ? const Size(24, 24)+ // // : const Size(39, 39),+ // // ),// ),- // //- // // child: CustomPaint(- // // painter: PinBgPainter(- // // color: colorScheme.pinnedBgColor,- // // ),- // // size: widget.isCompactMode- // // ? const Size(24, 24)- // // : const Size(39, 39),- // // ),- // ),if (widget.code.isTrashed && kDebugMode)Align(alignment: Alignment.topLeft,@@ -180,10 +180,13 @@ class _CodeWidgetState extends State<CodeWidget> {if (widget.code.isPinned) ...[Align(alignment: Alignment.topRight,- child: Icon(- Icons.star,- color: colorScheme.primary700.withOpacity(0.4),- size: widget.isCompactMode ? 16 : 24,+ child: Padding(+ padding: const EdgeInsets.only(top: 2, right: 2),+ child: Icon(+ Icons.star,+ color: colorScheme.primary700.withOpacity(0.4),+ size: widget.isCompactMode ? 12 : 20,+ ),),),],diff --git a/auth/lib/ui/home_page.dart b/auth/lib/ui/home_page.dartindex 622bc48e35..14301214aa 100644--- a/auth/lib/ui/home_page.dart+++ b/auth/lib/ui/home_page.dart@@ -500,7 +500,7 @@ class _HomePageState extends State<HomePage> {}if (index == 1 && hasFavouriteCodes) {return TagChip(- label: "Favorite",+ label: context.l10n.fav,state: _isFavouriteOpen? TagChipState.selected: TagChipState.unselected,