Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: do not use settings.getAlias

ammarahm-ed08d629a44ca3
diff --git a/apps/mobile/src/views/Notes/index.js b/apps/mobile/src/views/Notes/index.js
index 29b9ee89b..4569ba418 100644
--- a/apps/mobile/src/views/Notes/index.js
+++ b/apps/mobile/src/views/Notes/index.js
@@ -161,8 +161,8 @@ export const Notes = ({route, navigation}) => {
color: params.type === 'color' ? params.title : null,
title:
params.type === 'tag'
- ? '#' + params.title
- : db.settings.getAlias(params.id) || params.title.slice(0, 1).toUpperCase() + params.title.slice(1)
+ ? '#' + alias
+ : alias.slice(0, 1).toUpperCase() + alias.slice(1)
});
};