🍱 Update app icon

This commit is contained in:
LittleSheep 2024-11-09 00:46:32 +08:00
parent 2021f7beb9
commit f4237fb221
115 changed files with 727 additions and 233 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 717 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
<monochrome android:drawable="@mipmap/ic_launcher_monochrome"/>
</adaptive-icon>

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
</adaptive-icon>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 544 B

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 442 B

After

Width:  |  Height:  |  Size: 1017 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 B

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#FFFFFFFF</color>
</resources>

BIN
assets/icon/icon-dark.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

BIN
assets/icon/icon-light-radius.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

BIN
assets/icon/icon-light.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

BIN
assets/icon/icon.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

7
build.yaml Normal file
View File

@ -0,0 +1,7 @@
targets:
$default:
builders:
json_serializable:
options:
explicit_to_json: true
field_rename: snake

View File

@ -540,7 +540,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = AppIcon;
CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++"; CLANG_CXX_LIBRARY = "libc++";
@ -597,7 +597,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = AppIcon;
CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++"; CLANG_CXX_LIBRARY = "libc++";

View File

@ -1,122 +1,536 @@
{ {
"images" : [ "images": [
{ {
"size" : "20x20", "filename": "Icon-App-20x20@2x.png",
"idiom" : "iphone", "idiom": "universal",
"filename" : "Icon-App-20x20@2x.png", "scale": "2x",
"scale" : "2x" "size": "20x20",
"platform": "ios"
}, },
{ {
"size" : "20x20", "filename": "Icon-App-20x20@3x.png",
"idiom" : "iphone", "idiom": "universal",
"filename" : "Icon-App-20x20@3x.png", "scale": "3x",
"scale" : "3x" "size": "20x20",
"platform": "ios"
}, },
{ {
"size" : "29x29", "filename": "Icon-App-29x29@2x.png",
"idiom" : "iphone", "idiom": "universal",
"filename" : "Icon-App-29x29@1x.png", "scale": "2x",
"scale" : "1x" "size": "29x29",
"platform": "ios"
}, },
{ {
"size" : "29x29", "filename": "Icon-App-29x29@3x.png",
"idiom" : "iphone", "idiom": "universal",
"filename" : "Icon-App-29x29@2x.png", "scale": "3x",
"scale" : "2x" "size": "29x29",
"platform": "ios"
}, },
{ {
"size" : "29x29", "filename": "Icon-App-38x38@2x.png",
"idiom" : "iphone", "idiom": "universal",
"filename" : "Icon-App-29x29@3x.png", "scale": "2x",
"scale" : "3x" "size": "38x38",
"platform": "ios"
}, },
{ {
"size" : "40x40", "filename": "Icon-App-38x38@3x.png",
"idiom" : "iphone", "idiom": "universal",
"filename" : "Icon-App-40x40@2x.png", "scale": "3x",
"scale" : "2x" "size": "38x38",
"platform": "ios"
}, },
{ {
"size" : "40x40", "filename": "Icon-App-40x40@2x.png",
"idiom" : "iphone", "idiom": "universal",
"filename" : "Icon-App-40x40@3x.png", "scale": "2x",
"scale" : "3x" "size": "40x40",
"platform": "ios"
}, },
{ {
"size" : "60x60", "filename": "Icon-App-40x40@3x.png",
"idiom" : "iphone", "idiom": "universal",
"filename" : "Icon-App-60x60@2x.png", "scale": "3x",
"scale" : "2x" "size": "40x40",
"platform": "ios"
}, },
{ {
"size" : "60x60", "filename": "Icon-App-60x60@2x.png",
"idiom" : "iphone", "idiom": "universal",
"filename" : "Icon-App-60x60@3x.png", "scale": "2x",
"scale" : "3x" "size": "60x60",
"platform": "ios"
}, },
{ {
"size" : "20x20", "filename": "Icon-App-60x60@3x.png",
"idiom" : "ipad", "idiom": "universal",
"filename" : "Icon-App-20x20@1x.png", "scale": "3x",
"scale" : "1x" "size": "60x60",
"platform": "ios"
}, },
{ {
"size" : "20x20", "filename": "Icon-App-64x64@2x.png",
"idiom" : "ipad", "idiom": "universal",
"filename" : "Icon-App-20x20@2x.png", "scale": "2x",
"scale" : "2x" "size": "64x64",
"platform": "ios"
}, },
{ {
"size" : "29x29", "filename": "Icon-App-64x64@3x.png",
"idiom" : "ipad", "idiom": "universal",
"filename" : "Icon-App-29x29@1x.png", "scale": "3x",
"scale" : "1x" "size": "64x64",
"platform": "ios"
}, },
{ {
"size" : "29x29", "filename": "Icon-App-68x68@2x.png",
"idiom" : "ipad", "idiom": "universal",
"filename" : "Icon-App-29x29@2x.png", "scale": "2x",
"scale" : "2x" "size": "68x68",
"platform": "ios"
}, },
{ {
"size" : "40x40", "filename": "Icon-App-76x76@2x.png",
"idiom" : "ipad", "idiom": "universal",
"filename" : "Icon-App-40x40@1x.png", "scale": "2x",
"scale" : "1x" "size": "76x76",
"platform": "ios"
}, },
{ {
"size" : "40x40", "filename": "Icon-App-83.5x83.5@2x.png",
"idiom" : "ipad", "idiom": "universal",
"filename" : "Icon-App-40x40@2x.png", "scale": "2x",
"scale" : "2x" "size": "83.5x83.5",
"platform": "ios"
}, },
{ {
"size" : "76x76", "filename": "Icon-App-1024x1024@1x.png",
"idiom" : "ipad", "idiom": "universal",
"filename" : "Icon-App-76x76@1x.png", "scale": "1x",
"scale" : "1x" "size": "1024x1024",
"platform": "ios"
}, },
{ {
"size" : "76x76", "filename": "Icon-App-Dark-20x20@2x.png",
"idiom" : "ipad", "idiom": "universal",
"filename" : "Icon-App-76x76@2x.png", "scale": "2x",
"scale" : "2x" "size": "20x20",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
}, },
{ {
"size" : "83.5x83.5", "filename": "Icon-App-Dark-20x20@3x.png",
"idiom" : "ipad", "idiom": "universal",
"filename" : "Icon-App-83.5x83.5@2x.png", "scale": "3x",
"scale" : "2x" "size": "20x20",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
}, },
{ {
"size" : "1024x1024", "filename": "Icon-App-Dark-29x29@2x.png",
"idiom" : "ios-marketing", "idiom": "universal",
"filename" : "Icon-App-1024x1024@1x.png", "scale": "2x",
"scale" : "1x" "size": "29x29",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
},
{
"filename": "Icon-App-Dark-29x29@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "29x29",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
},
{
"filename": "Icon-App-Dark-38x38@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "38x38",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
},
{
"filename": "Icon-App-Dark-38x38@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "38x38",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
},
{
"filename": "Icon-App-Dark-40x40@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "40x40",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
},
{
"filename": "Icon-App-Dark-40x40@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "40x40",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
},
{
"filename": "Icon-App-Dark-60x60@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "60x60",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
},
{
"filename": "Icon-App-Dark-60x60@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "60x60",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
},
{
"filename": "Icon-App-Dark-64x64@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "64x64",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
},
{
"filename": "Icon-App-Dark-64x64@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "64x64",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
},
{
"filename": "Icon-App-Dark-68x68@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "68x68",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
},
{
"filename": "Icon-App-Dark-76x76@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "76x76",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
},
{
"filename": "Icon-App-Dark-83.5x83.5@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "83.5x83.5",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
},
{
"filename": "Icon-App-Dark-1024x1024@1x.png",
"idiom": "universal",
"scale": "1x",
"size": "1024x1024",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
},
{
"filename": "Icon-App-Tinted-20x20@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "20x20",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "tinted"
}
]
},
{
"filename": "Icon-App-Tinted-20x20@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "20x20",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "tinted"
}
]
},
{
"filename": "Icon-App-Tinted-29x29@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "29x29",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "tinted"
}
]
},
{
"filename": "Icon-App-Tinted-29x29@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "29x29",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "tinted"
}
]
},
{
"filename": "Icon-App-Tinted-38x38@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "38x38",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "tinted"
}
]
},
{
"filename": "Icon-App-Tinted-38x38@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "38x38",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "tinted"
}
]
},
{
"filename": "Icon-App-Tinted-40x40@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "40x40",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "tinted"
}
]
},
{
"filename": "Icon-App-Tinted-40x40@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "40x40",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "tinted"
}
]
},
{
"filename": "Icon-App-Tinted-60x60@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "60x60",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "tinted"
}
]
},
{
"filename": "Icon-App-Tinted-60x60@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "60x60",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "tinted"
}
]
},
{
"filename": "Icon-App-Tinted-64x64@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "64x64",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "tinted"
}
]
},
{
"filename": "Icon-App-Tinted-64x64@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "64x64",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "tinted"
}
]
},
{
"filename": "Icon-App-Tinted-68x68@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "68x68",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "tinted"
}
]
},
{
"filename": "Icon-App-Tinted-76x76@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "76x76",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "tinted"
}
]
},
{
"filename": "Icon-App-Tinted-83.5x83.5@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "83.5x83.5",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "tinted"
}
]
},
{
"filename": "Icon-App-Tinted-1024x1024@1x.png",
"idiom": "universal",
"scale": "1x",
"size": "1024x1024",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "tinted"
}
]
} }
], ],
"info" : { "info": {
"version" : 1, "author": "icons_launcher",
"author" : "xcode" "version": 1
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 295 B

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 B

After

Width:  |  Height:  |  Size: 1008 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 450 B

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 B

After

Width:  |  Height:  |  Size: 611 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 462 B

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 704 B

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 B

After

Width:  |  Height:  |  Size: 922 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 B

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 862 B

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 862 B

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 762 B

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

@ -14,7 +14,7 @@ class SnPost with _$SnPost {
required dynamic body, required dynamic body,
required String language, required String language,
required String? alias, required String? alias,
required String aliasPrefix, required String? aliasPrefix,
required List<dynamic> tags, required List<dynamic> tags,
required List<dynamic> categories, required List<dynamic> categories,
required dynamic reactions, required dynamic reactions,

View File

@ -28,7 +28,7 @@ mixin _$SnPost {
dynamic get body => throw _privateConstructorUsedError; dynamic get body => throw _privateConstructorUsedError;
String get language => throw _privateConstructorUsedError; String get language => throw _privateConstructorUsedError;
String? get alias => throw _privateConstructorUsedError; String? get alias => throw _privateConstructorUsedError;
String get aliasPrefix => throw _privateConstructorUsedError; String? get aliasPrefix => throw _privateConstructorUsedError;
List<dynamic> get tags => throw _privateConstructorUsedError; List<dynamic> get tags => throw _privateConstructorUsedError;
List<dynamic> get categories => throw _privateConstructorUsedError; List<dynamic> get categories => throw _privateConstructorUsedError;
dynamic get reactions => throw _privateConstructorUsedError; dynamic get reactions => throw _privateConstructorUsedError;
@ -77,7 +77,7 @@ abstract class $SnPostCopyWith<$Res> {
dynamic body, dynamic body,
String language, String language,
String? alias, String? alias,
String aliasPrefix, String? aliasPrefix,
List<dynamic> tags, List<dynamic> tags,
List<dynamic> categories, List<dynamic> categories,
dynamic reactions, dynamic reactions,
@ -130,7 +130,7 @@ class _$SnPostCopyWithImpl<$Res, $Val extends SnPost>
Object? body = freezed, Object? body = freezed,
Object? language = null, Object? language = null,
Object? alias = freezed, Object? alias = freezed,
Object? aliasPrefix = null, Object? aliasPrefix = freezed,
Object? tags = null, Object? tags = null,
Object? categories = null, Object? categories = null,
Object? reactions = freezed, Object? reactions = freezed,
@ -189,10 +189,10 @@ class _$SnPostCopyWithImpl<$Res, $Val extends SnPost>
? _value.alias ? _value.alias
: alias // ignore: cast_nullable_to_non_nullable : alias // ignore: cast_nullable_to_non_nullable
as String?, as String?,
aliasPrefix: null == aliasPrefix aliasPrefix: freezed == aliasPrefix
? _value.aliasPrefix ? _value.aliasPrefix
: aliasPrefix // ignore: cast_nullable_to_non_nullable : aliasPrefix // ignore: cast_nullable_to_non_nullable
as String, as String?,
tags: null == tags tags: null == tags
? _value.tags ? _value.tags
: tags // ignore: cast_nullable_to_non_nullable : tags // ignore: cast_nullable_to_non_nullable
@ -329,7 +329,7 @@ abstract class _$$SnPostImplCopyWith<$Res> implements $SnPostCopyWith<$Res> {
dynamic body, dynamic body,
String language, String language,
String? alias, String? alias,
String aliasPrefix, String? aliasPrefix,
List<dynamic> tags, List<dynamic> tags,
List<dynamic> categories, List<dynamic> categories,
dynamic reactions, dynamic reactions,
@ -382,7 +382,7 @@ class __$$SnPostImplCopyWithImpl<$Res>
Object? body = freezed, Object? body = freezed,
Object? language = null, Object? language = null,
Object? alias = freezed, Object? alias = freezed,
Object? aliasPrefix = null, Object? aliasPrefix = freezed,
Object? tags = null, Object? tags = null,
Object? categories = null, Object? categories = null,
Object? reactions = freezed, Object? reactions = freezed,
@ -441,10 +441,10 @@ class __$$SnPostImplCopyWithImpl<$Res>
? _value.alias ? _value.alias
: alias // ignore: cast_nullable_to_non_nullable : alias // ignore: cast_nullable_to_non_nullable
as String?, as String?,
aliasPrefix: null == aliasPrefix aliasPrefix: freezed == aliasPrefix
? _value.aliasPrefix ? _value.aliasPrefix
: aliasPrefix // ignore: cast_nullable_to_non_nullable : aliasPrefix // ignore: cast_nullable_to_non_nullable
as String, as String?,
tags: null == tags tags: null == tags
? _value._tags ? _value._tags
: tags // ignore: cast_nullable_to_non_nullable : tags // ignore: cast_nullable_to_non_nullable
@ -605,7 +605,7 @@ class _$SnPostImpl implements _SnPost {
@override @override
final String? alias; final String? alias;
@override @override
final String aliasPrefix; final String? aliasPrefix;
final List<dynamic> _tags; final List<dynamic> _tags;
@override @override
List<dynamic> get tags { List<dynamic> get tags {
@ -795,7 +795,7 @@ abstract class _SnPost implements SnPost {
required final dynamic body, required final dynamic body,
required final String language, required final String language,
required final String? alias, required final String? alias,
required final String aliasPrefix, required final String? aliasPrefix,
required final List<dynamic> tags, required final List<dynamic> tags,
required final List<dynamic> categories, required final List<dynamic> categories,
required final dynamic reactions, required final dynamic reactions,
@ -840,7 +840,7 @@ abstract class _SnPost implements SnPost {
@override @override
String? get alias; String? get alias;
@override @override
String get aliasPrefix; String? get aliasPrefix;
@override @override
List<dynamic> get tags; List<dynamic> get tags;
@override @override

View File

@ -8,44 +8,44 @@ part of 'post.dart';
_$SnPostImpl _$$SnPostImplFromJson(Map<String, dynamic> json) => _$SnPostImpl( _$SnPostImpl _$$SnPostImplFromJson(Map<String, dynamic> json) => _$SnPostImpl(
id: (json['id'] as num).toInt(), id: (json['id'] as num).toInt(),
createdAt: DateTime.parse(json['createdAt'] as String), createdAt: DateTime.parse(json['created_at'] as String),
updatedAt: DateTime.parse(json['updatedAt'] as String), updatedAt: DateTime.parse(json['updated_at'] as String),
deletedAt: json['deletedAt'] == null deletedAt: json['deleted_at'] == null
? null ? null
: DateTime.parse(json['deletedAt'] as String), : DateTime.parse(json['deleted_at'] as String),
type: json['type'] as String, type: json['type'] as String,
body: json['body'], body: json['body'],
language: json['language'] as String, language: json['language'] as String,
alias: json['alias'] as String?, alias: json['alias'] as String?,
aliasPrefix: json['aliasPrefix'] as String, aliasPrefix: json['alias_prefix'] as String?,
tags: json['tags'] as List<dynamic>, tags: json['tags'] as List<dynamic>,
categories: json['categories'] as List<dynamic>, categories: json['categories'] as List<dynamic>,
reactions: json['reactions'], reactions: json['reactions'],
replies: json['replies'], replies: json['replies'],
replyId: json['replyId'], replyId: json['reply_id'],
repostId: json['repostId'], repostId: json['repost_id'],
replyTo: json['replyTo'], replyTo: json['reply_to'],
repostTo: json['repostTo'], repostTo: json['repost_to'],
visibleUsersList: json['visibleUsersList'], visibleUsersList: json['visible_users_list'],
invisibleUsersList: json['invisibleUsersList'], invisibleUsersList: json['invisible_users_list'],
visibility: (json['visibility'] as num).toInt(), visibility: (json['visibility'] as num).toInt(),
editedAt: json['editedAt'] == null editedAt: json['edited_at'] == null
? null ? null
: DateTime.parse(json['editedAt'] as String), : DateTime.parse(json['edited_at'] as String),
pinnedAt: json['pinnedAt'] == null pinnedAt: json['pinned_at'] == null
? null ? null
: DateTime.parse(json['pinnedAt'] as String), : DateTime.parse(json['pinned_at'] as String),
lockedAt: json['lockedAt'] == null lockedAt: json['locked_at'] == null
? null ? null
: DateTime.parse(json['lockedAt'] as String), : DateTime.parse(json['locked_at'] as String),
isDraft: json['isDraft'] as bool, isDraft: json['is_draft'] as bool,
publishedAt: DateTime.parse(json['publishedAt'] as String), publishedAt: DateTime.parse(json['published_at'] as String),
publishedUntil: json['publishedUntil'], publishedUntil: json['published_until'],
totalUpvote: (json['totalUpvote'] as num).toInt(), totalUpvote: (json['total_upvote'] as num).toInt(),
totalDownvote: (json['totalDownvote'] as num).toInt(), totalDownvote: (json['total_downvote'] as num).toInt(),
realmId: (json['realmId'] as num?)?.toInt(), realmId: (json['realm_id'] as num?)?.toInt(),
realm: json['realm'], realm: json['realm'],
publisherId: (json['publisherId'] as num).toInt(), publisherId: (json['publisher_id'] as num).toInt(),
publisher: publisher:
SnPublisher.fromJson(json['publisher'] as Map<String, dynamic>), SnPublisher.fromJson(json['publisher'] as Map<String, dynamic>),
metric: SnMetric.fromJson(json['metric'] as Map<String, dynamic>), metric: SnMetric.fromJson(json['metric'] as Map<String, dynamic>),
@ -54,38 +54,38 @@ _$SnPostImpl _$$SnPostImplFromJson(Map<String, dynamic> json) => _$SnPostImpl(
Map<String, dynamic> _$$SnPostImplToJson(_$SnPostImpl instance) => Map<String, dynamic> _$$SnPostImplToJson(_$SnPostImpl instance) =>
<String, dynamic>{ <String, dynamic>{
'id': instance.id, 'id': instance.id,
'createdAt': instance.createdAt.toIso8601String(), 'created_at': instance.createdAt.toIso8601String(),
'updatedAt': instance.updatedAt.toIso8601String(), 'updated_at': instance.updatedAt.toIso8601String(),
'deletedAt': instance.deletedAt?.toIso8601String(), 'deleted_at': instance.deletedAt?.toIso8601String(),
'type': instance.type, 'type': instance.type,
'body': instance.body, 'body': instance.body,
'language': instance.language, 'language': instance.language,
'alias': instance.alias, 'alias': instance.alias,
'aliasPrefix': instance.aliasPrefix, 'alias_prefix': instance.aliasPrefix,
'tags': instance.tags, 'tags': instance.tags,
'categories': instance.categories, 'categories': instance.categories,
'reactions': instance.reactions, 'reactions': instance.reactions,
'replies': instance.replies, 'replies': instance.replies,
'replyId': instance.replyId, 'reply_id': instance.replyId,
'repostId': instance.repostId, 'repost_id': instance.repostId,
'replyTo': instance.replyTo, 'reply_to': instance.replyTo,
'repostTo': instance.repostTo, 'repost_to': instance.repostTo,
'visibleUsersList': instance.visibleUsersList, 'visible_users_list': instance.visibleUsersList,
'invisibleUsersList': instance.invisibleUsersList, 'invisible_users_list': instance.invisibleUsersList,
'visibility': instance.visibility, 'visibility': instance.visibility,
'editedAt': instance.editedAt?.toIso8601String(), 'edited_at': instance.editedAt?.toIso8601String(),
'pinnedAt': instance.pinnedAt?.toIso8601String(), 'pinned_at': instance.pinnedAt?.toIso8601String(),
'lockedAt': instance.lockedAt?.toIso8601String(), 'locked_at': instance.lockedAt?.toIso8601String(),
'isDraft': instance.isDraft, 'is_draft': instance.isDraft,
'publishedAt': instance.publishedAt.toIso8601String(), 'published_at': instance.publishedAt.toIso8601String(),
'publishedUntil': instance.publishedUntil, 'published_until': instance.publishedUntil,
'totalUpvote': instance.totalUpvote, 'total_upvote': instance.totalUpvote,
'totalDownvote': instance.totalDownvote, 'total_downvote': instance.totalDownvote,
'realmId': instance.realmId, 'realm_id': instance.realmId,
'realm': instance.realm, 'realm': instance.realm,
'publisherId': instance.publisherId, 'publisher_id': instance.publisherId,
'publisher': instance.publisher, 'publisher': instance.publisher.toJson(),
'metric': instance.metric, 'metric': instance.metric.toJson(),
}; };
_$SnBodyImpl _$$SnBodyImplFromJson(Map<String, dynamic> json) => _$SnBodyImpl( _$SnBodyImpl _$$SnBodyImplFromJson(Map<String, dynamic> json) => _$SnBodyImpl(
@ -109,50 +109,50 @@ Map<String, dynamic> _$$SnBodyImplToJson(_$SnBodyImpl instance) =>
_$SnMetricImpl _$$SnMetricImplFromJson(Map<String, dynamic> json) => _$SnMetricImpl _$$SnMetricImplFromJson(Map<String, dynamic> json) =>
_$SnMetricImpl( _$SnMetricImpl(
replyCount: (json['replyCount'] as num).toInt(), replyCount: (json['reply_count'] as num).toInt(),
reactionCount: (json['reactionCount'] as num).toInt(), reactionCount: (json['reaction_count'] as num).toInt(),
); );
Map<String, dynamic> _$$SnMetricImplToJson(_$SnMetricImpl instance) => Map<String, dynamic> _$$SnMetricImplToJson(_$SnMetricImpl instance) =>
<String, dynamic>{ <String, dynamic>{
'replyCount': instance.replyCount, 'reply_count': instance.replyCount,
'reactionCount': instance.reactionCount, 'reaction_count': instance.reactionCount,
}; };
_$SnPublisherImpl _$$SnPublisherImplFromJson(Map<String, dynamic> json) => _$SnPublisherImpl _$$SnPublisherImplFromJson(Map<String, dynamic> json) =>
_$SnPublisherImpl( _$SnPublisherImpl(
id: (json['id'] as num).toInt(), id: (json['id'] as num).toInt(),
createdAt: DateTime.parse(json['createdAt'] as String), createdAt: DateTime.parse(json['created_at'] as String),
updatedAt: DateTime.parse(json['updatedAt'] as String), updatedAt: DateTime.parse(json['updated_at'] as String),
deletedAt: json['deletedAt'] == null deletedAt: json['deleted_at'] == null
? null ? null
: DateTime.parse(json['deletedAt'] as String), : DateTime.parse(json['deleted_at'] as String),
type: (json['type'] as num).toInt(), type: (json['type'] as num).toInt(),
name: json['name'] as String, name: json['name'] as String,
nick: json['nick'] as String, nick: json['nick'] as String,
description: json['description'] as String, description: json['description'] as String,
avatar: json['avatar'] as String, avatar: json['avatar'] as String,
banner: json['banner'] as String, banner: json['banner'] as String,
totalUpvote: (json['totalUpvote'] as num).toInt(), totalUpvote: (json['total_upvote'] as num).toInt(),
totalDownvote: (json['totalDownvote'] as num).toInt(), totalDownvote: (json['total_downvote'] as num).toInt(),
realmId: (json['realmId'] as num?)?.toInt(), realmId: (json['realm_id'] as num?)?.toInt(),
accountId: (json['accountId'] as num).toInt(), accountId: (json['account_id'] as num).toInt(),
); );
Map<String, dynamic> _$$SnPublisherImplToJson(_$SnPublisherImpl instance) => Map<String, dynamic> _$$SnPublisherImplToJson(_$SnPublisherImpl instance) =>
<String, dynamic>{ <String, dynamic>{
'id': instance.id, 'id': instance.id,
'createdAt': instance.createdAt.toIso8601String(), 'created_at': instance.createdAt.toIso8601String(),
'updatedAt': instance.updatedAt.toIso8601String(), 'updated_at': instance.updatedAt.toIso8601String(),
'deletedAt': instance.deletedAt?.toIso8601String(), 'deleted_at': instance.deletedAt?.toIso8601String(),
'type': instance.type, 'type': instance.type,
'name': instance.name, 'name': instance.name,
'nick': instance.nick, 'nick': instance.nick,
'description': instance.description, 'description': instance.description,
'avatar': instance.avatar, 'avatar': instance.avatar,
'banner': instance.banner, 'banner': instance.banner,
'totalUpvote': instance.totalUpvote, 'total_upvote': instance.totalUpvote,
'totalDownvote': instance.totalDownvote, 'total_downvote': instance.totalDownvote,
'realmId': instance.realmId, 'realm_id': instance.realmId,
'accountId': instance.accountId, 'account_id': instance.accountId,
}; };

View File

@ -1,68 +1,68 @@
{ {
"images" : [ "info": {
{ "version": 1,
"size" : "16x16", "author": "xcode"
"idiom" : "mac",
"filename" : "app_icon_16.png",
"scale" : "1x"
}, },
{ "images": [
"size" : "16x16", {
"idiom" : "mac", "size": "16x16",
"filename" : "app_icon_32.png", "idiom": "mac",
"scale" : "2x" "filename": "app_icon_16.png",
}, "scale": "1x"
{ },
"size" : "32x32", {
"idiom" : "mac", "size": "16x16",
"filename" : "app_icon_32.png", "idiom": "mac",
"scale" : "1x" "filename": "app_icon_32.png",
}, "scale": "2x"
{ },
"size" : "32x32", {
"idiom" : "mac", "size": "32x32",
"filename" : "app_icon_64.png", "idiom": "mac",
"scale" : "2x" "filename": "app_icon_32.png",
}, "scale": "1x"
{ },
"size" : "128x128", {
"idiom" : "mac", "size": "32x32",
"filename" : "app_icon_128.png", "idiom": "mac",
"scale" : "1x" "filename": "app_icon_64.png",
}, "scale": "2x"
{ },
"size" : "128x128", {
"idiom" : "mac", "size": "128x128",
"filename" : "app_icon_256.png", "idiom": "mac",
"scale" : "2x" "filename": "app_icon_128.png",
}, "scale": "1x"
{ },
"size" : "256x256", {
"idiom" : "mac", "size": "128x128",
"filename" : "app_icon_256.png", "idiom": "mac",
"scale" : "1x" "filename": "app_icon_256.png",
}, "scale": "2x"
{ },
"size" : "256x256", {
"idiom" : "mac", "size": "256x256",
"filename" : "app_icon_512.png", "idiom": "mac",
"scale" : "2x" "filename": "app_icon_256.png",
}, "scale": "1x"
{ },
"size" : "512x512", {
"idiom" : "mac", "size": "256x256",
"filename" : "app_icon_512.png", "idiom": "mac",
"scale" : "1x" "filename": "app_icon_512.png",
}, "scale": "2x"
{ },
"size" : "512x512", {
"idiom" : "mac", "size": "512x512",
"filename" : "app_icon_1024.png", "idiom": "mac",
"scale" : "2x" "filename": "app_icon_512.png",
} "scale": "1x"
], },
"info" : { {
"version" : 1, "size": "512x512",
"author" : "xcode" "idiom": "mac",
} "filename": "app_icon_1024.png",
"scale": "2x"
}
]
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Some files were not shown because too many files have changed in this diff Show More