fixed jira tm-172 and pagination dialog design changed
This commit is contained in:
@@ -153,6 +153,7 @@ class _DesktopNotificationPageState extends State<DesktopNotificationPage>
|
||||
builder:
|
||||
(context) => PageSelectionDialog(
|
||||
totalPages: totalPages,
|
||||
currentPage: currentPage,
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
@@ -68,6 +68,7 @@ class _TabletNotificationPageState extends State<TabletNotificationPage>
|
||||
appBar: tabletAppBar(
|
||||
title: NotificationStrings.notificationTitle,
|
||||
key: key,
|
||||
context: context,
|
||||
),
|
||||
drawer: const TabletNavigationWidget(currentIndex: 3),
|
||||
body: Center(
|
||||
@@ -151,8 +152,10 @@ class _TabletNotificationPageState extends State<TabletNotificationPage>
|
||||
final selectedPage = await showDialog<int>(
|
||||
context: context,
|
||||
builder:
|
||||
(context) =>
|
||||
PageSelectionDialog(totalPages: totalPages),
|
||||
(context) => PageSelectionDialog(
|
||||
totalPages: totalPages,
|
||||
currentPage: currentPage,
|
||||
),
|
||||
);
|
||||
|
||||
if (selectedPage != null) {
|
||||
|
||||
@@ -7,7 +7,7 @@ class NotificationStrings {
|
||||
static const String important = 'Important';
|
||||
static const String markAllAsReadButton = 'Mark all as read';
|
||||
static const String page = 'page';
|
||||
static const String selectPage = 'selectPage';
|
||||
static const String selectPage = 'Select Page';
|
||||
static const String currentPage = 'currentPage';
|
||||
static const String of = 'of';
|
||||
static const String totalPages = 'totalPages';
|
||||
|
||||
Reference in New Issue
Block a user