Skip to content

Commit

Permalink
Update io.github.jwharm.adw to 0.11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ToxicStoxm committed Jan 6, 2025
1 parent 3cc3717 commit dc34299
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/java/com/toxicstoxm/LEDSuite/ui/LEDSuiteWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.gnome.adw.AlertDialog;
import org.gnome.adw.Application;
import org.gnome.adw.ApplicationWindow;
import org.gnome.adw.Dialog;
import org.gnome.adw.*;
import org.gnome.glib.GLib;
import org.gnome.glib.Type;
Expand Down Expand Up @@ -100,7 +101,7 @@ public void toggleSidebar() {
}

public void displayAboutDialog() {
AboutDialog aboutDialog = AboutDialog.fromAppdata("/com/toxicstoxm/LEDSuite/com.toxicstoxm.LEDSuite.metainfo.xml", LEDSuiteApplication.version);
Dialog aboutDialog = AboutDialog.fromAppdata("/com/toxicstoxm/LEDSuite/com.toxicstoxm.LEDSuite.metainfo.xml", LEDSuiteApplication.version);
aboutDialog.present(this);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ public void serverCnctButtonClicked() {

@Contract(" -> new")
public @NotNull SettingsData getData() {
String temp = ((StringList<?>) colorMode.getModel()).getString(colorMode.getSelected());
String temp = ((StringList) colorMode.getModel()).getString(colorMode.getSelected());
return new SettingsData(
(int) brightness.getValue(),
temp == null || temp.equals(Translations.getText("N/A")) ? null : temp,
Expand Down

0 comments on commit dc34299

Please sign in to comment.