chore: add banner to update dialog

This commit is contained in:
krille-chan committed 2026-09-25 20:23:46 +02:00
1 parent 1f07656e4b
commit 698ce7168e
8 files changed
+176 -6

No files matched your search

@@ -0,0 +1,4 @@
All rights reserved.
No permission is granted to copy, modify, distribute, or use this work
without prior written permission from the copyright holder.
+12 -2
View File
@@ -49,7 +49,7 @@ SPDX-License-Identifier = "Apache-2.0"
# App Logo
[[annotations]]
path = [
"assets/logo/**",
"assets/logo/*/logo**",
"android/app/src/main/res/mipmap**/**",
"ios/Runner/Assets.xcassets/AppIcon.appiconset/**",
"macos/Runner/Assets.xcassets/AppIcon.appiconset/**",
@@ -60,4 +60,14 @@ path = [
]
precedence = "aggregate"
SPDX-FileCopyrightText = "2017-Present Fabiyamada"
SPDX-License-Identifier = "CC-BY-4.0"
SPDX-License-Identifier = "CC-BY-4.0"
# Artwork
[[annotations]]
path = [
"assets/logo/*/mascot.**",
"assets/logo/*/banner.**",
]
precedence = "aggregate"
SPDX-FileCopyrightText = "2026-Present Christian Kußowski"
SPDX-License-Identifier = "LicenseRef-All-Rights-Reserved"
Binary file not shown.

After

Width:  |  Height:  |  Size: 266 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

+136
View File
@@ -0,0 +1,136 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 26.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 612 792" style="enable-background:new 0 0 612 792;" xml:space="preserve">
<style type="text/css">
.st0{fill:#5F59AA;}
.st1{fill:#4C3D8F;}
.st2{fill:#1E1E1E;}
.st3{fill:#F7B2F4;}
.st4{fill:#CC1F59;}
.st5{fill:#1D1D1B;}
.st6{fill:#FFFFFF;}
</style>
<g>
<path class="st0" d="M409.57,667.17c0,0,20.6,34.22,7.16,44.15c-24.23,17.9-66.76-25.02-66.76-25.02"/>
<path class="st1" d="M368.18,699.89c0,0,22.86,1.11,35.78-3.69c12.92-4.8,15.14-9.23,15.14-9.23l-8.12-12.56l-56.15,10.35
L368.18,699.89z"/>
<path class="st2" d="M418.36,661.88c10.15,22.87,22.78,58.93-14.95,61.3c-25.04-1.24-42.04-15.62-60.74-29.65
c-4.41-3.61-5.07-10.11-1.46-14.52c4.04-5.07,12.05-5.01,16.05,0.07c11.59,13.19,35.29,35.24,53.51,27.17
c8.57-4.69-5.09-27.97-10.15-33.98C391.61,659.63,411.72,647.81,418.36,661.88L418.36,661.88z"/>
</g>
<g>
<path class="st1" d="M204.2,667.17c0,0-19.34,32.7-7.16,44.15c21.71,20.4,66.76-25.02,66.76-25.02"/>
<path class="st2" d="M213.04,672.4c-6.37,9-22,35.91-2.25,36.12c16.68-1.07,34.41-16.99,45.73-29.44
c8.94-10.34,24.5,2.88,15.68,13.37c-19.92,16.51-56.49,46.69-81.34,23.99c-9.95-10.87-5.5-26.58-1.75-38.53
c3.41-8.73,6.73-26.4,19.93-21.12C215.01,659.39,217,667.24,213.04,672.4L213.04,672.4z"/>
</g>
<g>
<path class="st1" d="M444.56,615.46c0,71.64-62.53,69.93-139.67,69.93s-139.67,1.71-139.67-69.93s35.31-156.07,141.04-156.07
S444.56,543.82,444.56,615.46z"/>
<path class="st2" d="M452.33,615.46c1.73,74.07-66.93,78.06-123.77,77.98c-45.31-1.93-123.94,9.16-156.18-28.43
c-23.63-29.11-15.02-74.32-6.67-107.76c9.9-34.84,31.42-67.83,63.55-86.02c31.81-18.47,69.92-22.29,105.68-16.77
C415.38,465.61,452.77,540.96,452.33,615.46L452.33,615.46z M436.78,615.46c0.88-67.96-31.36-136.41-104.2-146.46
c-32.16-5.06-67.56-1.7-95.98,14.88c-43.94,24.56-63.25,78.17-63.33,126.95c-0.53,16.47,2.27,32.56,11.63,43.61
c21.64,23.45,60.95,21.54,91.64,22.76c0,0,51.91,0.07,51.91,0.07C375.67,676.38,438.14,678.58,436.78,615.46L436.78,615.46z"/>
</g>
<path class="st0" d="M430.37,609.92c0,61.74-62.51,67.15-126.75,67.15s-100.91-5.82-100.91-67.56S222.2,475,310.25,475
S430.37,548.18,430.37,609.92z"/>
<g>
<path class="st0" d="M244.64,549.68c0,0,26.76,9.97,24.98,29.77c-1.48,16.49-26.63,16.35-26.63,16.35"/>
<path class="st2" d="M247.22,542.78c10.55,4.17,20.13,10.17,26.39,20.06c7.65,11.5,5.01,29.68-8.11,36.16
c-8.5,4.44-30.52,12.07-31.91-2.9c-0.19-5.26,4.22-9.6,9.47-9.37c7.17-0.32,18.9-1.24,18.39-10.22
c-0.59-9.08-11.66-16.63-19.82-20.12C232.99,552.48,238.34,539.49,247.22,542.78L247.22,542.78z"/>
</g>
<g>
<path class="st0" d="M365.13,549.68c0,0-26.76,9.97-24.98,29.77c1.48,16.49,26.63,16.35,26.63,16.35"/>
<path class="st2" d="M367.31,555.52c-20.57,8.59-31.59,32.05-0.31,31.79c11.15-0.02,11.46,16.59,0.3,16.98
c-16.53,0.05-37.24-9.73-34.48-29.15c2.05-15.94,16.27-26.01,30.14-31.3c3.22-1.22,6.81,0.4,8.03,3.62
C372.23,550.71,370.52,554.31,367.31,555.52L367.31,555.52z"/>
</g>
<path class="st1" d="M206.22,567.2c0,0,4.33-35.73,23.85-34.65c31.98,1.77,84.52,3.35,115.95-1.77c35.87-5.85,52.05-7.3,60.05-3.9
c3.9,1.66,5.92,6.12,5.92,6.12l-10.68-26.08c0,0-67.33,13.31-99,13.65c-31.66,0.35-94.4-13.65-94.4-13.65L206.22,567.2z"/>
<g>
<path class="st0" d="M368.18,513.98c39.04-5.36,73.27-16.46,99.12-35.06c11.1,4.01,31.55,8,44.44-10.05
c13.87-19.41,0-42.91,0-42.91s32.96-11.92,33.85-35.82c1.1-29.8-24.65-39.37-24.65-39.37s32.74-13.47,25.02-39.37
c-4.94-16.55-20.23-20.05-30.63-20.42c9.15-13.71,19.42-30.83,28.48-50.25c23.15-49.62,20.17-145.38-3.31-160.1
c-19.85-12.44-67.26,2.65-89.31,21.17c-15.9,13.36-27.76,24.82-36.73,34.45c-10.47,3.17-19.35,9.22-19.35,9.22
s8.09-28.33-16.56-36.42c-24.65-8.09-45.25,18.55-45.25,18.55s-2.4-26.65-27.05-26.65s-29.32,26.65-29.32,26.65
s-20.6-26.65-45.25-18.55c-24.65,8.09-16.56,36.42-16.56,36.42s-7.59-5.15-17-8.43c-9.05-9.79-21.14-21.52-37.47-35.24
C138.61,83.28,91.2,68.2,71.35,80.64c-23.48,14.72-26.46,110.48-3.31,160.1c9.06,19.4,19.31,36.51,28.46,50.22
c-10.37,0.08-27.02,3.04-32.22,20.46c-7.73,25.9,25.02,39.37,25.02,39.37s-25.75,9.57-24.65,39.37
c0.89,23.9,33.85,35.82,33.85,35.82s-13.87,23.5,0,42.91c13.32,18.65,34.68,13.77,45.49,9.65c27.01,19.63,63.29,31,104.69,36.1"/>
<path class="st1" d="M227.84,110.61l-18.74,27.51l-43.88-37.42L93.73,78.54l-32.59,18.9l-9.01,82.13l25.95,76.91l12.57,34.84
l-20.39,14.7L67,332.09l17.37,16.22l-18.55,29.66l12.91,31.69l14.5,21.27l5.05,34.79l23.46,18.25l22.23-5.43l27.96,19.76
l62.57,14.34c0,0-56.7-18.72-89.83-59.73c-2.42-3-10.86,6.84-20.09-3.15c-9.44-10.21,4.15-21.12,0.64-28.64
c-1.56-3.34-3-6.69-4.31-10.04c-2.9-7.39-18.63-5.76-22.74-21.98c-4.35-17.22,8.22-19.79,11.34-28.67
c1.53-4.35,2.25-9.38,2.28-14.42c0.04-7.25-14.4-9.35-13.62-22.76c0.77-13.09,12.52-11.03,16.04-17.53
c2.1-3.87,3.34-13.61,2.38-16.52c-0.52-1.55-12.03-11.39-9.36-24.42c3.52-17.18,14.95-18.67,23.24-17.35
c7.6,1.2,13.82-3.88,9.09-16.91c-2.06-5.68-11.19-14.93-3.63-25.84c7.74-11.15,22.56-2.7,29.64-6.46
c23.01-12.22,1.42-22.98,13.63-37.17c8.47-9.84,27.84,1.57,32.73,4.35c14.76,8.4,23.8-0.46,24.1-6.86
c0.68-14.44-5.91-26.77,4.26-33.75c9.33-6.41,22.09-1.06,21.29-3.04C259.81,117.39,227.84,110.61,227.84,110.61z M158.79,179.33
c0,0-28.94-7.8-40.1,8.09c-12.14,17.29,6.99,44.52,6.99,44.52s-14.38-0.31-25.33,5.68c-2.06-3.8-4.1-7.79-6.05-11.96
c-14.44-30.95-12.58-90.68,2.06-99.86c12.38-7.76,41.95,1.65,55.7,13.2c4.13,3.47,7.82,6.74,11.14,9.81
C157.21,162.14,158.79,179.33,158.79,179.33z"/>
<path class="st2" d="M367.42,508.41c33.3-6.23,67.26-17.06,93.79-37.95c2.44-1.93,5.54-2.47,8.33-1.71
c11.85,4.61,25.33,6.88,34.26-3.63c9.26-9.67,7.42-25.63,1.66-36.88c-1.69-3.42,0.32-7.65,4.01-8.55
c20.13-9.38,35.61-25.99,22.07-47.54c-3.27-5.02-8.74-9.28-14.24-11.61c-11.07-2.2-10.68-16.51-0.34-19.4
c14.34-6.1,28.28-21.85,13.36-35.17c-3.6-2.75-9.24-4.32-15.39-4.53c-8.06-0.03-12.91-9.81-8.32-16.27
c8.35-12.54,16.03-25.52,22.81-38.89c21.32-39.53,26.57-106.82,11-148.74c-1.78-3.53-3.04-6.12-5.55-7.93
c-6.54-3.58-14.15-3.22-22.63-2.32c-20.71,3.14-41.27,11.3-57.26,25.21c-11.51,9.84-22.59,20.11-32.75,31.02
c-1.3,1.4-2.89,2.37-4.59,2.9c-5.55,1.68-11.67,4.69-16.55,7.87c-4.93,3.27-11.57,1.92-14.84-3c-3-4.21-1.33-8.13-0.73-12.83
c1.37-9.25-2.77-18.51-12.67-19.88c-8.03-1.87-17.69,2.9-24.23,8.62c-2.5,2.09-5.25,4.87-6.93,6.95
c-3.73,4.61-10.49,5.32-15.1,1.59c-3.62-2.76-3.64-6.38-4.61-10.53c-0.9-3.37-2.68-7.1-4.91-9.39c-5.24-5.99-17.57-5.42-22.94,0.63
c-3.18,3.06-5.79,8.68-6.73,13c-1.13,5.82-6.76,9.62-12.58,8.49c-2.6-0.5-4.79-1.9-6.33-3.82c-3.7-4.52-9.65-9.7-14.99-12.49
c-11.84-7.18-29.2-2.95-29.01,12.34c-0.19,2.52,0.29,6.5,0.87,8.72c1.48,5.71-1.94,11.54-7.65,13.02
c-4.67,1.36-8.14-1.14-11.92-3.46c-3.55-2.02-7.43-3.84-11.2-5.17c-1.68-0.59-3.17-1.6-4.3-2.82
c-10.15-10.96-21.24-21.28-32.77-31.16c-15.73-14-36.66-22.49-57.3-25.7c-9.04-0.91-17.65-1.78-24.34,3.14
c-5.76,6.71-8.16,16.81-10.05,26.24c-2.62,14.2-3.38,29.2-3.02,44.07c0.64,22.14,3.53,44.45,10.69,65.3
c7.93,20.96,19.53,40.24,31.75,59.01c3.21,4.83,1.91,11.34-2.92,14.56c-1.78,1.18-3.78,1.75-5.77,1.76
c-6.29,0.03-12.23,1.44-16.06,4.13c-15.67,13.03-2.16,29.16,12.75,35.52c5.36,2.3,7.82,8.55,5.48,13.89
c-2.48,5.8-9.28,6.17-13.4,10.4c-11.64,10.02-15.25,28.8-1.58,39.81c4.96,4.48,12.05,8.53,18.26,10.99
c5.48,2.11,8.19,8.29,6.02,13.75c-1.45,2.85-3.15,6.49-4.01,9.83c-6.86,24.46,13.5,39.01,36.29,29.15c3.3-1.37,7.05-0.78,9.69,1.29
c28.07,21.94,64.19,32.62,99.39,38.48c3.27,0.52,5.49,3.61,4.95,6.87c-0.51,3.1-3.34,5.24-6.41,4.98
c-18.88-1.64-37.79-4.6-56.4-9.81c-18.56-5.22-36.91-12.74-53.6-23.91l9.69,1.29c-8.58,3.19-18.01,5.29-28.3,4.15
c-34.79-4.25-46.36-43.71-29.78-71.58c0,0,5.41,15.03,5.41,15.03c-24.42-8.91-47.15-31.14-39.5-59.22
c3.41-15.94,15.17-29.35,30.19-35.53c0,0-0.34,19.46-0.34,19.46c-13.38-6.16-24.97-14.99-30.52-29.16
c-9.7-28.27,14.27-52.03,41.61-50.84c0,0-8.66,16.35-8.66,16.35c-11.03-16.53-21-33.85-29.43-51.93
c-17.53-41.49-20.26-87.75-13.34-132c3.11-15.14,7.8-34.58,23.38-42.71c31.56-13.74,78.73,5.58,103,26.8
c12,10.28,23.65,21.09,34.57,32.88l-4.3-2.82c7.08,2.55,13.15,5.57,19.46,9.67c0,0-16.19,11.72-16.19,11.72
c-2.56-10.75-2.55-20.66,2.03-31.06c9.27-21.08,38.85-25.43,56.63-14.48c8.77,4.88,15.29,10.4,21.8,18.24c0,0-18.9,4.67-18.9,4.67
c0.58-2.91,1.14-4.63,1.89-6.83c13.77-41.47,71.07-36.83,75.56,7.72c0,0-19.03-5.56-19.03-5.56
c12.95-15.33,30.83-27.31,52.17-23.41c24.03,4.08,34.65,28.61,28.31,50.73c0,0-16.25-11.74-16.25-11.74
c7.17-4.65,14.08-8.02,22.26-10.6c0,0-4.71,2.93-4.71,2.93c22.65-23.41,46.47-47.28,78.36-56.95c19.35-5.96,41.76-11.21,61.14-0.34
c23.95,17.69,23.9,63.32,23.97,90.12c-1.01,32.19-6.46,65.22-22.01,93.95c-7.21,14.18-15.31,27.84-24.11,41.02l-8.32-16.27
c42.51,0.27,57.63,49.64,21.05,73.24c-3.78,2.58-7.18,4.59-11.86,6.65l-0.34-19.4c19.87,8.03,32.62,30.14,29.9,51.13
c-2.57,21.05-22.17,33.81-40.46,40.1c0,0,3.48-9.66,3.48-9.66c9.67,16.2,11.85,37.59-0.34,53.24
c-11.27,16.77-35.92,19.38-53.39,12.92c0,0,9.64-1.34,9.64-1.34c-15.96,10.43-33.36,17.56-50.97,22.56
c-17.64,5-35.58,7.92-53.47,9.59c-3.1,0.29-5.84-1.99-6.13-5.08C362.54,511.56,364.6,508.94,367.42,508.41L367.42,508.41z"/>
</g>
<path class="st3" d="M516.85,123.64c-13.97-8.76-45.25,2.1-58.72,13.41c-34.43,28.93-39.78,44.45-39.99,45.09l-0.38,1.18
l65.66,99.29l2.22-2.49c0.2-0.22,19.81-22.44,34.24-53.37C534.91,194.55,533.12,133.84,516.85,123.64z"/>
<g>
<path class="st4" d="M341.47,392.55c0,19.45-15.77,35.22-35.22,35.22s-35.22-15.77-35.22-35.22S341.47,373.1,341.47,392.55z"/>
<path class="st2" d="M306.26,432.9c-22.25,0-40.35-18.1-40.35-40.35c0-14.55,21.73-19.72,40.35-19.72
c18.62,0,40.35,5.17,40.35,19.72C346.6,414.8,328.5,432.9,306.26,432.9z M306.25,383.1c-17.72,0-30.08,4.98-30.08,9.45
c0,16.59,13.49,30.08,30.09,30.08c16.59,0,30.08-13.5,30.08-30.08c0-2.07-2.86-4.36-7.64-6.12
C322.94,384.31,314.76,383.1,306.25,383.1z"/>
</g>
<path class="st0" d="M519.79,251.44c-5.15-20.24-36.79-19.5-36.79-19.5s19.13-27.23,6.99-44.52c-11.16-15.9-40.1-8.09-40.1-8.09
s2.77-29.62-12.51-41.21l-40.17,45.92l86.04,112.97L519.79,251.44z"/>
<path class="st1" d="M276.16,127.61"/>
<path class="st3" d="M166.3,148.19l-1.35-1.25c-3.56-3.29-7.34-6.61-11.24-9.89c-13.47-11.32-44.75-22.17-58.72-13.41
c-16.27,10.2-18.05,70.91-3.02,103.12c1.85,3.96,3.85,7.92,6.12,12.1l1.23,2.27l2.26-1.24c10.18-5.57,23.89-5.35,24.05-5.37
l5.06,0.1l-2.9-4.14c-0.18-0.26-17.95-25.97-6.99-41.57c9.99-14.23,37.06-7.16,37.33-7.09l3.55,0.95l-0.33-3.66
c-0.02-0.17-1.44-16.7,4.2-29.22L166.3,148.19z"/>
<g>
<circle class="st5" cx="192.62" cy="392.55" r="35.22"/>
<circle class="st6" cx="181.25" cy="384.01" r="18.05"/>
<circle class="st6" cx="202.71" cy="416.07" r="5.22"/>
</g>
<g>
<circle class="st5" cx="419.89" cy="392.55" r="35.22"/>
<circle class="st6" cx="408.52" cy="384.01" r="18.05"/>
<circle class="st6" cx="429.98" cy="416.07" r="5.22"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 11 KiB

+24 -4
View File
@@ -27,11 +27,31 @@ abstract class UpdateNotifier {
barrierDismissible: true,
context: context,
builder: (context) => AlertDialog.adaptive(
title: Text(
l10n.updateInstalled(currentVersion),
style: TextStyle(fontWeight: FontWeight.bold),
title: ConstrainedBox(
constraints: const BoxConstraints(maxWidth: 256),
child: ClipRRect(
borderRadius: BorderRadius.circular(AppConfig.borderRadius),
child: Image.asset('assets/logo/mini/banner.png'),
),
),
content: ConstrainedBox(
constraints: const BoxConstraints(maxWidth: 256),
child: Column(
mainAxisSize: .min,
spacing: 16,
children: [
Text(
l10n.updateInstalled(currentVersion),
style: Theme.of(context).textTheme.titleLarge,
),
Text(
l10n.possibleByYou,
textAlign: .center,
style: Theme.of(context).textTheme.bodyLarge,
),
],
),
),
content: Text(l10n.possibleByYou),
actions: [
AdaptiveDialogAction(
bigButtons: true,