diff --git a/lib/union/union_details_page.dart b/lib/union/union_details_page.dart index d0ebb4c6..1777451d 100644 --- a/lib/union/union_details_page.dart +++ b/lib/union/union_details_page.dart @@ -204,20 +204,22 @@ class _UnionDetailsPage extends State { CrossAxisAlignment.end, children: [ Expanded( - child: Text( - S.of(context).yingyeshijian(storeInfo == - null - ? "" - : (storeInfo.openStartTime == - null && - storeInfo.openEndTime == - null) - ? S.of(context).quantian - : "${storeInfo.openStartTime.substring(0, storeInfo.openStartTime.lastIndexOf(":"))} - ${storeInfo.openEndTime.substring(0, storeInfo.openEndTime.lastIndexOf(":"))}"), - style: TextStyle( - color: Color(0xFF353535), - fontWeight: FontWeight.w400, - fontSize: 12.sp, + child: Text( + S.of(context).yingyeshijian(storeInfo == + null + ? "" + : (storeInfo.openStartTime == + null && + storeInfo + .openEndTime == + null) + ? S.of(context).quantian + : "${storeInfo.openStartTime.substring(0, storeInfo.openStartTime.lastIndexOf(":"))} - ${storeInfo.openEndTime.substring(0, storeInfo.openEndTime.lastIndexOf(":"))}"), + style: TextStyle( + color: Color(0xFF353535), + fontWeight: FontWeight.w400, + fontSize: 12.sp, + ), ), ), SizedBox(