parent
60ad17916f
commit
e16e3731c0
4 changed files with 8 additions and 2 deletions
|
@ -9,6 +9,9 @@ steps:
|
|||
- git clone https://git.mrdab.vore.media/ThatOneJackalGuy/OpenContacts.git
|
||||
- echo "Entering folder"
|
||||
- cd OpenContacts
|
||||
- echo "Getting Dependencies"
|
||||
- flutter pub
|
||||
- flutter doctor
|
||||
- echo "Building..."
|
||||
- flutter build apk
|
||||
- echo "Build Completed!"
|
||||
|
|
3
devtools_options.yaml
Normal file
3
devtools_options.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
description: This file stores settings for Dart & Flutter DevTools.
|
||||
documentation: https://docs.flutter.dev/tools/devtools/extensions#configure-extension-enablement-states
|
||||
extensions:
|
|
@ -155,7 +155,7 @@ class _SessionListState extends State<SessionList> with AutomaticKeepAliveClient
|
|||
children: [
|
||||
Expanded(
|
||||
child: Text(
|
||||
"${session.sessionUsers.length.toString().padLeft(2, "0")}/${session.maxUsers.toString().padLeft(2, "0")} Online",
|
||||
"${(session.sessionUsers.length - (session.headlessHost? 1 : 0)).toString().padLeft(2, "0")}/${session.maxUsers.toString().padLeft(2, "0")} Online",
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: Theme.of(context).textTheme.bodySmall?.copyWith(
|
||||
|
|
|
@ -162,7 +162,7 @@ class _SessionViewState extends State<SessionView> {
|
|||
ListSectionHeader(
|
||||
leadingText: "Users",
|
||||
trailingText:
|
||||
"${session.sessionUsers.length.toString().padLeft(2, "0")}/${session.maxUsers.toString().padLeft(2, "0")}",
|
||||
"${(session.sessionUsers.length - (session.headlessHost? 1 : 0)).toString().padLeft(2, "0")}/${session.maxUsers.toString().padLeft(2, "0")}", //TODO: Find a way to make it so that inactive users do not count
|
||||
showLine: false,
|
||||
),
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue