style(config-ui-tiny): add override annotation (thanks for nothing, IDEA)
This commit is contained in:
parent
261657b2ac
commit
4ef2d09d78
|
@ -62,10 +62,12 @@ public class TinyConfigScreenFactory implements ConfigScreenFactory<Screen, Tiny
|
||||||
}
|
}
|
||||||
|
|
||||||
public record Built(ScreenWithSaveHook screen) implements ConfigScreenFactory.Built<Screen> {
|
public record Built(ScreenWithSaveHook screen) implements ConfigScreenFactory.Built<Screen> {
|
||||||
|
@Override
|
||||||
public Screen get() {
|
public Screen get() {
|
||||||
return screen;
|
return screen;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void onSave(Runnable action) {
|
public void onSave(Runnable action) {
|
||||||
Runnable currentHook = screen.saveHook;
|
Runnable currentHook = screen.saveHook;
|
||||||
screen.saveHook = () -> {
|
screen.saveHook = () -> {
|
||||||
|
|
Loading…
Reference in New Issue