Skip to content

Commit

Permalink
Update deprecated features
Browse files Browse the repository at this point in the history
  • Loading branch information
danny committed Sep 9, 2024
1 parent cf77533 commit c19628d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 41 deletions.
20 changes: 7 additions & 13 deletions macless_haystack/.metadata
Original file line number Diff line number Diff line change
@@ -1,29 +1,23 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled.
# This file should be version controlled and should not be manually edited.

version:
revision: 9944297138845a94256f1cf37beb88ff9a8e811a
channel: stable
revision: "4cf269e36de2573851eaef3c763994f8f9be494d"
channel: "stable"

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: 9944297138845a94256f1cf37beb88ff9a8e811a
base_revision: 9944297138845a94256f1cf37beb88ff9a8e811a
- platform: android
create_revision: 9944297138845a94256f1cf37beb88ff9a8e811a
base_revision: 9944297138845a94256f1cf37beb88ff9a8e811a
create_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
base_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
- platform: web
create_revision: 9944297138845a94256f1cf37beb88ff9a8e811a
base_revision: 9944297138845a94256f1cf37beb88ff9a8e811a
- platform: windows
create_revision: 9944297138845a94256f1cf37beb88ff9a8e811a
base_revision: 9944297138845a94256f1cf37beb88ff9a8e811a
create_revision: 4cf269e36de2573851eaef3c763994f8f9be494d
base_revision: 4cf269e36de2573851eaef3c763994f8f9be494d

# User provided section

Expand Down
2 changes: 1 addition & 1 deletion macless_haystack/lib/history/location_popup.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class LocationPopup extends Marker {
},
child: Card(
child: Padding(
padding: const EdgeInsets.all(12.0),
padding: const EdgeInsets.all(10.0),
child: Column(
children: [
Text(
Expand Down
29 changes: 5 additions & 24 deletions macless_haystack/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,40 +18,21 @@

<meta charset="UTF-8">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
<meta name="description" content="OpenHaystack2.0">
<meta name="description" content="macless-Haystack">

<!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="macless_haystack">
<link rel="apple-touch-icon" href="icons/Icon-192.png">

<!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png"/>

<title>Macless Haystack</title>
<link rel="icon" href="favicon.png">
<link rel="manifest" href="manifest.json">

<script>
// The value below is injected by flutter build, do not touch.
const serviceWorkerVersion = null;
</script>
<!-- This script adds the flutter initialization JS code -->
<script src="flutter.js" defer></script>
</head>
<body>
<script>
window.addEventListener('load', function(ev) {
// Download main.dart.js
_flutter.loader.loadEntrypoint({
serviceWorker: {
serviceWorkerVersion: serviceWorkerVersion,
},
onEntrypointLoaded: function(engineInitializer) {
engineInitializer.initializeEngine().then(function(appRunner) {
appRunner.runApp();
});
}
});
});
</script>
<script src="flutter_bootstrap.js" async></script>
</body>
</html>
6 changes: 3 additions & 3 deletions macless_haystack/web/manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "Macless Haystack",
"short_name": "Macless Haystack",
"name": "macless_haystack",
"short_name": "macless_haystack",
"start_url": ".",
"display": "standalone",
"background_color": "#0175C2",
"theme_color": "#0175C2",
"description": "Macless Haystack",
"description": "A new Flutter project.",
"orientation": "portrait-primary",
"prefer_related_applications": false,
"icons": [
Expand Down

0 comments on commit c19628d

Please sign in to comment.