Skip to content

Commit e938df6

Browse files
committed
Remove skip dialog [release]
1 parent cbbdcca commit e938df6

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

app/src/main/java/io/xpipe/app/hub/comp/StoreCreationDialog.java

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,6 @@ private static void show(
149149
modal.show();
150150
}
151151

152-
private static boolean showInvalidConfirmAlert() {
153-
var retry = new SimpleBooleanProperty();
154-
var modal = ModalOverlay.of("confirmInvalidStoreTitle", AppDialog.dialogTextKey("confirmInvalidStoreContent"));
155-
modal.addButton(new ModalButton("retry", () -> retry.set(true), true, false));
156-
modal.addButton(new ModalButton("skip", null, true, true));
157-
modal.showAndWait();
158-
return !retry.get();
159-
}
160-
161152
private static ModalOverlay createModalOverlay(StoreCreationModel model) {
162153
var comp = new StoreCreationComp(model);
163154
comp.prefWidth(650);
@@ -210,12 +201,8 @@ private static ModalOverlay createModalOverlay(StoreCreationModel model) {
210201
modal.addButton(new ModalButton(
211202
"skip",
212203
() -> {
213-
if (!model.wasChanged() || showInvalidConfirmAlert()) {
214-
model.commit(false);
215-
modal.close();
216-
} else {
217-
model.finish();
218-
}
204+
model.commit(false);
205+
modal.close();
219206
},
220207
false,
221208
false))

dist/changelog/18.7_incremental.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
- Fix macOS Tahoe display name containing version twice
55
- Fix inaccurate error message when a parent of a service did not support tunneling
66
- Add setting to customize markdown notes template for connections
7+
- Remove confirm dialog when skipping connection validation to allow for faster connection creation

0 commit comments

Comments
 (0)