TF-1899 Hide add recipient button in forward when no network

(cherry picked from commit e60297d84c17be06a2c2e7be3b034c5d6415cca3)
This commit is contained in:
dab246
2023-06-07 15:48:18 +07:00
committed by Dat Vu
parent c1ccf43763
commit cada3c2607
5 changed files with 7 additions and 12 deletions
@@ -18,7 +18,6 @@ class MaterialTextIconButton extends StatelessWidget {
final Color? iconColor;
final Color? backgroundColor;
final TextStyle? labelStyle;
final EdgeInsets? padding;
const MaterialTextIconButton({
Key? key,
@@ -31,7 +30,6 @@ class MaterialTextIconButton extends StatelessWidget {
this.labelColor,
this.iconColor,
this.backgroundColor,
this.padding,
this.labelStyle,
this.minimumSize
}) : super(key: key);
@@ -59,9 +57,8 @@ class MaterialTextIconButton extends StatelessWidget {
foregroundColor: labelColor ?? AppColor.colorTextButton,
backgroundColor: backgroundColor ?? AppColor.colorCreateNewIdentityButton,
elevation: 0,
padding: padding,
minimumSize: minimumSize,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(borderRadius)),
minimumSize: minimumSize
)
);
}