feat: add bilingual privacy note below instructions
This commit is contained in:
@@ -113,7 +113,7 @@ export component AppWindow inherits Window {
|
||||
panel := Rectangle {
|
||||
visible: root.countdown == 0 && !root.awaiting-release;
|
||||
x: root.safe-area-insets.left + (root.width - root.safe-area-insets.left - root.safe-area-insets.right - self.width) / 2;
|
||||
y: root.height - self.height - root.inset - root.safe-area-insets.bottom;
|
||||
y: privacy-note.y - self.height - 12px * root.ui-scale;
|
||||
width: min(1040px * root.ui-scale, root.width - root.inset * 2 - root.safe-area-insets.left - root.safe-area-insets.right);
|
||||
height: root.compact ? first.height + second.height + 44px * root.ui-scale : max(first.height, second.height) + 32px * root.ui-scale;
|
||||
border-radius: 22px * root.ui-scale;
|
||||
@@ -154,7 +154,7 @@ export component AppWindow inherits Window {
|
||||
|
||||
if root.awaiting-release: Rectangle {
|
||||
x: (root.width - self.width) / 2;
|
||||
y: root.height - self.height - root.inset - root.safe-area-insets.bottom;
|
||||
y: privacy-note.y - self.height - 12px * root.ui-scale;
|
||||
width: panel.width;
|
||||
height: release-german.height + release-english.height + 6px * root.ui-scale + 36px * root.ui-scale;
|
||||
background: #fffffff5;
|
||||
@@ -183,4 +183,19 @@ export component AppWindow inherits Window {
|
||||
wrap: word-wrap;
|
||||
}
|
||||
}
|
||||
|
||||
privacy-note := Text {
|
||||
x: panel.x;
|
||||
y: root.height - self.height - root.inset - root.safe-area-insets.bottom;
|
||||
width: panel.width;
|
||||
height: self.preferred-height;
|
||||
text: "Bilder werden nie gespeichert und ausschließlich zum Drucken eines Fotos verarbeitet.\nImages are never stored and are processed only to print a photo.";
|
||||
font-size: 12px * root.ui-scale;
|
||||
color: root.flash-opacity > 0 ? #20302b : #ffffffee;
|
||||
stroke: root.flash-opacity > 0 ? transparent : #20302bb0;
|
||||
stroke-width: 0.5px * root.ui-scale;
|
||||
horizontal-alignment: center;
|
||||
wrap: word-wrap;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user