core: clear group content on deletion, break transaction to prevent error on Android, more logs (#892)

* core: log group deletion

* clear group content, break transaction, add logs
This commit is contained in:
Evgeny Poberezkin
2022-08-04 11:12:50 +01:00
committed by GitHub
parent 91baf9f362
commit 55adbb4692
5 changed files with 55 additions and 31 deletions
+4
View File
@@ -11,3 +11,7 @@ safeDecodeUtf8 = decodeUtf8With onError
uncurry3 :: (a -> b -> c -> d) -> ((a, b, c) -> d)
uncurry3 f ~(a, b, c) = f a b c
lastMaybe :: [a] -> Maybe a
lastMaybe [] = Nothing
lastMaybe xs = Just $ last xs