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
|
- git clone https://git.mrdab.vore.media/ThatOneJackalGuy/OpenContacts.git
|
||||||
- echo "Entering folder"
|
- echo "Entering folder"
|
||||||
- cd OpenContacts
|
- cd OpenContacts
|
||||||
|
- echo "Getting Dependencies"
|
||||||
|
- flutter pub
|
||||||
|
- flutter doctor
|
||||||
- echo "Building..."
|
- echo "Building..."
|
||||||
- flutter build apk
|
- flutter build apk
|
||||||
- echo "Build Completed!"
|
- 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: [
|
children: [
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Text(
|
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,
|
maxLines: 1,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
style: Theme.of(context).textTheme.bodySmall?.copyWith(
|
style: Theme.of(context).textTheme.bodySmall?.copyWith(
|
||||||
|
|
|
@ -162,7 +162,7 @@ class _SessionViewState extends State<SessionView> {
|
||||||
ListSectionHeader(
|
ListSectionHeader(
|
||||||
leadingText: "Users",
|
leadingText: "Users",
|
||||||
trailingText:
|
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,
|
showLine: false,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue