Skip to content

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

refactor

ammarahm-ed66663385d7e1
diff --git a/apps/mobile/src/views/Folders/index.js b/apps/mobile/src/views/Folders/index.js
index f51edd1b0..435fcaa58 100644
--- a/apps/mobile/src/views/Folders/index.js
+++ b/apps/mobile/src/views/Folders/index.js
@@ -46,12 +46,10 @@ export const Folders = ({navigation}) => {
dispatch({type: ACTIONS.NOTEBOOKS});
if (isFocused) {
- if (isFocused) {
- dispatch({
- type: ACTIONS.CURRENT_SCREEN,
- screen: 'notebooks',
- });
- }
+ dispatch({
+ type: ACTIONS.CURRENT_SCREEN,
+ screen: 'notebooks',
+ });
}
let backhandler;