mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +00:00
hide certain fields on ordinals views, change ordinal card aspect ratio
This commit is contained in:
parent
f46a37d4d4
commit
5a845f8669
3 changed files with 15 additions and 15 deletions
|
@ -191,13 +191,13 @@ class _OrdinalImageGroup extends StatelessWidget {
|
|||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
Text(
|
||||
"${ordinal.inscriptionId}", // Use any other property you want
|
||||
style: STextStyles.w600_16(context),
|
||||
),
|
||||
const SizedBox(
|
||||
height: _spacing,
|
||||
),
|
||||
// Text(
|
||||
// "${ordinal.inscriptionId}", // Use any other property you want
|
||||
// style: STextStyles.w600_16(context),
|
||||
// ),
|
||||
// const SizedBox(
|
||||
// height: _spacing,
|
||||
// ),
|
||||
AspectRatio(
|
||||
aspectRatio: 1,
|
||||
child: AspectRatio(
|
||||
|
|
|
@ -41,14 +41,14 @@ class OrdinalCard extends StatelessWidget {
|
|||
),
|
||||
const Spacer(),
|
||||
Text(
|
||||
'TODO', // infer from address associated with utxoTXID
|
||||
'INSC. ${ordinal.inscriptionNumber}', // infer from address associated with utxoTXID
|
||||
style: STextStyles.w500_12(context),
|
||||
),
|
||||
const Spacer(),
|
||||
Text(
|
||||
"INSC. ${ordinal.inscriptionNumber} ID ${ordinal.inscriptionId}",
|
||||
style: STextStyles.w500_8(context),
|
||||
),
|
||||
// const Spacer(),
|
||||
// Text(
|
||||
// "ID ${ordinal.inscriptionId}",
|
||||
// style: STextStyles.w500_8(context),
|
||||
// ),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
|
|
@ -33,7 +33,7 @@ class OrdinalsList extends StatelessWidget {
|
|||
crossAxisSpacing: spacing as double,
|
||||
mainAxisSpacing: spacing as double,
|
||||
crossAxisCount: 2,
|
||||
childAspectRatio: 3 / 4,
|
||||
childAspectRatio: 6 / 7, // was 3/4, less data displayed now
|
||||
),
|
||||
itemBuilder: (_, i) => OrdinalCard(
|
||||
walletId: walletId,
|
||||
|
@ -41,7 +41,7 @@ class OrdinalsList extends StatelessWidget {
|
|||
),
|
||||
);
|
||||
} else {
|
||||
return Text('No data found.');
|
||||
return const Text('No data found.');
|
||||
}
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue