|
@@ -32,10 +32,13 @@ class ShortcutTile extends StatelessWidget {
|
|
|
final placeholder = !assigned;
|
|
final placeholder = !assigned;
|
|
|
final iconSize = (size * 0.27).clamp(30.0, 46.0);
|
|
final iconSize = (size * 0.27).clamp(30.0, 46.0);
|
|
|
final semantics = StringBuffer(title);
|
|
final semantics = StringBuffer(title);
|
|
|
- if (subtitle != null && subtitle!.isNotEmpty)
|
|
|
|
|
|
|
+ if (subtitle != null && subtitle!.isNotEmpty) {
|
|
|
semantics.write(', $subtitle');
|
|
semantics.write(', $subtitle');
|
|
|
|
|
+ }
|
|
|
semantics.write('. Tap to open.');
|
|
semantics.write('. Tap to open.');
|
|
|
- if (onLongPress != null) semantics.write(' Long press to change.');
|
|
|
|
|
|
|
+ if (onLongPress != null) {
|
|
|
|
|
+ semantics.write(' Long press to change.');
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
return Pressable(
|
|
return Pressable(
|
|
|
onTap: onTap,
|
|
onTap: onTap,
|