mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-10 19:58:56 +03:30
fix update info
This commit is contained in:
@@ -317,6 +317,7 @@ class SelectionItem extends StatelessWidget {
|
||||
final String? secondLine;
|
||||
final Color? firstLineColor;
|
||||
final Color? secondLineColor;
|
||||
final Color? backgroundColor;
|
||||
final VoidCallback? onTap;
|
||||
|
||||
SelectionItem({
|
||||
@@ -325,6 +326,7 @@ class SelectionItem extends StatelessWidget {
|
||||
this.onTap,
|
||||
this.firstLineColor,
|
||||
this.secondLineColor,
|
||||
this.backgroundColor
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -336,7 +338,7 @@ class SelectionItem extends StatelessWidget {
|
||||
margin: EdgeInsets.symmetric(vertical: 10),
|
||||
padding: EdgeInsets.symmetric(vertical: 5),
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.transparent,
|
||||
color: backgroundColor,
|
||||
borderRadius: BorderRadius.all(
|
||||
Radius.circular(3),
|
||||
),
|
||||
|
||||
@@ -189,7 +189,7 @@ class Auth with ChangeNotifier {
|
||||
|
||||
Future<void> setUserData(id, name, email) async {
|
||||
var response = await http.post(
|
||||
Uri.parse('https://cssd-doc.com/api/UpdateInfo'),
|
||||
Uri.parse('https://www.cssd-doc.com/api/UpdateInfo'),
|
||||
headers: {
|
||||
'Authorization': 'Bearer ' + token!,
|
||||
HttpHeaders.contentTypeHeader: 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user