diff --git a/data/src/main/java/com/moez/QKSMS/manager/HousekeepingWorkManager.kt b/data/src/main/java/com/moez/QKSMS/manager/HousekeepingWorkManager.kt index c9acbeed..49c0a8bc 100644 --- a/data/src/main/java/com/moez/QKSMS/manager/HousekeepingWorkManager.kt +++ b/data/src/main/java/com/moez/QKSMS/manager/HousekeepingWorkManager.kt @@ -1,3 +1,21 @@ +/* + * Copyright (C) 2025 + * + * This file is part of QUIK. + * + * QUIK is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * QUIK is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with QUIK. If not, see . + */ package com.moez.QKSMS.manager import android.content.Context diff --git a/domain/src/main/java/com/moez/QKSMS/interactor/DeleteScheduledMessages.kt b/domain/src/main/java/com/moez/QKSMS/interactor/DeleteScheduledMessages.kt index 7cb4d899..d1aa4c23 100644 --- a/domain/src/main/java/com/moez/QKSMS/interactor/DeleteScheduledMessages.kt +++ b/domain/src/main/java/com/moez/QKSMS/interactor/DeleteScheduledMessages.kt @@ -39,7 +39,7 @@ class DeleteScheduledMessages @Inject constructor( it.forEach { // recursively delete scheduled message top level dir val topDir = File(context.filesDir, "scheduled-${it}") -// topDir.exists() && topDir.deleteRecursively() + topDir.exists() && topDir.deleteRecursively() } } catch (e: Exception) { /* nothing */ }