Fixed some visuals
This commit is contained in:
@ -40,13 +40,18 @@ class Overhang extends StatelessWidget {
|
||||
const ListItemNavigator(icon: Icons.calendar_month, text: "Schulferien", target: Holidays()),
|
||||
ListTile(
|
||||
leading: const Icon(Icons.share_outlined),
|
||||
title: const Text("Teile die App mit deiner Klasse"),
|
||||
title: const Text("Teile die App"),
|
||||
onTap: () {
|
||||
Share.share( // TODO ipad needs position argument
|
||||
Share.share(
|
||||
sharePositionOrigin: Rect.fromCenter(
|
||||
center: const Offset(0, 0),
|
||||
width: 0,
|
||||
height: 0,
|
||||
),
|
||||
subject: "App Teilen",
|
||||
"Hol dir die inoffizielle App für's Marianum:"
|
||||
"Hol dir die für das Marianum maßgeschneiderte App:"
|
||||
"\n\nAndroid: https://play.google.com/store/apps/details?id=eu.mhsl.marianum.mobile.client "
|
||||
"\nApple: https://apps.apple.com/us/app/marianum-fulda/id6458789560 "
|
||||
"\niOS: https://apps.apple.com/us/app/marianum-fulda/id6458789560 "
|
||||
"\n\nViel Spaß!"
|
||||
);
|
||||
},
|
||||
@ -67,7 +72,7 @@ class Overhang extends StatelessWidget {
|
||||
final requestMap = {
|
||||
"format": "json",
|
||||
"pushTokenHash": pushTokenHash.toString(),
|
||||
"devicePublicKey": devicePublicKey.toString(),
|
||||
"devicePublicKey": devicePublicKey.replaceAll("\n", "").replaceAll("-----END RSA PUBLIC KEY-----", "").replaceAll("-----BEGIN RSA PUBLIC KEY-----", "").toString(),
|
||||
"proxyServer": "https://push-notifications.nextcloud.com/devices"
|
||||
};
|
||||
|
||||
|
@ -105,27 +105,36 @@ class _ChatTextfieldState extends State<ChatTextfield> {
|
||||
);
|
||||
});
|
||||
},
|
||||
child: Container(
|
||||
height: 30,
|
||||
width: 30,
|
||||
decoration: BoxDecoration(
|
||||
color: Theme.of(context).primaryColor,
|
||||
child: Material(
|
||||
elevation: 5,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(30),
|
||||
),
|
||||
child: const Icon(Icons.add, color: Colors.white, size: 20, ),
|
||||
),
|
||||
child: Container(
|
||||
height: 30,
|
||||
width: 30,
|
||||
decoration: BoxDecoration(
|
||||
color: Theme.of(context).primaryColor,
|
||||
borderRadius: BorderRadius.circular(30),
|
||||
),
|
||||
child: const Icon(Icons.add, color: Colors.white, size: 20, ),
|
||||
),
|
||||
)
|
||||
),
|
||||
const SizedBox(width: 15),
|
||||
Expanded(
|
||||
child: TextField(
|
||||
style: const TextStyle(
|
||||
color: Colors.white,
|
||||
),
|
||||
controller: _textBoxController,
|
||||
readOnly: sending,
|
||||
maxLines: 7,
|
||||
minLines: 1,
|
||||
decoration: InputDecoration(
|
||||
hintText: "Nachricht schreiben...",
|
||||
hintStyle: TextStyle(color: Theme.of(context).colorScheme.onSecondary),
|
||||
border: InputBorder.none
|
||||
hintText: "Nachricht schreiben...",
|
||||
hintStyle: TextStyle(color: Theme.of(context).colorScheme.onSecondary),
|
||||
border: InputBorder.none,
|
||||
),
|
||||
),
|
||||
),
|
||||
@ -146,7 +155,7 @@ class _ChatTextfieldState extends State<ChatTextfield> {
|
||||
});
|
||||
},
|
||||
backgroundColor: Theme.of(context).primaryColor,
|
||||
elevation: 0,
|
||||
elevation: 5,
|
||||
child: const Icon(Icons.send, color: Colors.white, size: 18),
|
||||
),
|
||||
],
|
||||
|
Reference in New Issue
Block a user