summary message dialog improved
This commit is contained in:
parent
226ce76c16
commit
846ee16f6b
1 changed files with 19 additions and 5 deletions
16
src/main.rs
16
src/main.rs
|
@ -493,11 +493,25 @@ fn main() {
|
|||
|
||||
if cfg!(target_arch = "arm") {
|
||||
if stat.authors_fixed == 0 {
|
||||
if stat.drm_skipped == 0 {
|
||||
pocketbook::dialog(
|
||||
pocketbook::Icon::Info,
|
||||
"The database seems to be ok.\nNothing had to be fixed.",
|
||||
"The database seems to be ok.\n\
|
||||
Nothing had to be fixed.",
|
||||
&["OK"],
|
||||
);
|
||||
} else {
|
||||
pocketbook::dialog(
|
||||
pocketbook::Icon::Info,
|
||||
&format!(
|
||||
"The database seems to be ok.\n\
|
||||
Nothing had to be fixed.\n\
|
||||
(Books skipped (DRM): {})",
|
||||
&stat.drm_skipped
|
||||
),
|
||||
&["OK"],
|
||||
);
|
||||
}
|
||||
} else {
|
||||
pocketbook::dialog(
|
||||
pocketbook::Icon::Info,
|
||||
|
|
Loading…
Reference in a new issue