mirror of
https://github.com/seven332/EhViewer
synced 2026-11-27 17:48:06 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f15d82f16 | ||
|
|
73e91d440d | ||
|
|
40bc23a144 | ||
|
|
e75fe4667e |
No files matched your search
+1
-1
@@ -13,7 +13,7 @@ android {
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 28
|
||||
versionCode 102
|
||||
versionName "1.7.1"
|
||||
versionName "1.7.1-order"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
resConfigs "zh", "zh-rCN", "zh-rHK", "zh-rTW",
|
||||
"es", "ja", "ko", "fr", "de", "th"
|
||||
|
||||
@@ -1086,8 +1086,8 @@ public final class GalleryListScene extends BaseScene
|
||||
boolean favourite = gi.favoriteSlot == -2;
|
||||
|
||||
CharSequence[] items = new CharSequence[] {
|
||||
context.getString(R.string.read),
|
||||
context.getString(download ? R.string.download : R.string.stop_downloading),
|
||||
context.getString(R.string.read),
|
||||
context.getString(favourite ? R.string.add_to_favourites : R.string.remove_from_favourites),
|
||||
};
|
||||
|
||||
@@ -1095,13 +1095,13 @@ public final class GalleryListScene extends BaseScene
|
||||
.setTitle(EhUtils.getSuitableTitle(gi))
|
||||
.setItems(items, (dialog, which) -> {
|
||||
switch (which) {
|
||||
case 0: // Read
|
||||
case 1: // Read
|
||||
Intent intent = new Intent(activity, GalleryActivity.class);
|
||||
intent.setAction(GalleryActivity.ACTION_EH);
|
||||
intent.putExtra(GalleryActivity.KEY_GALLERY_INFO, gi);
|
||||
startActivity(intent);
|
||||
break;
|
||||
case 1: // Download
|
||||
case 0: // Download
|
||||
if (download) {
|
||||
CommonOperations.startDownload(activity, gi, false);
|
||||
} else {
|
||||
|
||||
@@ -33,6 +33,11 @@
|
||||
android:title="@string/whats_hot"
|
||||
android:icon="@drawable/v_fire_black_x24"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/nav_downloads"
|
||||
android:title="@string/downloads"
|
||||
android:icon="@drawable/v_download_black_x24"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/nav_favourite"
|
||||
android:title="@string/favourite"
|
||||
@@ -43,11 +48,6 @@
|
||||
android:title="@string/history"
|
||||
android:icon="@drawable/v_history_black_x24"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/nav_downloads"
|
||||
android:title="@string/downloads"
|
||||
android:icon="@drawable/v_download_black_x24"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/nav_settings"
|
||||
android:title="@string/settings"
|
||||
|
||||
Reference in new issue
Block a user