Add small clarification to Account Plugin tooltip
This helps clarify what the login and logout buttons do
This commit is contained in:
@@ -84,13 +84,13 @@ public class AccountPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
loginButton = NavigationButton.builder()
|
loginButton = NavigationButton.builder()
|
||||||
.icon(LOGIN_IMAGE)
|
.icon(LOGIN_IMAGE)
|
||||||
.tooltip("Login")
|
.tooltip("Login to RuneLite")
|
||||||
.onClick(this::loginClick)
|
.onClick(this::loginClick)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
logoutButton = NavigationButton.builder()
|
logoutButton = NavigationButton.builder()
|
||||||
.icon(LOGOUT_IMAGE)
|
.icon(LOGOUT_IMAGE)
|
||||||
.tooltip("Logout")
|
.tooltip("Logout of RuneLite")
|
||||||
.onClick(this::logoutClick)
|
.onClick(this::logoutClick)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
@@ -121,7 +121,7 @@ public class AccountPlugin extends Plugin
|
|||||||
private void logoutClick()
|
private void logoutClick()
|
||||||
{
|
{
|
||||||
if (JOptionPane.YES_OPTION == JOptionPane.showConfirmDialog(null,
|
if (JOptionPane.YES_OPTION == JOptionPane.showConfirmDialog(null,
|
||||||
"Are you sure you want to logout?", "Logout Confirmation",
|
"Are you sure you want to logout from RuneLite?", "Logout Confirmation",
|
||||||
JOptionPane.YES_NO_OPTION))
|
JOptionPane.YES_NO_OPTION))
|
||||||
{
|
{
|
||||||
sessionManager.logout();
|
sessionManager.logout();
|
||||||
|
|||||||
Reference in New Issue
Block a user