Drop unused field in GalleryInfo

This commit is contained in:
tarsin committed 2023-06-20 19:43:42 +08:00
1 parent 5fd890cf9b
commit c3835b8a65
3 files changed
-18

No files matched your search

@@ -16,9 +16,6 @@ interface AbstractGalleryInfo {
var pages: Int
var thumbWidth: Int
var thumbHeight: Int
var spanSize: Int
var spanIndex: Int
var spanGroupIndex: Int
var simpleLanguage: String?
var favoriteSlot: Int
var favoriteName: String?
@@ -68,15 +68,6 @@ open class BaseGalleryInfo(
@Ignore
override var thumbHeight: Int = 0,
@Ignore
override var spanSize: Int = 0,
@Ignore
override var spanIndex: Int = 0,
@Ignore
override var spanGroupIndex: Int = 0,
@ColumnInfo(name = "SIMPLE_LANGUAGE")
override var simpleLanguage: String? = null,
-6
View File
@@ -31,9 +31,6 @@ pub struct BaseGalleryInfo {
pages: i32,
thumbWidth: i32,
thumbHeight: i32,
spanSize: i32,
spanIndex: i32,
spanGroupIndex: i32,
simpleLanguage: String,
favoriteSlot: i32,
favoriteName: Option<String>,
@@ -149,9 +146,6 @@ pub fn parseGalleryInfo(env: JNIEnv, _class: JClass, input: JString) -> jobject
pages: 0,
thumbWidth: 0,
thumbHeight: 0,
spanSize: 0,
spanIndex: 0,
spanGroupIndex: 0,
simpleLanguage: "".to_string(),
favoriteSlot: 0,
favoriteName: None,