diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index c8ba1ce..a8c9e0b 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -3,7 +3,7 @@
package="com.example.queuing_system">
-
+
diff --git a/lib/home/home_screen.dart b/lib/home/home_screen.dart
index 40cc2be..7481672 100644
--- a/lib/home/home_screen.dart
+++ b/lib/home/home_screen.dart
@@ -17,6 +17,8 @@ import 'package:queuing_system/utils/utils.dart';
import 'package:queuing_system/widget/data_display/app_texts_widget.dart';
var DEVICE_IP = "10.10.15.11"; // Testing IP
+
+String globalInterface = "";
// var DEVICE_IP = "10.10.14.11"; // Testing IP
// var DEVICE_IP = "10.10.15.11";
@@ -47,6 +49,7 @@ class _MyHomePageState extends State {
Future printIps() async {
for (var interface in await NetworkInterface.list(type: InternetAddressType.IPv4)) {
print("interfaces: ${interface.name}");
+ globalInterface = globalInterface + " ** " + interface.name;
if (interface.name == "eth0") {
for (var address in interface.addresses) {
@@ -87,22 +90,27 @@ class _MyHomePageState extends State {
Row(
children: [
const SizedBox(width: 20),
- AppText(
- "Powered By",
- fontSize: SizeConfig.getWidthMultiplier() * 2.6,
- fontFamily: 'Poppins-Medium.ttf',
+ Column(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ AppText(
+ "Powered By",
+ fontSize: SizeConfig.getWidthMultiplier() * 2.6,
+ fontFamily: 'Poppins-Medium.ttf',
+ ),
+ Text(DEVICE_IP, style: TextStyle(fontWeight: FontWeight.w500, fontSize: SizeConfig.getWidthMultiplier() * 2.2)),
+
+ ],
),
- const SizedBox(width: 20),
+ const SizedBox(width: 10),
Image.asset(
"assets/images/cloud_logo.png",
height: SizeConfig.getHeightMultiplier() * 4,
),
+ const SizedBox(width: 10),
+ Text(globalInterface, style: TextStyle(fontWeight: FontWeight.w500, fontSize: SizeConfig.getWidthMultiplier() * 2.2)),
],
),
- Padding(
- padding: const EdgeInsets.only(right: 20),
- child: Text(DEVICE_IP, style: TextStyle(fontWeight: FontWeight.w500, fontSize: SizeConfig.getWidthMultiplier() *2.6)),
- ),
],
),
),
diff --git a/lib/main.dart b/lib/main.dart
index 65752f6..f613721 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -11,6 +11,8 @@ void main() {
//test commit
+//TODO: WE NEED TO IMPLEMENT THE AVAILABILITY MONITORING OF THE SCREENS LIKE IF THEY ARE TURNED ON OR NOT!!
+
class MyApp extends StatelessWidget {
const MyApp({Key key}) : super(key: key);