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"
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user