fix(app): keep diff typography and colours native to the host
This commit is contained in:
@@ -17,7 +17,7 @@ class PatchView extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final parsed = file.parsedPatch;
|
||||
final base = monospaceText(DefaultTextStyle.of(context).style);
|
||||
final base = nativeDiffText(DefaultTextStyle.of(context).style);
|
||||
final stat = changeStat(parsed.added, parsed.removed);
|
||||
return Semantics(
|
||||
container: true,
|
||||
@@ -106,7 +106,7 @@ class _HunkView extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final base = monospaceText(DefaultTextStyle.of(context).style);
|
||||
final base = nativeDiffText(DefaultTextStyle.of(context).style);
|
||||
final width = gutterWidth(hunk);
|
||||
return Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
|
||||
Reference in New Issue
Block a user