Skip to content

Commit 833eb5e

Browse files
committed
update styles
1 parent a1e6f7c commit 833eb5e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/Services/Database.vala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,6 @@ public class Services.Database : GLib.Object {
689689

690690
while (stmt.step () == Sqlite.ROW) {
691691
if (!columns.contains (stmt.column_text (1))) {
692-
print ("Falta: %s: %s\n".printf (table, stmt.column_text (1)));
693692
return false;
694693
}
695694
}

src/MainWindow.vala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,12 +624,13 @@ public class MainWindow : Adw.ApplicationWindow {
624624
var status_page = new Adw.StatusPage ();
625625
status_page.icon_name = "process-error-symbolic";
626626
status_page.title = _("Database Integrity Check Failed");
627-
status_page.description = _("We've detected issues with the database structure that may prevent the application from functioning properly. This may be due to missing tables or columns, likely caused by data corruption or an incomplete update. The database will now be reset to restore normal functionality, and any existing data will be removed. After the reset, you’ll be able to restore any backup you’ve created previously. Thank you for your patience");
627+
status_page.description = _("We've detected issues with the database structure that may prevent the application from functioning properly. This may be due to missing tables or columns, likely caused by data corruption or an incomplete update.\n\nThe database will now be reset to restore normal functionality, and any existing data will be removed.\n\nAfter the reset, you’ll be able to restore any backup you’ve created previously. Thank you for your patience");
628628

629629
var reset_button = new Gtk.Button.with_label (_("Reset Database")) {
630630
halign = CENTER
631631
};
632-
reset_button.add_css_class ("suggested-action");
632+
reset_button.add_css_class ("destructive-action");
633+
reset_button.add_css_class ("pill");
633634

634635
var box = new Gtk.Box (VERTICAL, 12) {
635636
valign = CENTER,

0 commit comments

Comments
 (0)