ios: disable files deletion unless chat is stopped (#1074)

This commit is contained in:
JRoberts
2022-09-20 12:35:25 +04:00
committed by GitHub
parent c4aa988fb3
commit 012115b330
@@ -166,6 +166,7 @@ struct DatabaseView: View {
}
}
}
.disabled(!stopped || appFilesCountAndSize?.0 == 0)
}
.onAppear {
runChat = m.chatRunning ?? true