mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-28 16:06:47 +01:00
mobile: cleanup
This commit is contained in:
committed by
Abdullah Atta
parent
d22301ccf9
commit
e327c92e1a
@@ -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";
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user