|
|
@@ -100,6 +100,10 @@ class ProfilePage extends ConsumerWidget {
|
|
|
const LogoutButton(),
|
|
|
const SizedBox(height: 20),
|
|
|
],
|
|
|
+ Text(
|
|
|
+ _buildVersionText(),
|
|
|
+ style: TextStyle(fontSize: 12, color: Colors.grey),
|
|
|
+ ),
|
|
|
],
|
|
|
],
|
|
|
),
|
|
|
@@ -108,4 +112,13 @@ class ProfilePage extends ConsumerWidget {
|
|
|
),
|
|
|
);
|
|
|
}
|
|
|
+
|
|
|
+ String _buildVersionText() {
|
|
|
+ final deviceType = AppConfig.isPda ? "PDA" : "APP";
|
|
|
+ final mode = AppConfig.isOffline ? "_OFFLINE" : "";
|
|
|
+
|
|
|
+ final deviceInfo = Platform.isAndroid ? "$deviceType$mode" : "WIN$mode";
|
|
|
+
|
|
|
+ return 'ChickenFarm $deviceInfo Powered by IWB ©2025';
|
|
|
+ }
|
|
|
}
|