universal: style improvements (#67)

This commit is contained in:
Pacalini
2024-11-22 16:47:50 +08:00
committed by GitHub
parent 8b1f13cd33
commit 2f290f0c86
7 changed files with 69 additions and 42 deletions

View File

@@ -231,7 +231,10 @@ class _BodyState extends State<_Body> {
showConfirmDialog(
context: App.rootContext,
title: "Delete".tl,
content: "Are you sure you want to delete it?".tl,
content: "Delete comic source '@n' ?".tlParams({
"n": source.name,
}),
btnColor: context.colorScheme.error,
onConfirm: () {
var file = File(source.filePath);
file.delete();