panhui há 6 anos atrás
pai
commit
fedd09877e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      lib/pages/roomInfo.dart

+ 1 - 1
lib/pages/roomInfo.dart

@@ -506,7 +506,7 @@ class RoomInfoState extends State<RoomInfo>
                           ),
                           ),
                           Text(
                           Text(
                             (houseInfo != null
                             (houseInfo != null
-                                    ? houseInfo.playerNumber.toString()
+                                    ? (houseInfo.playerNumber??0).toString()
                                     : '0') +
                                     : '0') +
                                 '/' +
                                 '/' +
                                 (houseInfo != null
                                 (houseInfo != null