mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-13 02:32:09 +10:00
disable patreon connect when not logged in
This commit is contained in:
@@ -104,6 +104,7 @@ public class CloudPlugIn implements IPlugIn {
|
|||||||
getManageAccountAction().setEnabled(false);
|
getManageAccountAction().setEnabled(false);
|
||||||
getChangePasswordAction().setEnabled(false);
|
getChangePasswordAction().setEnabled(false);
|
||||||
getLogOutAction().setEnabled(false);
|
getLogOutAction().setEnabled(false);
|
||||||
|
getConnectPatreonAction().setEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public CloudBrowserFrame getCloudBrowser() {
|
public CloudBrowserFrame getCloudBrowser() {
|
||||||
@@ -179,6 +180,7 @@ public class CloudPlugIn implements IPlugIn {
|
|||||||
getUploadAction().setEnabled(true);
|
getUploadAction().setEnabled(true);
|
||||||
getManageProjectsAction().setEnabled(true);
|
getManageProjectsAction().setEnabled(true);
|
||||||
getChangePasswordAction().setEnabled(true);
|
getChangePasswordAction().setEnabled(true);
|
||||||
|
getConnectPatreonAction().setEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void loggedOut() {
|
public void loggedOut() {
|
||||||
@@ -190,6 +192,7 @@ public class CloudPlugIn implements IPlugIn {
|
|||||||
getUploadAction().setEnabled(false);
|
getUploadAction().setEnabled(false);
|
||||||
getManageProjectsAction().setEnabled(false);
|
getManageProjectsAction().setEnabled(false);
|
||||||
getChangePasswordAction().setEnabled(false);
|
getChangePasswordAction().setEnabled(false);
|
||||||
|
getConnectPatreonAction().setEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Getters for action classes
|
// Getters for action classes
|
||||||
|
|||||||
Reference in New Issue
Block a user