Tweak HistoryScene with modern kotlin

This commit is contained in:
tarsin committed 2022-11-06 23:19:15 +08:00
1 parent beec02a69b
commit 75c2a3b0ec
2 files changed
+77 -103

No files matched your search

@@ -20,6 +20,7 @@ import android.content.Context;
import android.graphics.Color;
import android.text.TextUtils;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.hippo.ehviewer.EhApplication;
@@ -94,6 +95,7 @@ public class EhUtils {
return CATEGORY_VALUES[i];
}
@NonNull
public static String getCategory(int type) {
int i;
for (i = 0; i < CATEGORY_VALUES.length - 1; i++) {