mirror of
https://github.com/kuhyx/diet-guard.git
synced 2026-11-28 22:39:04 +01:00
Fix lints in error icon page
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
file-length / file length <= 250 lines (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint) (push) Waiting to run
Tests / test (push) Waiting to run
release-apk / release (APK) (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
file-length / file length <= 250 lines (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint) (push) Waiting to run
Tests / test (push) Waiting to run
release-apk / release (APK) (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
8068205d0c
commit
ded7486244
@ -1,19 +1,20 @@
|
|||||||
/// A wordless page for an error the window itself loaded: Chrome would
|
/// A wordless page for an error the window itself loaded: Chrome would
|
||||||
/// otherwise paint its own "This page isn't working" sentences over an
|
/// otherwise paint its own "This page isn't working" sentences over an
|
||||||
/// empty error body. Only the title carries the app's name (OS-level label).
|
/// empty error body. Only the title carries the app's name (OS-level label).
|
||||||
library error_page;
|
library;
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
/// HTML page with only an icon — no words painted by the browser.
|
/// HTML page with only an icon — no words painted by the browser.
|
||||||
const String errorIconPage =
|
const String errorIconPage =
|
||||||
'<!doctype html><html><head><meta charset="utf-8"> '
|
'<!doctype html><html><head><meta charset="utf-8"> '
|
||||||
'<title>Diet Guard</title><style>html,body{margin:0;height:100%;'
|
'<title>Diet Guard</title> '
|
||||||
'background:#211D1B;display:flex;align-items:center;'
|
'<style>html,body{margin:0;height:100%; '
|
||||||
|
'background:#211D1B;display:flex;align-items:center; '
|
||||||
'justify-content:center}</style></head><body> '
|
'justify-content:center}</style></head><body> '
|
||||||
'<svg width="96" height="96" viewBox="0 0 24 24" fill="none" '
|
'<svg width="96" height="96" viewBox="0 0 24 24" fill="none" '
|
||||||
' stroke="#A39892" stroke-width="2" stroke-linecap="round" '
|
'stroke="#A39892" stroke-width="2" stroke-linecap="round" '
|
||||||
' aria-hidden="true"><circle cx="12" cy="12" r="9"/>'
|
'aria-hidden="true"><circle cx="12" cy="12" r="9"/> '
|
||||||
'<line x1="5.6" y1="18.4" x2="18.4" y2="5.6"/></svg></body></html>';
|
'<line x1="5.6" y1="18.4" x2="18.4" y2="5.6"/></svg></body></html>';
|
||||||
|
|
||||||
/// Whether [request] is the window loading a page, not the app's fetch().
|
/// Whether [request] is the window loading a page, not the app's fetch().
|
||||||
|
|||||||
@ -2,7 +2,7 @@ name: diet_guard_app
|
|||||||
description: "Companion phone app for diet_guard: log meals on the go."
|
description: "Companion phone app for diet_guard: log meals on the go."
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
|
|
||||||
version: 1.0.153+1
|
version: 1.0.154+1
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.12.2
|
sdk: ^3.12.2
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user