From 8f6fc306a41c16ae419f222e7733e8e20965e920 Mon Sep 17 00:00:00 2001 From: Ziedelth Date: Thu, 28 Mar 2024 17:28:32 +0100 Subject: [PATCH] Add verification file on FirebaseNotification.kt --- src/main/kotlin/fr/shikkanime/utils/FirebaseNotification.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/fr/shikkanime/utils/FirebaseNotification.kt b/src/main/kotlin/fr/shikkanime/utils/FirebaseNotification.kt index 282974f9..048cdc3a 100644 --- a/src/main/kotlin/fr/shikkanime/utils/FirebaseNotification.kt +++ b/src/main/kotlin/fr/shikkanime/utils/FirebaseNotification.kt @@ -14,6 +14,7 @@ object FirebaseNotification { private fun init() { if (isInitialized) return val file = File(Constant.dataFolder, "firebase.json") + if (!file.exists()) return FirebaseApp.initializeApp( FirebaseOptions.builder()