desktop push

This commit is contained in:
ImBenji
2024-05-20 09:06:38 +01:00
parent e5a8d78bf1
commit 639faddfc8
19 changed files with 2455 additions and 996 deletions

View File

@@ -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;
}