From 395e2655648dbb80d089077e6a6b2530f4876c63 Mon Sep 17 00:00:00 2001
From: bexnoss <82064510+bexnoss@users.noreply.github.com>
Date: Fri, 14 Jan 2022 00:01:05 +0100
Subject: [PATCH] Add offline mode disclaimer
---
launcher/ui/dialogs/OfflineLoginDialog.ui | 4 ++--
launcher/ui/pages/global/AccountListPage.cpp | 8 +++++++-
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/launcher/ui/dialogs/OfflineLoginDialog.ui b/launcher/ui/dialogs/OfflineLoginDialog.ui
index d8964a2e4..4577d361b 100644
--- a/launcher/ui/dialogs/OfflineLoginDialog.ui
+++ b/launcher/ui/dialogs/OfflineLoginDialog.ui
@@ -6,8 +6,8 @@
0
0
- 400
- 150
+ 500
+ 250
diff --git a/launcher/ui/pages/global/AccountListPage.cpp b/launcher/ui/pages/global/AccountListPage.cpp
index b9aa7628b..1c27d5b73 100644
--- a/launcher/ui/pages/global/AccountListPage.cpp
+++ b/launcher/ui/pages/global/AccountListPage.cpp
@@ -158,7 +158,13 @@ void AccountListPage::on_actionAddOffline_triggered()
{
MinecraftAccountPtr account = OfflineLoginDialog::newAccount(
this,
- tr("Please enter your desired username to add your offline account.")
+ tr("Please enter your desired username to add your offline account.
"
+ "
"
+ "It is required by Mojang that you own Minecraft BEFORE you may use offline mode.
"
+ "The PolyMC organization denounces piracy and takes NO LIABILITY WHATSOEVER
"
+ "for any illegal activity that may occur in usage of the offline mode feature.
"
+ "
"
+ "By continuing you promise that you own a Minecraft account.")
);
if (account)