Skip to content

Commit 63da367

Browse files
committed
chore: fix Flutter format
1 parent b2152f4 commit 63da367

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

client/lib/widgets/main/report.dart

+17-12
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ class ReportWidget extends StatefulWidget {
1212

1313
class _ReportWidgetState extends State<ReportWidget> {
1414
final _reportTextFieldController = TextEditingController();
15-
ReportRequest_ReportType currentReportType = ReportRequest_ReportType.REPORT_TYPE_MISSING_PR_VIDEO;
15+
ReportRequest_ReportType currentReportType =
16+
ReportRequest_ReportType.REPORT_TYPE_MISSING_PR_VIDEO;
1617

1718
@override
1819
Widget build(BuildContext context) {
@@ -49,7 +50,8 @@ class _ReportWidgetState extends State<ReportWidget> {
4950
height: 2,
5051
),
5152
style: Theme.of(context).textTheme.headline6,
52-
items: ReportRequest_ReportType.values.map((ReportRequest_ReportType reportType) {
53+
items: ReportRequest_ReportType.values
54+
.map((ReportRequest_ReportType reportType) {
5355
return DropdownMenuItem<ReportRequest_ReportType>(
5456
value: reportType,
5557
child: Text(getStringReportTypeBy(reportType)),
@@ -106,18 +108,21 @@ class _ReportWidgetState extends State<ReportWidget> {
106108

107109
String getStringReportTypeBy(ReportRequest_ReportType reportType) {
108110
switch (reportType) {
109-
case ReportRequest_ReportType.REPORT_TYPE_MISSING_PR_VIDEO: {
110-
return "PR12 누락 동영상";
111-
}
111+
case ReportRequest_ReportType.REPORT_TYPE_MISSING_PR_VIDEO:
112+
{
113+
return "PR12 누락 동영상";
114+
}
112115

113-
case ReportRequest_ReportType.REPORT_TYPE_BUG: {
114-
return "버그";
115-
}
116+
case ReportRequest_ReportType.REPORT_TYPE_BUG:
117+
{
118+
return "버그";
119+
}
116120

117-
default: {
118-
// equivalent to ReportRequest_ReportType.REPORT_TYPE_UNSPECIFIED
119-
return "기타";
120-
}
121+
default:
122+
{
123+
// equivalent to ReportRequest_ReportType.REPORT_TYPE_UNSPECIFIED
124+
return "기타";
125+
}
121126
}
122127
}
123128
}

0 commit comments

Comments
 (0)