Copied. (#7519)
This commit is contained in:
@@ -40,6 +40,7 @@ public class DiscordDialog extends Dialog{
|
|||||||
buttons.button("@back", Icon.left, this::hide);
|
buttons.button("@back", Icon.left, this::hide);
|
||||||
buttons.button("@copylink", Icon.copy, () -> {
|
buttons.button("@copylink", Icon.copy, () -> {
|
||||||
Core.app.setClipboardText(discordURL);
|
Core.app.setClipboardText(discordURL);
|
||||||
|
ui.showInfoFade("@copied");
|
||||||
});
|
});
|
||||||
buttons.button("@openlink", Icon.discord, () -> {
|
buttons.button("@openlink", Icon.discord, () -> {
|
||||||
if(!Core.app.openURI(discordURL)){
|
if(!Core.app.openURI(discordURL)){
|
||||||
|
|||||||
Reference in New Issue
Block a user