forked from Ivasoft/mattermost-mobile
* MM-37110: handle toggling of CRT feature When a user toggles CRT on/off the app should truncate affected tables, and re-fetch data. Truncated tables: - POST - POSTS_IN_CHANNEL - POSTS_IN_THREAD - THREAD - THREADS_IN_TEAM - THREAD_PARTICIPANT - MY_CHANNEL After truncation `entry` is called again. We must make sure though that we save the CRT change before calling `entry` again, or we end up with infinite recursion. PS the UI seems to handle the change rather good * Fixes appEntry and popToRoot * Small refactor * Fixes since param on appEntry * Further refactoring * Delete unneeded return type * Removes shouldPopToRoot from appEntry * Addresses review comments