fix: změnit ID kanálu pro android

This commit is contained in:
Matyáš Caras 2022-06-15 20:12:33 +02:00
parent c95518c557
commit d57b30b0bf
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
# 1.3.1
- Odstranit zbytečné podmínky
- Přidat oznámení o optimalizaci baterie
- Změnit ID kanálu pro android oznámení
# 1.3.0
- Odstranit connectivity_plus
- Přidat možnost oznámení s info o obědu v daný čas

View File

@ -68,7 +68,7 @@ void oznamitPredem(SharedPreferences prefs, tz.Location l) async {
var jidlo = jidla.jidla.singleWhere((element) => element.objednano);
var kdy = DateTime.parse(prefs.getString("oznameni_cas")!);
const AndroidNotificationDetails androidSpec =
AndroidNotificationDetails('opencanteen', 'predobjedem',
AndroidNotificationDetails('predobedem', 'Oznámení před obědem',
channelDescription: 'Oznámení o dnešním jídle',
importance: Importance.max,
priority: Priority.high,