Prepared user registration implementation
This commit is contained in:
@ -87,7 +87,7 @@ public class LoginDialog extends JDialog {
|
||||
JButton okButton = new JButton("OK");
|
||||
okButton.addActionListener((evt) -> {
|
||||
try {
|
||||
credentials = new LoginCredentials(textField.getText(), passwordField.getPassword());
|
||||
credentials = new LoginCredentials(textField.getText(), passwordField.getPassword(), false);
|
||||
dispose();
|
||||
} catch (NoSuchAlgorithmException e) {
|
||||
e.printStackTrace();
|
||||
|
@ -41,7 +41,7 @@ public class MessageListRenderer extends JLabel implements ListCellRenderer<Mess
|
||||
|
||||
final String text = value.getText();
|
||||
final String state = value.getStatus().toString();
|
||||
final String date = new SimpleDateFormat("dd.MM.yyyy HH.mm").format(value.getDate());
|
||||
final String date = new SimpleDateFormat("dd.MM.yyyy HH.mm").format(value.getCreationDate());
|
||||
|
||||
// Getting the MessageColor in the Chat of the current theme
|
||||
String textColor = Settings.getInstance().getThemes().get(Settings.getInstance().getCurrentTheme()).getMessageColorChat().toHex();
|
||||
|
Reference in New Issue
Block a user