mobile: cleanup

This commit is contained in:
Ammar Ahmed
2024-03-06 10:07:12 +05:00
committed by Abdullah Atta
parent d22301ccf9
commit e327c92e1a
3 changed files with 4 additions and 6 deletions

View File

@@ -44,8 +44,7 @@ import RNBootSplash from "react-native-bootsplash";
import { checkVersion } from "react-native-check-version";
import Config from "react-native-config";
import * as RNIap from "react-native-iap";
import { User } from "@notesnook/core/dist/api/user-manager";
import { User } from "@notesnook/core";
import { EventManagerSubscription } from "@notesnook/core/dist/utils/event-manager";
//@ts-ignore
import { enabled } from "react-native-privacy-snapshot";

View File

@@ -149,9 +149,8 @@ async function updateNextBackupTime() {
});
}
/**
*
* @param {boolean} progress
* @param {string} context
* @param {boolean=} progress
* @param {string=} context
* @returns {Promise<{path?: string, error?: Error}}>
*/
async function run(progress = false, context) {

View File

@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { User } from "@notesnook/core/dist/api/user-manager";
import { User } from "@notesnook/core";
import { Platform } from "react-native";
import { getVersion } from "react-native-device-info";
import create, { State } from "zustand";