Browse Source

socketclient add debug setting

wr_202303
zsw 4 months ago
parent
commit
eba84a6e28
  1. 11
      lib/setting/about_page.dart

11
lib/setting/about_page.dart

@ -86,6 +86,8 @@ class _AboutPage extends State<AboutPage> {
SizedBox( SizedBox(
height: 20.h, height: 20.h,
), ),
if (kDebugMode)
textItem("ip: ${socketClient.ip}\nport: ${socketClient.port}\nid: ${socketClient.userId}"),
GestureDetector( GestureDetector(
onTap: (){ onTap: (){
// updateApp(); // updateApp();
@ -103,15 +105,6 @@ class _AboutPage extends State<AboutPage> {
}, },
child: textItem(S.of(context).shiyongbangzhu), child: textItem(S.of(context).shiyongbangzhu),
), ),
if (kDebugMode)
InkWell(
onTap: () {
Navigator.of(context).pushNamed(
'/router/help_feedback_page'
);
},
child: textItem("ip:${socketClient.ip} port:${socketClient.port} id:${socketClient.userId}"),
),
if (!Platform.isAndroid) if (!Platform.isAndroid)
GestureDetector( GestureDetector(
child: settingSingleItem(S.of(context).geiwopingfen), child: settingSingleItem(S.of(context).geiwopingfen),

Loading…
Cancel
Save