mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
Add a refresh button to network favorites page.
This commit is contained in:
@@ -367,7 +367,9 @@
|
|||||||
"Home Page": "主页",
|
"Home Page": "主页",
|
||||||
"Favorites Page": "收藏页面",
|
"Favorites Page": "收藏页面",
|
||||||
"Explore Page": "探索页面",
|
"Explore Page": "探索页面",
|
||||||
"Categories Page": "分类页面"
|
"Categories Page": "分类页面",
|
||||||
|
"Convert to local": "转换为本地",
|
||||||
|
"Refresh": "刷新"
|
||||||
},
|
},
|
||||||
"zh_TW": {
|
"zh_TW": {
|
||||||
"Home": "首頁",
|
"Home": "首頁",
|
||||||
@@ -737,6 +739,8 @@
|
|||||||
"Home Page": "主頁",
|
"Home Page": "主頁",
|
||||||
"Favorites Page": "收藏頁面",
|
"Favorites Page": "收藏頁面",
|
||||||
"Explore Page": "探索頁面",
|
"Explore Page": "探索頁面",
|
||||||
"Categories Page": "分類頁面"
|
"Categories Page": "分類頁面",
|
||||||
|
"Convert to local": "轉換為本地",
|
||||||
|
"Refresh": "刷新"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -110,6 +110,15 @@ class _NormalFavoritePageState extends State<_NormalFavoritePage> {
|
|||||||
child: Text(widget.data.title),
|
child: Text(widget.data.title),
|
||||||
),
|
),
|
||||||
actions: [
|
actions: [
|
||||||
|
Tooltip(
|
||||||
|
message: "Refresh".tl,
|
||||||
|
child: IconButton(
|
||||||
|
icon: const Icon(Icons.refresh),
|
||||||
|
onPressed: () {
|
||||||
|
comicListKey.currentState!.refresh();
|
||||||
|
},
|
||||||
|
),
|
||||||
|
),
|
||||||
MenuButton(entries: [
|
MenuButton(entries: [
|
||||||
MenuEntry(
|
MenuEntry(
|
||||||
icon: Icons.sync,
|
icon: Icons.sync,
|
||||||
|
Reference in New Issue
Block a user