Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Apr 26, 2024
1 parent 5165adb commit 1700af6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/installation/dialogs/security.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ def polkit_frame
def cpu_frame
widget = nil
current_bl = ::Bootloader::BootloaderFactory.current
if current_bl.is_a?(::Bootloader::SystemdBoot)
widget = ::Bootloader::SystemdBootWidget::SdCpuMitigationsWidget.new
widget = if current_bl.is_a?(::Bootloader::SystemdBoot)
::Bootloader::SystemdBootWidget::SdCpuMitigationsWidget.new
else
widget = ::Bootloader::Grub2Widget::GrubCpuMitigationsWidget.new
::Bootloader::Grub2Widget::GrubCpuMitigationsWidget.new
end
frame(
_("CPU"),
Expand Down

0 comments on commit 1700af6

Please sign in to comment.