mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-09 08:51:28 +03:00
Mobile. Share Screen. Rename widget to more descriptive name
This commit is contained in:
@@ -214,7 +214,7 @@ class ServerInfo extends StatelessWidget {
|
|||||||
final serverModel = Provider.of<ServerModel>(context);
|
final serverModel = Provider.of<ServerModel>(context);
|
||||||
|
|
||||||
// @todo Theming
|
// @todo Theming
|
||||||
Widget Notification() {
|
Widget ConnectionStateNotification() {
|
||||||
const Color colorPositive = Colors.greenAccent;
|
const Color colorPositive = Colors.greenAccent;
|
||||||
const Color colorNegative = Colors.redAccent;
|
const Color colorNegative = Colors.redAccent;
|
||||||
const double paddingRight = 15;
|
const double paddingRight = 15;
|
||||||
@@ -272,7 +272,7 @@ class ServerInfo extends StatelessWidget {
|
|||||||
onPressed: () => bind.mainUpdateTemporaryPassword())),
|
onPressed: () => bind.mainUpdateTemporaryPassword())),
|
||||||
onSaved: (String? value) {},
|
onSaved: (String? value) {},
|
||||||
),
|
),
|
||||||
Notification().marginOnly(top: 20)
|
ConnectionStateNotification().marginOnly(top: 20)
|
||||||
],
|
],
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user