Mobile. Share Screen. Rename widget to more descriptive name

This commit is contained in:
grummbeer 2023-03-07 10:44:16 +01:00
parent 04c0d73afc
commit 1227d66871

View File

@ -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)
], ],
)); ));
} }