🍱 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;
buildSettings = {
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_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
@ -597,7 +597,7 @@
isa = XCBuildConfiguration;
buildSettings = {
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_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";

View File

@ -1,122 +1,536 @@
{
"images" : [
"images": [
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-App-20x20@2x.png",
"scale" : "2x"
"filename": "Icon-App-20x20@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "20x20",
"platform": "ios"
},
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-App-20x20@3x.png",
"scale" : "3x"
"filename": "Icon-App-20x20@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "20x20",
"platform": "ios"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-App-29x29@1x.png",
"scale" : "1x"
"filename": "Icon-App-29x29@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "29x29",
"platform": "ios"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-App-29x29@2x.png",
"scale" : "2x"
"filename": "Icon-App-29x29@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "29x29",
"platform": "ios"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-App-29x29@3x.png",
"scale" : "3x"
"filename": "Icon-App-38x38@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "38x38",
"platform": "ios"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-App-40x40@2x.png",
"scale" : "2x"
"filename": "Icon-App-38x38@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "38x38",
"platform": "ios"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-App-40x40@3x.png",
"scale" : "3x"
"filename": "Icon-App-40x40@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "40x40",
"platform": "ios"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-App-60x60@2x.png",
"scale" : "2x"
"filename": "Icon-App-40x40@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "40x40",
"platform": "ios"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-App-60x60@3x.png",
"scale" : "3x"
"filename": "Icon-App-60x60@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "60x60",
"platform": "ios"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-App-20x20@1x.png",
"scale" : "1x"
"filename": "Icon-App-60x60@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "60x60",
"platform": "ios"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-App-20x20@2x.png",
"scale" : "2x"
"filename": "Icon-App-64x64@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "64x64",
"platform": "ios"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-App-29x29@1x.png",
"scale" : "1x"
"filename": "Icon-App-64x64@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "64x64",
"platform": "ios"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-App-29x29@2x.png",
"scale" : "2x"
"filename": "Icon-App-68x68@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "68x68",
"platform": "ios"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-App-40x40@1x.png",
"scale" : "1x"
"filename": "Icon-App-76x76@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "76x76",
"platform": "ios"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-App-40x40@2x.png",
"scale" : "2x"
"filename": "Icon-App-83.5x83.5@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "83.5x83.5",
"platform": "ios"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-App-76x76@1x.png",
"scale" : "1x"
"filename": "Icon-App-1024x1024@1x.png",
"idiom": "universal",
"scale": "1x",
"size": "1024x1024",
"platform": "ios"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-App-76x76@2x.png",
"scale" : "2x"
"filename": "Icon-App-Dark-20x20@2x.png",
"idiom": "universal",
"scale": "2x",
"size": "20x20",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "Icon-App-83.5x83.5@2x.png",
"scale" : "2x"
"filename": "Icon-App-Dark-20x20@3x.png",
"idiom": "universal",
"scale": "3x",
"size": "20x20",
"platform": "ios",
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
},
{
"size" : "1024x1024",
"idiom" : "ios-marketing",
"filename" : "Icon-App-1024x1024@1x.png",
"scale" : "1x"
"filename": "Icon-App-Dark-29x29@2x.png",
"idiom": "universal",
"scale": "2x",
"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" : {
"version" : 1,
"author" : "xcode"
"info": {
"author": "icons_launcher",
"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 String language,
required String? alias,
required String aliasPrefix,
required String? aliasPrefix,
required List<dynamic> tags,
required List<dynamic> categories,
required dynamic reactions,

View File

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

View File

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

View File

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