Skip to content

Commit 94996be

Browse files
author
WooSignal
committed
Changes and tweaks
1 parent b5051f2 commit 94996be

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

LabelStoreMax/android/gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ org.gradle.jvmargs=-Xmx1536M
22

33
android.useAndroidX=true
44
android.enableJetifier=true
5+
android.enableR8=true

LabelStoreMax/lib/labelconfig.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222

2323
const app_name = "MyApp";
2424

25-
const app_key =
26-
"My App Key";
25+
const app_key = "My App Key";
2726

2827
const app_logo_url = "https://woosignal.com/images/120x120_woosignal.png";
2928

@@ -32,8 +31,7 @@ const app_privacy_url = "https://yourdomain.com/privacy";
3231

3332
/*<! ------ STRIPE (OPTIONAL) ------!>*/
3433

35-
const app_stripe_account =
36-
"Your Stripe Account"; // Your StripeAccount key from WooSignal
34+
const app_stripe_account = "Your Stripe Account"; // Your StripeAccount key from WooSignal
3735

3836
const app_stripe_live_mode = false; // SET true for live payments
3937

LabelStoreMax/lib/widgets/woosignal_ui.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Widget wsCardProductItem(BuildContext context, {int index, Product product}) {
180180
padding: EdgeInsets.all(10),
181181
margin: EdgeInsets.all(5),
182182
decoration: BoxDecoration(
183-
color: Colors.white, borderRadius: BorderRadius.circular(5)),
183+
color: Colors.white, borderRadius: BorderRadius.circular(5),),
184184
child: Column(
185185
mainAxisAlignment: MainAxisAlignment.spaceAround,
186186
children: <Widget>[
@@ -207,6 +207,8 @@ Widget wsCardProductItem(BuildContext context, {int index, Product product}) {
207207
child: Text(
208208
product.name,
209209
style: Theme.of(context).textTheme.body1,
210+
overflow: TextOverflow.clip,
211+
maxLines: 1,
210212
),
211213
flex: 1,
212214
)

0 commit comments

Comments
 (0)