Skip to content

Commit

Permalink
hide empty word
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshj01 committed Jul 26, 2023
1 parent 600fd4a commit 7031ecd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/pages/notifications/notification_detail.dart
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,13 @@ class DifferenceVisualizer extends StatelessWidget {
subtitle: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
differenceVisualizerGranular(newVersion, oldVersion, isOldVersion: false),
8.0.vSpacer(),
differenceVisualizerGranular(newVersion, oldVersion, isOldVersion: true),
newVersion.isEmpty
? SizedBox()
: differenceVisualizerGranular(newVersion, oldVersion, isOldVersion: false),
oldVersion.isEmpty ? SizedBox.shrink() : 8.0.vSpacer(),
oldVersion.isEmpty
? SizedBox.shrink()
: differenceVisualizerGranular(newVersion, oldVersion, isOldVersion: true),
],
),
);
Expand Down
Binary file modified screenshots/previews/preview 9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7031ecd

Please sign in to comment.