Commit 14bbf434 authored by wonko's avatar wonko

nos icon as default icon

parent b756ccba
......@@ -48,11 +48,11 @@ class Fachschaften {
static const int _intensity = 100;
static final _instance = Fachschaften._mkInstance([
FachschaftsItem(const ['default'], null, Colors.blue[_intensity]),
FachschaftsItem(const ['inf', 'informatik'], null, Colors.pink[_intensity]),
FachschaftsItem(const ['default'], const _IconData(0xfffd), Colors.blue[_intensity]),
FachschaftsItem(const ['inf', 'informatik'], const _IconData(0xe904), Colors.pink[_intensity]),
FachschaftsItem(
const ['biochemie'], const _IconData(900), Colors.lightGreen[_intensity]),
FachschaftsItem(const ['biologie', 'biowissenschaften', 'biophysik'],
const ['biochemie'], const _IconData(0xe900), Colors.lightGreen[_intensity]),
FachschaftsItem(const ['biologie', 'biowissenschaften', 'biophysik','biochemie'],
const _IconData(0xe901), Colors.green[_intensity]),
FachschaftsItem(const ['chemie'], const _IconData(0xe902), Colors.amber[_intensity]),
FachschaftsItem(const ['geo', 'geowissenschaften'], const _IconData(0xe903),
......
......@@ -191,7 +191,6 @@ class _LectureCardState extends State<LectureCard> {
final TextStyle nameStyle =
theme.textTheme.subtitle.copyWith(color: descriptionStyle.color);
print("Building Lecturecard $l");
if (!l.isEmpy()) {
IconData ico = Fachschaften().getIcon(l.fs);
return SizedBox(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment