Skip to content

Commit a3d1a28

Browse files
committed
format text book shortcut tests
1 parent ece1ef3 commit a3d1a28

2 files changed

Lines changed: 299 additions & 379 deletions

File tree

‎lib/text_book/view/text_book_screen.dart‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,7 @@ class _TextBookViewerBlocState extends State<TextBookViewerBloc>
198198
String? _selectedTextForSearch;
199199
int?
200200
_selectedLineForNote; // שורת המקור של הטקסט המסומן, ליצירת הערה בקיצור מקשים
201-
int?
202-
_selectedColumnForNote; // עמודת הבחירה — לזיהוי המופע הנכון כשהטקסט חוזר בשורה
201+
int? _selectedColumnForNote; // עמודת הבחירה — לזיהוי המופע הנכון כשהטקסט חוזר בשורה
203202
Book? _pdfBook; // Companion PDF
204203
bool _hasResolvedCompanionPdf = false;
205204
// מהדורות מקבילות ללחצן המובנה: המובנית ראשונה, אחריה היברובוקס מקומיות.
@@ -1213,9 +1212,8 @@ class _TextBookViewerBlocState extends State<TextBookViewerBloc>
12131212
// line-height מרוסן כדי ששתי השורות ייכנסו בגובה הסרגל הקומפקטי
12141213
// (פונטים עבריים בעלי מטריקות גבוהות גרמו לחריגת RenderFlex).
12151214
final titleStyle = AppTopBar.titleStyle(context).copyWith(height: 1.1);
1216-
final authorStyle = AppTopBar.subtitleStyle(
1217-
context,
1218-
).copyWith(height: 1.1);
1215+
final authorStyle = AppTopBar.subtitleStyle(context)
1216+
.copyWith(height: 1.1);
12191217
TextPainter measure(String text) => TextPainter(
12201218
text: TextSpan(text: text, style: titleStyle),
12211219
textDirection: Directionality.of(context),

0 commit comments

Comments
 (0)