Skip to content

Commit

Permalink
chore: small tweaks to Fireplace main
Browse files Browse the repository at this point in the history
  • Loading branch information
bric3 committed May 6, 2023
1 parent 2974e55 commit c6bea14
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
import java.util.function.Function;

/**
* This class has been automatically generated using <a
* href="https://github.com/kirill-grouchnikov/radiance">Radiance SVG transcoder</a>.
* This class has been automatically generated using
* <a href="https://github.com/kirill-grouchnikov/radiance">Radiance SVG transcoder</a>.
*/
public class darkMode_moon implements GeneratedIcon {
private Shape shape = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import java.util.function.Function;

/**
* This class has been automatically generated using <a
* href="https://github.com/kirill-grouchnikov/radiance">Radiance SVG transcoder</a>.
* This class has been automatically generated using
* <a href="https://github.com/kirill-grouchnikov/radiance">Radiance SVG transcoder</a>.
*/
public class darkMode_sun implements GeneratedIcon {
private Shape shape = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import javax.swing.SwingUtilities
fun main(args: Array<String>) {
System.getProperties().forEach { k: Any, v: Any -> println("$k = $v") }
val paths = Arrays.stream(args)
// poor check for arg sequence `-NSRequiresAquaSystemAppearance false`
.filter { arg -> !arg.matches("-NSRequiresAquaSystemAppearance|[Ff]alse|[Nn][Oo]|0".toRegex()) }
.map(Path::of)
.filter { path ->
Expand Down Expand Up @@ -92,7 +93,7 @@ private fun initUI(jfrBinder: JFRLoaderBinder, cliPaths: List<Path>) {
hud.dnDTarget
)

JFrame("FirePlace").run {
JFrame("Fireplace").run {
defaultCloseOperation = JFrame.EXIT_ON_CLOSE
size = Dimension(1400, 800)
contentPane.add(hud.component)
Expand Down

0 comments on commit c6bea14

Please sign in to comment.