mirror of
https://github.com/mihonapp/mihon.git
synced 2025-01-13 19:57:16 +01:00
Fix app crash when removing tracked entry from tracker (#1380)
This commit is contained in:
parent
fc2f339ea1
commit
6de06419f8
@ -824,7 +824,11 @@ private data class TrackerRemoveScreen(
|
||||
|
||||
fun deleteMangaFromService() {
|
||||
screenModelScope.launchNonCancellable {
|
||||
(tracker as DeletableTracker).delete(track)
|
||||
try {
|
||||
(tracker as DeletableTracker).delete(track)
|
||||
} catch (e: Exception) {
|
||||
logcat(LogPriority.ERROR, e) { "Failed to delete entry from service" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user