Skip to content

Commit d87fb20

Browse files
ookkoouuProspector
authored andcommitted
Fix duplicated toast text (#780)
- Fixed issue with drag-n-drop toast having the same line displayed twice
1 parent 045f5a5 commit d87fb20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/terraformersmc/modmenu/gui/ModsScreen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ public void filesDragged(List<Path> paths) {
630630
SystemToast.add(client.getToastManager(),
631631
SystemToast.Type.PERIODIC_NOTIFICATION,
632632
ModMenuScreenTexts.DROP_SUCCESSFUL_LINE_1,
633-
ModMenuScreenTexts.DROP_SUCCESSFUL_LINE_1
633+
ModMenuScreenTexts.DROP_SUCCESSFUL_LINE_2
634634
);
635635
}
636636
}

0 commit comments

Comments
 (0)