diff --git a/android/app/src/main/res/drawable/appwidget_preview.png b/android/app/src/main/res/drawable/appwidget_preview.png index a34b0def..77497fd4 100644 Binary files a/android/app/src/main/res/drawable/appwidget_preview.png and b/android/app/src/main/res/drawable/appwidget_preview.png differ diff --git a/lib/homeComponent/view/contactCard/contact_card_loading_view.dart b/lib/homeComponent/view/contactCard/contact_card_loading_view.dart index ba81f7c6..85721965 100644 --- a/lib/homeComponent/view/contactCard/contact_card_loading_view.dart +++ b/lib/homeComponent/view/contactCard/contact_card_loading_view.dart @@ -23,7 +23,7 @@ class ContactCardLoadingView extends StatelessWidget { children: [ ShimmerView( child: PlaceholderText( - text: "max.mustermann@tum.de", + text: "StudentCard".toUpperCase(), style: Theme.of(context).textTheme.bodySmall?.copyWith( color: Colors.grey, fontWeight: FontWeight.w700, @@ -36,14 +36,11 @@ class ContactCardLoadingView extends StatelessWidget { style: Theme.of(context).textTheme.headlineSmall, ), ), - const ShimmerView( - child: PlaceholderText(text: "go43hum"), - ), const ShimmerView( child: PlaceholderText(text: "max.mustermann@tum.de"), ), const ShimmerView( - child: PlaceholderText(text: "max.mustermann@tum.de"), + child: PlaceholderText(text: "go42tum"), ), ], ), diff --git a/lib/homeComponent/view/contactCard/contact_card_view.dart b/lib/homeComponent/view/contactCard/contact_card_view.dart index 9f1d14b8..b703cd9b 100644 --- a/lib/homeComponent/view/contactCard/contact_card_view.dart +++ b/lib/homeComponent/view/contactCard/contact_card_view.dart @@ -89,9 +89,10 @@ class _ContactCardViewState extends ConsumerState { data.email, maxLines: 1, ), - Text( - profile.tumID ?? "go42tum", - ), + if (profile.tumID != null) + Text( + profile.tumID!, + ), ], ), ), diff --git a/lib/main.dart b/lib/main.dart index 2e209421..c269146f 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -170,7 +170,6 @@ class _CampusAppState extends ConsumerState void firebaseCallback() { if (!kDebugMode) { final remoteConfig = FirebaseRemoteConfig.instance; - remoteConfig.fetchAndActivate(); remoteConfig.fetchAndActivate().then((value) { if (value) { _handleFirebaseValues(