style(config-ui-tiny): add override annotation (thanks for nothing, IDEA)
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/jfmod Pipeline was successful Details

This commit is contained in:
Johannes Frohnmeyer 2023-08-19 14:23:18 +02:00
parent 261657b2ac
commit 4ef2d09d78
Signed by: Johannes
GPG Key ID: E76429612C2929F4
1 changed files with 2 additions and 0 deletions

View File

@ -62,10 +62,12 @@ public class TinyConfigScreenFactory implements ConfigScreenFactory<Screen, Tiny
}
public record Built(ScreenWithSaveHook screen) implements ConfigScreenFactory.Built<Screen> {
@Override
public Screen get() {
return screen;
}
@Override
public void onSave(Runnable action) {
Runnable currentHook = screen.saveHook;
screen.saveHook = () -> {