mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-14 00:04:08 +09:00
Fix uninstall response
Make it so that outside of batch mode the uninstalled toast does not mention anything about selected apps
This commit is contained in:
@@ -124,7 +124,10 @@ class WarehouseWindow(Adw.ApplicationWindow):
|
||||
self.main_toolbar_view.set_sensitive(True)
|
||||
self.disconnect(self.no_close)
|
||||
if self.uninstall_success:
|
||||
self.toast_overlay.add_toast(Adw.Toast.new(_("Uninstalled selected apps")))
|
||||
if self.in_batch_mode:
|
||||
self.toast_overlay.add_toast(Adw.Toast.new(_("Uninstalled selected apps")))
|
||||
else:
|
||||
self.toast_overlay.add_toast(Adw.Toast.new(_("Uninstalled app")))
|
||||
else:
|
||||
self.toast_overlay.add_toast(Adw.Toast.new(_("Could not uninstall some apps")))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user