desktop push
This commit is contained in:
@@ -52,7 +52,7 @@ class _ibus_displayState extends State<ibus_display> {
|
||||
String _padString(String input){
|
||||
|
||||
if (input.length < 30){
|
||||
print("Input is too short");
|
||||
// print("Input is too short");
|
||||
return input;
|
||||
}
|
||||
|
||||
@@ -241,12 +241,14 @@ class _timeComponentState extends State<_timeComponent> {
|
||||
|
||||
String timeString = "${now.hour % 12}:${now.minute.toString().padLeft(2, "0")} ${now.hour < 12 ? "AM" : "PM"}";
|
||||
|
||||
timeString = timeString.replaceAll("0:", "12:");
|
||||
|
||||
return timeString;
|
||||
}
|
||||
|
||||
String _padString(String input){
|
||||
if (input.length < 30){
|
||||
print("Input is too short");
|
||||
// print("Input is too short");
|
||||
return input;
|
||||
}
|
||||
|
||||
|
||||
@@ -74,11 +74,6 @@ class _pages_DisplayState extends State<pages_Display> {
|
||||
});
|
||||
|
||||
// Hide the notification bar and make the app full screen and display over notch
|
||||
if (widget._tfL_Dataset_TestState.hideUI) {
|
||||
SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: []);
|
||||
} else {
|
||||
SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky);
|
||||
}
|
||||
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user