mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
Improve ui
This commit is contained in:
@@ -338,7 +338,7 @@
|
|||||||
"Number of images preloaded": "预加载图片数量",
|
"Number of images preloaded": "预加载图片数量",
|
||||||
"Ascending": "升序",
|
"Ascending": "升序",
|
||||||
"Descending": "降序",
|
"Descending": "降序",
|
||||||
"Last Reading: Page @page": "上次阅读: 第 @page 页",
|
"Last Reading": "上次阅读",
|
||||||
"Replies": "回复",
|
"Replies": "回复",
|
||||||
"Follow Updates": "追更",
|
"Follow Updates": "追更",
|
||||||
"Not Configured": "未配置",
|
"Not Configured": "未配置",
|
||||||
@@ -358,7 +358,6 @@
|
|||||||
"Once the operation is successful, app will automatically sync data with the server.": "操作成功后, APP将自动与服务器同步数据",
|
"Once the operation is successful, app will automatically sync data with the server.": "操作成功后, APP将自动与服务器同步数据",
|
||||||
"Cache cleared": "缓存已清除",
|
"Cache cleared": "缓存已清除",
|
||||||
"Disabled": "已禁用",
|
"Disabled": "已禁用",
|
||||||
"Last Reading: @epName Page @page": "上次阅读: @epName 第 @page 页",
|
|
||||||
"WebDAV Auto Sync": "WebDAV 自动同步",
|
"WebDAV Auto Sync": "WebDAV 自动同步",
|
||||||
"Mark all as read": "全部标记为已读",
|
"Mark all as read": "全部标记为已读",
|
||||||
"Do you want to mark all as read?" : "您要全部标记为已读吗?",
|
"Do you want to mark all as read?" : "您要全部标记为已读吗?",
|
||||||
@@ -704,7 +703,7 @@
|
|||||||
"Number of images preloaded": "預加載圖片數量",
|
"Number of images preloaded": "預加載圖片數量",
|
||||||
"Ascending": "升序",
|
"Ascending": "升序",
|
||||||
"Descending": "降序",
|
"Descending": "降序",
|
||||||
"Last Reading: Page @page": "上次閱讀: 第 @page 頁",
|
"Last Reading": "上次閱讀",
|
||||||
"Replies": "回覆",
|
"Replies": "回覆",
|
||||||
"Follow Updates": "追更",
|
"Follow Updates": "追更",
|
||||||
"Not Configured": "未配置",
|
"Not Configured": "未配置",
|
||||||
@@ -724,7 +723,6 @@
|
|||||||
"Once the operation is successful, app will automatically sync data with the server.": "操作成功後, APP將自動與服務器同步數據",
|
"Once the operation is successful, app will automatically sync data with the server.": "操作成功後, APP將自動與服務器同步數據",
|
||||||
"Cache cleared": "緩存已清除",
|
"Cache cleared": "緩存已清除",
|
||||||
"Disabled": "已禁用",
|
"Disabled": "已禁用",
|
||||||
"Last Reading: @epName Page @page": "上次閱讀: @epName 第 @page 頁",
|
|
||||||
"WebDAV Auto Sync": "WebDAV 自動同步",
|
"WebDAV Auto Sync": "WebDAV 自動同步",
|
||||||
"Mark all as read": "全部標記為已讀",
|
"Mark all as read": "全部標記為已讀",
|
||||||
"Do you want to mark all as read?" : "您要全部標記為已讀嗎?",
|
"Do you want to mark all as read?" : "您要全部標記為已讀嗎?",
|
||||||
|
@@ -372,7 +372,7 @@ class _ComicPageState extends LoadingState<ComicPage, ComicDetails>
|
|||||||
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 6),
|
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 6),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: context.colorScheme.surfaceContainerLow,
|
color: context.colorScheme.surfaceContainerLow,
|
||||||
borderRadius: BorderRadius.circular(16),
|
borderRadius: BorderRadius.circular(24),
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
@@ -395,14 +395,9 @@ class _ComicPageState extends LoadingState<ComicPage, ComicDetails>
|
|||||||
.getGroupByIndex(group - 1)
|
.getGroupByIndex(group - 1)
|
||||||
.values
|
.values
|
||||||
.elementAt(ep - 1);
|
.elementAt(ep - 1);
|
||||||
text = "Last Reading: @epName Page @page".tlParams({
|
text = "${"Last Reading".tl}: $epName P$page";
|
||||||
'epName': epName,
|
|
||||||
'page': page,
|
|
||||||
});
|
|
||||||
} else {
|
} else {
|
||||||
text = "Last Reading: Page @page".tlParams({
|
text = "${"Last Reading".tl}: P$page";
|
||||||
'page': page,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
return Text(text);
|
return Text(text);
|
||||||
},
|
},
|
||||||
|
@@ -921,10 +921,21 @@ class _SwipeChangeChapterProgressState
|
|||||||
return CustomPaint(
|
return CustomPaint(
|
||||||
painter: _ProgressPainter(
|
painter: _ProgressPainter(
|
||||||
value: value,
|
value: value,
|
||||||
backgroundColor: context.colorScheme.surfaceContainer,
|
backgroundColor: context.colorScheme.surfaceContainerLow,
|
||||||
color: context.colorScheme.primaryContainer,
|
color: context.colorScheme.surfaceContainerHighest,
|
||||||
),
|
),
|
||||||
child: Text(msg).paddingVertical(4).paddingHorizontal(16),
|
child: Row(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
children: [
|
||||||
|
Icon(
|
||||||
|
widget.isPrev ? Icons.arrow_downward : Icons.arrow_upward,
|
||||||
|
color: context.colorScheme.onSurface,
|
||||||
|
size: 16,
|
||||||
|
),
|
||||||
|
const SizedBox(width: 4),
|
||||||
|
Text(msg),
|
||||||
|
],
|
||||||
|
).paddingVertical(6).paddingHorizontal(16),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user