π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[auth] minor fixes
Aman Rajb0c2efa2bc0a
diff --git a/auth/lib/ui/home_page.dart b/auth/lib/ui/home_page.dartindex c1c0c20ce7..c4b68b9485 100644--- a/auth/lib/ui/home_page.dart+++ b/auth/lib/ui/home_page.dart@@ -122,15 +122,17 @@ class _HomePageState extends State<HomePage> {} else {hasNonTrashedCodes = true;}- if (c.isPinned) {- hasFavouriteCodes = true;- } else {- hasNonFavouriteCodes = true;- }- if (hasTrashedCodes && hasNonTrashedCodes) {- break;+ if (!c.isTrashed) {+ if (c.isPinned) {+ hasFavouriteCodes = true;+ } else {+ hasNonFavouriteCodes = true;+ }}- if (hasFavouriteCodes && hasNonFavouriteCodes) {+ if (hasTrashedCodes &&+ hasNonTrashedCodes &&+ hasFavouriteCodes &&+ hasNonFavouriteCodes) {break;}}