From 0190fe09ddaee2b110de9e947cb7c5b2fa9655a5 Mon Sep 17 00:00:00 2001 From: raikasdev Date: Tue, 12 Mar 2024 23:49:20 +0200 Subject: [PATCH] fix: clean up quality:tm: code --- src/database/activity.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/activity.rs b/src/database/activity.rs index 33082bc..33c6916 100644 --- a/src/database/activity.rs +++ b/src/database/activity.rs @@ -84,7 +84,7 @@ impl super::DatabaseWrapper { let mut activities = query.load::(&mut conn).await?; // Change hidden entries project name - if is_self == false { + if !is_self { for act in &mut activities { if act.hidden { // Empty string instead of None() to make sure we don't make everything into "undefined" :D