Skip to content

Commit

Permalink
after mint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
d-reader-luka committed Jun 14, 2024
1 parent b0a85e8 commit 032f2cc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class MintInfoContainer extends ConsumerStatefulWidget {

class _MintInfoContainerState extends ConsumerState<MintInfoContainer>
with SingleTickerProviderStateMixin {
late final Ticker _ticker;
Ticker? _ticker;

@override
void initState() {
Expand All @@ -80,16 +80,16 @@ class _MintInfoContainerState extends ConsumerState<MintInfoContainer>
Formatter.formatDateInRelative(candyMachineGroup.startDate),
);
if (isActive) {
_ticker.stop();
_ticker?.stop();
}
},
);
_ticker.start();
_ticker?.start();
}

@override
void dispose() {
_ticker.dispose();
_ticker?.dispose();
super.dispose();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ class OwnedDigitalAssetCard extends ConsumerWidget {
),
Text(
ref.watch(selectedIssueInfoProvider)?.title ?? '',
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: const TextStyle(
fontSize: 16,
fontWeight: FontWeight.w700,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ class OwnedIssueCard extends ConsumerWidget {
),
Text(
issue.title,
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: const TextStyle(
fontSize: 16,
fontWeight: FontWeight.w700,
Expand Down

0 comments on commit 032f2cc

Please sign in to comment.