mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-05-19 07:24:38 -04:00
LoggerView now auto-shows the log
This commit is contained in:
committed by
Boulay Mathias
parent
d44f2dc023
commit
22602d717a
@@ -66,6 +66,10 @@ public class LoggerView extends ConstraintLayout {
|
||||
Logger.getInstance().setLogListener(logListener);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void setVisibility(int visibility) {
|
||||
super.setVisibility(visibility);
|
||||
// Triggers the log view shown state by default when viewing it
|
||||
toggleButton.setChecked(visibility == VISIBLE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user