Skip to content

Commit

Permalink
Merge pull request #61 from IamMuuo/dev
Browse files Browse the repository at this point in the history
fix: minor final release tweaks
  • Loading branch information
IamMuuo authored Feb 12, 2024
2 parents 4ffa634 + 843934e commit 15375d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/controllers/settings_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@ class SettingsController extends GetxController {
// Download the new patch if it's available.
await shorebirdCodePush.downloadUpdateIfAvailable();
}
hasUpdates.value = false;
}
}
3 changes: 3 additions & 0 deletions lib/pages/notifications_story_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class NotificationsStoryPage extends StatelessWidget {
element["upload_url"],
caption: element["contents"] ?? "By academia",
controller: storyController,
duration: const Duration(seconds: 30),
));
break;

Expand All @@ -41,6 +42,7 @@ class NotificationsStoryPage extends StatelessWidget {
caption: element["contents"] ?? "Powered by academia",
url: element["upload_url"],
controller: storyController,
duration: const Duration(seconds: 10),
));
break;

Expand All @@ -49,6 +51,7 @@ class NotificationsStoryPage extends StatelessWidget {
StoryItem.text(
title: element["contents"] ?? "Notifications powered by academia",
backgroundColor: getRandomColor(),
duration: const Duration(seconds: 10),
),
);
}
Expand Down

0 comments on commit 15375d7

Please sign in to comment.