Hook sidebar logo
This commit is contained in:
@@ -9,12 +9,12 @@ import javafx.scene.control.Alert;
|
||||
import javafx.scene.control.Button;
|
||||
import javafx.scene.control.Label;
|
||||
import javafx.scene.control.Separator;
|
||||
import javafx.scene.image.ImageView;
|
||||
import javafx.scene.input.MouseEvent;
|
||||
import javafx.scene.layout.StackPane;
|
||||
import javafx.stage.Stage;
|
||||
import org.example.petshopdesktop.api.ChatRealtimeClient;
|
||||
import org.example.petshopdesktop.auth.UserSession;
|
||||
import org.example.petshopdesktop.ui.SvgWebViewFactory;
|
||||
import org.example.petshopdesktop.util.ActivityLogger;
|
||||
|
||||
public class MainLayoutController {
|
||||
@@ -77,7 +77,7 @@ public class MainLayoutController {
|
||||
private Button btnChat;
|
||||
|
||||
@FXML
|
||||
private ImageView imgLogo;
|
||||
private StackPane logoContainer;
|
||||
|
||||
@FXML
|
||||
private Label lblUsername;
|
||||
@@ -207,6 +207,7 @@ public class MainLayoutController {
|
||||
|
||||
@FXML
|
||||
public void initialize() {
|
||||
logoContainer.getChildren().setAll(SvgWebViewFactory.build("/org/example/petshopdesktop/images/leons-pet-store-badge.svg", 94));
|
||||
applyRBAC();
|
||||
|
||||
UserSession session = UserSession.getInstance();
|
||||
|
||||
Reference in New Issue
Block a user