use correct message severity when synchronizing

This commit is contained in:
Philipp Crocoll
2025-06-17 16:42:30 +02:00
parent 84d0c32610
commit c0e2f34b79

View File

@@ -56,7 +56,7 @@ namespace keepass2android
OnFinish onFinish = new ActionOnFinish(_activity, (success, message, activity) => OnFinish onFinish = new ActionOnFinish(_activity, (success, message, activity) =>
{ {
if (!String.IsNullOrEmpty(message)) if (!String.IsNullOrEmpty(message))
App.Kp2a.ShowMessage(activity, message, MessageSeverity.Error); App.Kp2a.ShowMessage(activity, message, success ? MessageSeverity.Info : MessageSeverity.Error);
// Tell the adapter to refresh it's list // Tell the adapter to refresh it's list
BaseAdapter adapter = (activity as GroupBaseActivity)?.ListAdapter; BaseAdapter adapter = (activity as GroupBaseActivity)?.ListAdapter;