mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 10:26:19 +02:00
opt android ab ui (#8374)
* multiline error banner * mobile remove ab permission icons due to hard to press * center ab dropdown button text Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
parent
db108d964b
commit
8d6de9ca59
2 changed files with 30 additions and 22 deletions
|
@ -2747,12 +2747,10 @@ Widget buildErrorBanner(BuildContext context,
|
|||
required RxString err,
|
||||
required Function? retry,
|
||||
required Function close}) {
|
||||
const double height = 25;
|
||||
return Obx(() => Offstage(
|
||||
offstage: !(!loading.value && err.value.isNotEmpty),
|
||||
child: Center(
|
||||
child: Container(
|
||||
height: height,
|
||||
color: MyTheme.color(context).errorBannerBg,
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
|
@ -2771,7 +2769,6 @@ Widget buildErrorBanner(BuildContext context,
|
|||
message: translate(err.value),
|
||||
child: Text(
|
||||
translate(err.value),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
)).marginSymmetric(vertical: 2),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue