mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
chore: code clean up
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -17,8 +17,8 @@ class BottomControl extends StatefulWidget implements PreferredSizeWidget {
|
||||
this.controller,
|
||||
this.liveRoomCtr,
|
||||
this.floating,
|
||||
Key? key,
|
||||
}) : super(key: key);
|
||||
super.key,
|
||||
});
|
||||
|
||||
@override
|
||||
State<BottomControl> createState() => _BottomControlState();
|
||||
@@ -91,7 +91,7 @@ class _BottomControlState extends State<BottomControl> {
|
||||
child: IconButton(
|
||||
tooltip: '画中画',
|
||||
style: ButtonStyle(
|
||||
padding: MaterialStateProperty.all(EdgeInsets.zero),
|
||||
padding: WidgetStateProperty.all(EdgeInsets.zero),
|
||||
),
|
||||
onPressed: () async {
|
||||
bool canUsePiP = false;
|
||||
|
||||
@@ -67,7 +67,7 @@ class _LiveRoomChatState extends State<LiveRoomChat> {
|
||||
},
|
||||
);
|
||||
} catch (err) {
|
||||
print(err.toString());
|
||||
debugPrint(err.toString());
|
||||
// SmartDialog.showToast(err.toString());
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user