From 5a9023ed610bdb88d987d563194142824a6fa231 Mon Sep 17 00:00:00 2001 From: braniii Date: Sun, 5 Jan 2025 17:25:49 +0100 Subject: [PATCH 01/10] Upgrade to fl 3.27 --- app/pubspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/pubspec.yaml b/app/pubspec.yaml index ea067f2..7ad09d7 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -18,8 +18,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 0.8.1+22 environment: - sdk: ">=3.4.0 <4.0.0" - flutter: ">=3.24.4" + sdk: ">=3.6.0 <4.0.0" + flutter: ">=3.27.1" dependencies: flutter: From 144b0d3f82ee1c7e0a85cec0a2f6d641a9556429 Mon Sep 17 00:00:00 2001 From: braniii Date: Sun, 5 Jan 2025 17:25:59 +0100 Subject: [PATCH 02/10] Upgrade deps. --- app/pubspec.yaml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/app/pubspec.yaml b/app/pubspec.yaml index 7ad09d7..2bacf08 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -29,33 +29,36 @@ dependencies: auto_size_text: ^3.0.0 dynamic_color: ^1.7.0 - file_picker: ^8.1.4 - fl_chart: ^0.69.2 - flutter_svg: ^2.0.15 + file_picker: ^8.1.7 + fl_chart: ^0.70.0 + flutter_svg: ^2.0.16 font_awesome_flutter: ^10.8.0 hive: ^2.2.3 hive_flutter: ^1.1.0 intl: ^0.19.0 introduction_screen: ^3.1.14 ml_linalg: ^13.12.6 - package_info_plus: ^8.1.1 + package_info_plus: ^8.1.2 path_provider: ^2.1.5 phosphor_flutter: ^2.1.0 provider: ^6.1.2 - shared_preferences: ^2.3.3 - share_plus: ^10.1.2 + shared_preferences: ^2.3.5 + share_plus: ^10.1.3 url_launcher: ^6.3.1 - calendar_date_picker2: ^1.1.7 + calendar_date_picker2: ^1.1.8 # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. # cupertino_icons: ^1.0.4 +dependency_overrides: + intl: 0.20.1 + dev_dependencies: flutter_test: sdk: flutter - build_runner: ^2.4.13 + build_runner: ^2.4.14 # flutter_launcher_icons: ^0.10.0 flutter_launcher_icons: git: https://github.com/nvi9/flutter_launcher_icons.git From 74e906c42fcf4a095b29263a2556a1ff94e8bee4 Mon Sep 17 00:00:00 2001 From: braniii Date: Sun, 5 Jan 2025 17:26:27 +0100 Subject: [PATCH 03/10] Upgrade pubspec.lock. --- app/pubspec.lock | 231 +++++++++++++++++++++++++---------------------- 1 file changed, 122 insertions(+), 109 deletions(-) diff --git a/app/pubspec.lock b/app/pubspec.lock index 558599c..a35247b 100644 --- a/app/pubspec.lock +++ b/app/pubspec.lock @@ -5,18 +5,23 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: "0b2f2bd91ba804e53a61d757b986f89f1f9eaed5b11e4b2f5a2468d86d6c9fc7" + sha256: "16e298750b6d0af7ce8a3ba7c18c69c3785d11b15ec83f6dcd0ad2a0009b3cab" url: "https://pub.dev" source: hosted - version: "67.0.0" + version: "76.0.0" + _macros: + dependency: transitive + description: dart + source: sdk + version: "0.3.3" analyzer: dependency: transitive description: name: analyzer - sha256: "37577842a27e4338429a1cbc32679d508836510b056f1eedf0c8d20e39c1383d" + sha256: "1f14db053a8c23e260789e9b0980fa27f2680dd640932cae5e1137cce0e46e1e" url: "https://pub.dev" source: hosted - version: "6.4.1" + version: "6.11.0" archive: dependency: transitive description: @@ -61,50 +66,50 @@ packages: dependency: transitive description: name: build - sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0" + sha256: cef23f1eda9b57566c81e2133d196f8e3df48f244b317368d65c5943d91148f0 url: "https://pub.dev" source: hosted - version: "2.4.1" + version: "2.4.2" build_config: dependency: transitive description: name: build_config - sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1 + sha256: "4ae2de3e1e67ea270081eaee972e1bd8f027d459f249e0f1186730784c2e7e33" url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "1.1.2" build_daemon: dependency: transitive description: name: build_daemon - sha256: "79b2aef6ac2ed00046867ed354c88778c9c0f029df8a20fe10b5436826721ef9" + sha256: "294a2edaf4814a378725bfe6358210196f5ea37af89ecd81bfa32960113d4948" url: "https://pub.dev" source: hosted - version: "4.0.2" + version: "4.0.3" build_resolvers: dependency: transitive description: name: build_resolvers - sha256: "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a" + sha256: "99d3980049739a985cf9b21f30881f46db3ebc62c5b8d5e60e27440876b1ba1e" url: "https://pub.dev" source: hosted - version: "2.4.2" + version: "2.4.3" build_runner: dependency: "direct dev" description: name: build_runner - sha256: "028819cfb90051c6b5440c7e574d1896f8037e3c96cf17aaeb054c9311cfbf4d" + sha256: "74691599a5bc750dc96a6b4bfd48f7d9d66453eab04c7f4063134800d6a5c573" url: "https://pub.dev" source: hosted - version: "2.4.13" + version: "2.4.14" build_runner_core: dependency: transitive description: name: build_runner_core - sha256: f8126682b87a7282a339b871298cc12009cb67109cfa1614d6436fb0289193e0 + sha256: "22e3aa1c80e0ada3722fe5b63fd43d9c8990759d0a2cf489c8c5d7b2bdebc021" url: "https://pub.dev" source: hosted - version: "7.3.2" + version: "8.0.0" built_collection: dependency: transitive description: @@ -117,18 +122,18 @@ packages: dependency: transitive description: name: built_value - sha256: c7913a9737ee4007efedaffc968c049fd0f3d0e49109e778edc10de9426005cb + sha256: "28a712df2576b63c6c005c465989a348604960c0958d28be5303ba9baa841ac2" url: "https://pub.dev" source: hosted - version: "8.9.2" + version: "8.9.3" calendar_date_picker2: dependency: "direct main" description: name: calendar_date_picker2 - sha256: "986955aea43081c8cf70fe01735ccdfe9a7041218b2be53ed92d5d4e639e8a1a" + sha256: b5169b1e6aea0890ff4acaa037c81b697e985b149da64ae53e96afcfebb2e18e url: "https://pub.dev" source: hosted - version: "1.1.7" + version: "1.1.8" characters: dependency: transitive description: @@ -173,10 +178,10 @@ packages: dependency: transitive description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.19.0" convert: dependency: transitive description: @@ -205,10 +210,10 @@ packages: dependency: transitive description: name: dart_style - sha256: "99e066ce75c89d6b29903d788a7bb9369cf754f7b24bf70bf4b6d6d6b26853b9" + sha256: "7856d364b589d1f08986e140938578ed36ed948581fbc3bc9aef1805039ac5ab" url: "https://pub.dev" source: hosted - version: "2.3.6" + version: "2.3.7" dots_indicator: dependency: transitive description: @@ -229,10 +234,10 @@ packages: dependency: transitive description: name: equatable - sha256: c2b87cb7756efdf69892005af546c56c0b5037f54d2a88269b4f347a505e3ca2 + sha256: "567c64b3cb4cf82397aac55f4f0cbd3ca20d77c6c03bedbc4ceaddc08904aef7" url: "https://pub.dev" source: hosted - version: "2.0.5" + version: "2.0.7" fake_async: dependency: transitive description: @@ -261,10 +266,10 @@ packages: dependency: "direct main" description: name: file_picker - sha256: "16dc141db5a2ccc6520ebb6a2eb5945b1b09e95085c021d9f914f8ded7f1465c" + sha256: c904b4ab56d53385563c7c39d8e9fa9af086f91495dfc48717ad84a42c3cf204 url: "https://pub.dev" source: hosted - version: "8.1.4" + version: "8.1.7" fixnum: dependency: transitive description: @@ -277,10 +282,10 @@ packages: dependency: "direct main" description: name: fl_chart - sha256: "74959b99b92b9eebeed1a4049426fd67c4abc3c5a0f4d12e2877097d6a11ae08" + sha256: c724234b05e378383e958f3e82ca84a3e1e3c06a0898462044dd8a24b1ee9864 url: "https://pub.dev" source: hosted - version: "0.69.2" + version: "0.70.0" flutter: dependency: "direct main" description: flutter @@ -360,18 +365,18 @@ packages: dependency: transitive description: name: flutter_plugin_android_lifecycle - sha256: "9b78450b89f059e96c9ebb355fa6b3df1d6b330436e0b885fb49594c41721398" + sha256: "615a505aef59b151b46bbeef55b36ce2b6ed299d160c51d84281946f0aa0ce0e" url: "https://pub.dev" source: hosted - version: "2.0.23" + version: "2.0.24" flutter_svg: dependency: "direct main" description: name: flutter_svg - sha256: "936d9c1c010d3e234d1672574636f3352b4941ca3decaddd3cafaeb9ad49c471" + sha256: "54900a1a1243f3c4a5506d853a2b5c2dbc38d5f27e52a52618a8054401431123" url: "https://pub.dev" source: hosted - version: "2.0.15" + version: "2.0.16" flutter_test: dependency: "direct dev" description: flutter @@ -450,18 +455,18 @@ packages: dependency: transitive description: name: http_multi_server - sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b" + sha256: aa6199f908078bb1c5efb8d8638d4ae191aac11b311132c3ef48ce352fb52ef8 url: "https://pub.dev" source: hosted - version: "3.2.1" + version: "3.2.2" http_parser: dependency: transitive description: name: http_parser - sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" + sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571" url: "https://pub.dev" source: hosted - version: "4.0.2" + version: "4.1.2" image: dependency: transitive description: @@ -474,10 +479,10 @@ packages: dependency: "direct main" description: name: intl - sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf + sha256: "00f33b908655e606b86d2ade4710a231b802eec6f11e87e4ea3783fd72077a50" url: "https://pub.dev" source: hosted - version: "0.19.0" + version: "0.20.1" introduction_screen: dependency: "direct main" description: @@ -490,10 +495,10 @@ packages: dependency: transitive description: name: io - sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" + sha256: dfd5a80599cf0165756e3181807ed3e77daf6dd4137caaad72d0b7931597650b url: "https://pub.dev" source: hosted - version: "1.0.4" + version: "1.0.5" js: dependency: transitive description: @@ -514,18 +519,18 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" + sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" url: "https://pub.dev" source: hosted - version: "10.0.5" + version: "10.0.7" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" + sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.8" leak_tracker_testing: dependency: transitive description: @@ -538,10 +543,10 @@ packages: dependency: transitive description: name: lints - sha256: "3315600f3fb3b135be672bf4a178c55f274bebe368325ae18462c89ac1e3b413" + sha256: c35bb79562d980e9a453fc715854e1ed39e24e7d0297a880ef54e17f9874a9d7 url: "https://pub.dev" source: hosted - version: "5.0.0" + version: "5.1.1" logging: dependency: transitive description: @@ -550,6 +555,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.3.0" + macros: + dependency: transitive + description: + name: macros + sha256: "1d9e801cd66f7ea3663c45fc708450db1fa57f988142c64289142c9b7ee80656" + url: "https://pub.dev" + source: hosted + version: "0.1.3-main.0" matcher: dependency: transitive description: @@ -602,26 +615,26 @@ packages: dependency: transitive description: name: package_config - sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" + sha256: "92d4488434b520a62570293fbd33bb556c7d49230791c1b4bbd973baf6d2dc67" url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.1" package_info_plus: dependency: "direct main" description: name: package_info_plus - sha256: da8d9ac8c4b1df253d1a328b7bf01ae77ef132833479ab40763334db13b91cce + sha256: "70c421fe9d9cc1a9a7f3b05ae56befd469fe4f8daa3b484823141a55442d858d" url: "https://pub.dev" source: hosted - version: "8.1.1" + version: "8.1.2" package_info_plus_platform_interface: dependency: transitive description: name: package_info_plus_platform_interface - sha256: ac1f4a4847f1ade8e6a87d1f39f5d7c67490738642e2542f559ec38c37489a66 + sha256: a5ef9986efc7bf772f2696183a3992615baa76c1ffb1189318dd8803778fb05b url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "3.0.2" path: dependency: transitive description: @@ -650,18 +663,18 @@ packages: dependency: transitive description: name: path_provider_android - sha256: c464428172cb986b758c6d1724c603097febb8fb855aa265aeecc9280c294d4a + sha256: "4adf4fd5423ec60a29506c76581bc05854c55e3a0b72d35bb28d661c9686edf2" url: "https://pub.dev" source: hosted - version: "2.2.12" + version: "2.2.15" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16 + sha256: "4843174df4d288f5e29185bd6e72a6fbdf5a4a4602717eed565497429f179942" url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "2.4.1" path_provider_linux: dependency: transitive description: @@ -738,18 +751,18 @@ packages: dependency: transitive description: name: pub_semver - sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c" + sha256: "7b3cfbf654f3edd0c6298ecd5be782ce997ddf0e00531b9464b55245185bbbbd" url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.1.5" pubspec_parse: dependency: transitive description: name: pubspec_parse - sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8 + sha256: "81876843eb50dc2e1e5b151792c9a985c5ed2536914115ed04e9c8528f6647b0" url: "https://pub.dev" source: hosted - version: "1.3.0" + version: "1.4.0" quiver: dependency: transitive description: @@ -762,42 +775,42 @@ packages: dependency: "direct main" description: name: share_plus - sha256: "9c9bafd4060728d7cdb2464c341743adbd79d327cb067ec7afb64583540b47c8" + sha256: "6327c3f233729374d0abaafd61f6846115b2a481b4feddd8534211dc10659400" url: "https://pub.dev" source: hosted - version: "10.1.2" + version: "10.1.3" share_plus_platform_interface: dependency: transitive description: name: share_plus_platform_interface - sha256: c57c0bbfec7142e3a0f55633be504b796af72e60e3c791b44d5a017b985f7a48 + sha256: cc012a23fc2d479854e6c80150696c4a5f5bb62cb89af4de1c505cf78d0a5d0b url: "https://pub.dev" source: hosted - version: "5.0.1" + version: "5.0.2" shared_preferences: dependency: "direct main" description: name: shared_preferences - sha256: "95f9997ca1fb9799d494d0cb2a780fd7be075818d59f00c43832ed112b158a82" + sha256: a752ce92ea7540fc35a0d19722816e04d0e72828a4200e83a98cf1a1eb524c9a url: "https://pub.dev" source: hosted - version: "2.3.3" + version: "2.3.5" shared_preferences_android: dependency: transitive description: name: shared_preferences_android - sha256: "3b9febd815c9ca29c9e3520d50ec32f49157711e143b7a4ca039eb87e8ade5ab" + sha256: "02a7d8a9ef346c9af715811b01fbd8e27845ad2c41148eefd31321471b41863d" url: "https://pub.dev" source: hosted - version: "2.3.3" + version: "2.4.0" shared_preferences_foundation: dependency: transitive description: name: shared_preferences_foundation - sha256: "07e050c7cd39bad516f8d64c455f04508d09df104be326d8c02551590a0d513d" + sha256: "6a52cfcdaeac77cad8c97b539ff688ccfc458c007b4db12be584fbe5c0e49e03" url: "https://pub.dev" source: hosted - version: "2.5.3" + version: "2.5.4" shared_preferences_linux: dependency: transitive description: @@ -834,23 +847,23 @@ packages: dependency: transitive description: name: shelf - sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4 + sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12 url: "https://pub.dev" source: hosted - version: "1.4.1" + version: "1.4.2" shelf_web_socket: dependency: transitive description: name: shelf_web_socket - sha256: "073c147238594ecd0d193f3456a5fe91c4b0abbcc68bf5cd95b36c4e194ac611" + sha256: cc36c297b52866d203dbf9332263c94becc2fe0ceaa9681d07b6ef9807023b67 url: "https://pub.dev" source: hosted - version: "2.0.0" + version: "2.0.1" sky_engine: dependency: transitive description: flutter source: sdk - version: "0.0.99" + version: "0.0.0" source_gen: dependency: transitive description: @@ -863,10 +876,10 @@ packages: dependency: transitive description: name: source_helper - sha256: "6adebc0006c37dd63fe05bca0a929b99f06402fc95aa35bf36d67f5c06de01fd" + sha256: "86d247119aedce8e63f4751bd9626fc9613255935558447569ad42f9f5b48b3c" url: "https://pub.dev" source: hosted - version: "1.3.4" + version: "1.3.5" source_span: dependency: transitive description: @@ -887,10 +900,10 @@ packages: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.12.0" stream_channel: dependency: transitive description: @@ -903,18 +916,18 @@ packages: dependency: transitive description: name: stream_transform - sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f" + sha256: ad47125e588cfd37a9a7f86c7d6356dde8dfe89d071d293f80ca9e9273a33871 url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.1.1" string_scanner: dependency: transitive description: name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.3.0" term_glyph: dependency: transitive description: @@ -927,18 +940,18 @@ packages: dependency: transitive description: name: test_api - sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" + sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" url: "https://pub.dev" source: hosted - version: "0.7.2" + version: "0.7.3" timing: dependency: transitive description: name: timing - sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32" + sha256: "62ee18aca144e4a9f29d212f5a4c6a053be252b895ab14b5821996cff4ed90fe" url: "https://pub.dev" source: hosted - version: "1.0.1" + version: "1.0.2" translations_cleaner: dependency: "direct dev" description: @@ -975,26 +988,26 @@ packages: dependency: transitive description: name: url_launcher_ios - sha256: e43b677296fadce447e987a2f519dcf5f6d1e527dc35d01ffab4fff5b8a7063e + sha256: "16a513b6c12bb419304e72ea0ae2ab4fed569920d1c7cb850263fe3acc824626" url: "https://pub.dev" source: hosted - version: "6.3.1" + version: "6.3.2" url_launcher_linux: dependency: transitive description: name: url_launcher_linux - sha256: e2b9622b4007f97f504cd64c0128309dfb978ae66adbe944125ed9e1750f06af + sha256: "4e9ba368772369e3e08f231d2301b4ef72b9ff87c31192ef471b380ef29a4935" url: "https://pub.dev" source: hosted - version: "3.2.0" + version: "3.2.1" url_launcher_macos: dependency: transitive description: name: url_launcher_macos - sha256: "769549c999acdb42b8bcfa7c43d72bf79a382ca7441ab18a808e101149daf672" + sha256: "17ba2000b847f334f16626a574c702b196723af2a289e7a93ffcb79acff855c2" url: "https://pub.dev" source: hosted - version: "3.2.1" + version: "3.2.2" url_launcher_platform_interface: dependency: transitive description: @@ -1031,10 +1044,10 @@ packages: dependency: transitive description: name: vector_graphics - sha256: "773c9522d66d523e1c7b25dfb95cc91c26a1e17b107039cfe147285e92de7878" + sha256: "27d5fefe86fb9aace4a9f8375b56b3c292b64d8c04510df230f849850d912cb7" url: "https://pub.dev" source: hosted - version: "1.1.14" + version: "1.1.15" vector_graphics_codec: dependency: transitive description: @@ -1047,10 +1060,10 @@ packages: dependency: transitive description: name: vector_graphics_compiler - sha256: ab9ff38fc771e9ee1139320adbe3d18a60327370c218c60752068ebee4b49ab1 + sha256: "1b4b9e706a10294258727674a340ae0d6e64a7231980f9f9a3d12e4b42407aad" url: "https://pub.dev" source: hosted - version: "1.1.15" + version: "1.1.16" vector_math: dependency: transitive description: @@ -1063,18 +1076,18 @@ packages: dependency: transitive description: name: vm_service - sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" + sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b url: "https://pub.dev" source: hosted - version: "14.2.5" + version: "14.3.0" watcher: dependency: transitive description: name: watcher - sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8" + sha256: "69da27e49efa56a15f8afe8f4438c4ec02eff0a117df1b22ea4aad194fe1c104" url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "1.1.1" web: dependency: transitive description: @@ -1103,10 +1116,10 @@ packages: dependency: transitive description: name: win32 - sha256: "84ba388638ed7a8cb3445a320c8273136ab2631cd5f2c57888335504ddab1bc2" + sha256: "154360849a56b7b67331c21f09a386562d88903f90a1099c5987afc1912e1f29" url: "https://pub.dev" source: hosted - version: "5.8.0" + version: "5.10.0" xdg_directories: dependency: transitive description: @@ -1127,10 +1140,10 @@ packages: dependency: transitive description: name: yaml - sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" + sha256: b9da305ac7c39faa3f030eccd175340f968459dae4af175130b3fc47e40d76ce url: "https://pub.dev" source: hosted - version: "3.1.2" + version: "3.1.3" sdks: - dart: ">=3.5.0 <4.0.0" - flutter: ">=3.24.4" + dart: ">=3.6.0 <4.0.0" + flutter: ">=3.27.1" From cf22bef376823d60579c48e0c926af9307b53c89 Mon Sep 17 00:00:00 2001 From: braniii Date: Sun, 5 Jan 2025 17:31:48 +0100 Subject: [PATCH 04/10] Enable new language Slovenian and Estonian. --- app/lib/core/language.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/lib/core/language.dart b/app/lib/core/language.dart index 3d773aa..150f520 100644 --- a/app/lib/core/language.dart +++ b/app/lib/core/language.dart @@ -31,15 +31,17 @@ class Language { 'de': 'Deutsch', 'en': 'English', 'es': 'Español', + 'et': 'Eesti keel', 'fi': 'Suomi', 'fr': 'Français', - 'hr': 'hrvatski', + 'hr': 'Hrvatski', 'it': 'Italiano', 'ko': '조선말', 'lt': 'Lietuvių', 'nb': 'Bokmål', - 'pl': 'język polski', + 'pl': 'Język polski', 'pt': 'Português', + 'sl': 'Slovenščina', 'tr': 'Türkçe', 'uk': 'Українська мова', 'zh': '汉语', From cadd99ad4f424b59a043892073237afccd7e3146 Mon Sep 17 00:00:00 2001 From: braniii Date: Sun, 5 Jan 2025 17:36:50 +0100 Subject: [PATCH 05/10] Update changelog. --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a01a70a..c27100c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,16 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Added Features and Improvements 🙌: +- Hello World! Thx to the community, the app is now available in Estonian and Slovenian 🎉 +- Allow setting the first day of the week, thx to @olker159 +- Using the latest flutter 3.27 with upgraded deps + +### Other changes: +- Improved and restructered settings page + +### Bugfix 🐛: +- Fixed the estimation of the current/max streak, see #183 ## [0.8.1] - 2024-11-14 From 350f52945225626eb38ec8042eeb809fc128e841 Mon Sep 17 00:00:00 2001 From: braniii Date: Sun, 5 Jan 2025 18:30:51 +0100 Subject: [PATCH 06/10] Use selected date format and clean up usage of datepicker dialog. --- app/lib/core/printFormat.dart | 32 ++++++++--------- app/lib/core/traleNotifier.dart | 40 ++++++++++++--------- app/lib/pages/settings.dart | 2 +- app/lib/widget/addWeightDialog.dart | 54 ++++++++++++++++++++--------- 4 files changed, 78 insertions(+), 50 deletions(-) diff --git a/app/lib/core/printFormat.dart b/app/lib/core/printFormat.dart index 3136fd7..47640e3 100644 --- a/app/lib/core/printFormat.dart +++ b/app/lib/core/printFormat.dart @@ -28,26 +28,26 @@ extension TraleDateFormatExtension on TraleDatePrintFormat { TraleDatePrintFormat.ddMMyyyyDot: 'dd.MM.yyyy', }; + /// Mapping of date formats to their patterns + static const _patternMappingShort = { + TraleDatePrintFormat.systemDefault: null, + TraleDatePrintFormat.yyyyMMdd: 'MM/dd', + TraleDatePrintFormat.ddMMyyyy: 'dd/MM', + TraleDatePrintFormat.MMddyyyy: 'MM/dd', + TraleDatePrintFormat.ddMMyyyyDot: 'dd.MM', + }; + /// Get the pattern associated with each format option, using a custom format if provided - String? getPattern([String? customPattern]) { - return _patternMapping[this]; - } + String? get pattern => _patternMapping[this]; + + /// Get the pattern associated with each format option, using a custom format if provided + String? get patternShort => _patternMappingShort[this]; /// Format a DateTime object according to the selected format - String formatDate(DateTime date, {String? customPattern}) { - final pattern = getPattern(customPattern); - return DateFormat(pattern).format(date); - } + DateFormat get dateFormat => DateFormat(pattern); - /// Parse a date string into DateTime based on the selected format - DateTime? parseDate(String dateString, {String? customPattern}) { - try { - final pattern = getPattern(customPattern); - return DateFormat(pattern).parse(dateString); - } catch (e) { - return null; - } - } + /// Format a DateTime object according to the selected format without year + DateFormat get dayFormat => DateFormat(patternShort); /// Get the string name for each date format String get name => toString().split('.').last; diff --git a/app/lib/core/traleNotifier.dart b/app/lib/core/traleNotifier.dart index 96c94dd..3cad4c6 100644 --- a/app/lib/core/traleNotifier.dart +++ b/app/lib/core/traleNotifier.dart @@ -138,30 +138,38 @@ class TraleNotifier with ChangeNotifier { /// getter DateFormat dateFormat(BuildContext context) { - final Locale activeLocale = Localizations.localeOf(context); - if (dateTimePatternMap().containsKey(activeLocale.languageCode)) { - final Map dateTimeLocaleMap = - dateTimePatternMap()[activeLocale.languageCode]!; - if (dateTimeLocaleMap.containsKey('yMd')) { - return DateFormat(dateTimeLocaleMap['yMd']! - .replaceFirst('d', 'dd') - .replaceFirst('M', 'MM')); + if (datePrintFormat == TraleDatePrintFormat.systemDefault) { + final Locale activeLocale = Localizations.localeOf(context); + if (dateTimePatternMap().containsKey(activeLocale.languageCode)) { + final Map dateTimeLocaleMap = + dateTimePatternMap()[activeLocale.languageCode]!; + if (dateTimeLocaleMap.containsKey('yMd')) { + return DateFormat(dateTimeLocaleMap['yMd']! + .replaceFirst('d', 'dd') + .replaceFirst('M', 'MM')); + } } + } else { + return datePrintFormat.dateFormat; } return DateFormat('dd/MM/yyyy'); } /// getter DateFormat dayFormat(BuildContext context) { - final Locale activeLocale = Localizations.localeOf(context); - if (dateTimePatternMap().containsKey(activeLocale.languageCode)) { - final Map dateTimeLocaleMap = - dateTimePatternMap()[activeLocale.languageCode]!; - if (dateTimeLocaleMap.containsKey('Md')) { - return DateFormat(dateTimeLocaleMap['Md']! - .replaceFirst('d', 'dd') - .replaceFirst('M', 'MM')); + if (datePrintFormat == TraleDatePrintFormat.systemDefault) { + final Locale activeLocale = Localizations.localeOf(context); + if (dateTimePatternMap().containsKey(activeLocale.languageCode)) { + final Map dateTimeLocaleMap = + dateTimePatternMap()[activeLocale.languageCode]!; + if (dateTimeLocaleMap.containsKey('Md')) { + return DateFormat(dateTimeLocaleMap['Md']! + .replaceFirst('d', 'dd') + .replaceFirst('M', 'MM')); + } } + } else { + return datePrintFormat.dayFormat; } return DateFormat('dd/MM'); } diff --git a/app/lib/pages/settings.dart b/app/lib/pages/settings.dart index 6a59971..06694e2 100644 --- a/app/lib/pages/settings.dart +++ b/app/lib/pages/settings.dart @@ -763,7 +763,7 @@ class DatePrintListTile extends StatelessWidget { in TraleDatePrintFormat.values) DropdownMenuEntry( value: datePrintFormat, - label: datePrintFormat.getPattern() ?? 'Default', + label: datePrintFormat.pattern ?? 'Default', ) ], onSelected: (TraleDatePrintFormat? newDatePrintFormat) async { diff --git a/app/lib/widget/addWeightDialog.dart b/app/lib/widget/addWeightDialog.dart index cbf3cf6..f67b9e1 100644 --- a/app/lib/widget/addWeightDialog.dart +++ b/app/lib/widget/addWeightDialog.dart @@ -71,27 +71,47 @@ Future showAddWeightDialog({ ), onTap: () async { final TimeOfDay currentTime = TimeOfDay.fromDateTime(currentDate); - final List selectedDates = - await showCalendarDatePicker2Dialog( - context: context, - config: CalendarDatePicker2WithActionButtonsConfig( - calendarType: CalendarDatePicker2Type.single, - firstDate: DateTime.fromMillisecondsSinceEpoch(0), - lastDate: DateTime.now(), - firstDayOfWeek: notifier.firstDay.asDateTimeWeekday, - ), - dialogSize: Size( - MediaQuery.of(context).size.width * 0.75, - MediaQuery.of(context).size.height * 0.45), - value: [currentDate], - ) ?? - []; + DateTime? selectedDate; + if (notifier.firstDay == TraleFirstDay.Default) { + selectedDate = await showDatePicker( + context: context, + initialDate: currentDate, + firstDate: DateTime.fromMillisecondsSinceEpoch(0), + lastDate: DateTime.now(), + ); + } else { + final List selectedDates = + await showCalendarDatePicker2Dialog( + context: context, + config: CalendarDatePicker2WithActionButtonsConfig( + calendarType: CalendarDatePicker2Type.single, + firstDate: DateTime.fromMillisecondsSinceEpoch(0), + lastDate: DateTime.now(), + firstDayOfWeek: notifier.firstDay.asDateTimeWeekday, + ), + dialogSize: Size( + MediaQuery + .of(context) + .size + .width * 0.85, + MediaQuery + .of(context) + .size + .height * 0.6, + ), + // see https://github.com/flutter/flutter/blob/2d17299f20f3eb164ef21bc80b8079ba293e5985/packages/flutter/lib/src/material/date_picker_theme.dart#L1117C59-L1117C98 + borderRadius: const BorderRadius.all( + Radius.circular(28.0)), + value: [currentDate], + ) ?? + []; + selectedDate = selectedDates.firstOrNull; + } - if (selectedDates.isEmpty || selectedDates.first == null) { + if (selectedDate == null) { return; } - final DateTime selectedDate = selectedDates.first!; currentDate = DateTime( selectedDate.year, From 10900f71dce3b03c1132fe4215b5f611949e65be Mon Sep 17 00:00:00 2001 From: braniii Date: Sun, 5 Jan 2025 18:33:38 +0100 Subject: [PATCH 07/10] Apply dart fixes. --- app/lib/core/firstDay.dart | 15 ++++++++------- app/lib/core/interpolationPreview.dart | 9 ++++----- app/lib/core/printFormat.dart | 4 ++-- app/lib/pages/settings.dart | 8 ++++---- app/lib/widget/addWeightDialog.dart | 7 +++---- 5 files changed, 21 insertions(+), 22 deletions(-) diff --git a/app/lib/core/firstDay.dart b/app/lib/core/firstDay.dart index 943d8bf..462b020 100644 --- a/app/lib/core/firstDay.dart +++ b/app/lib/core/firstDay.dart @@ -1,3 +1,4 @@ +import 'package:intl/date_symbols.dart'; import 'package:intl/intl.dart'; /// Enum representing the first day of the week @@ -21,10 +22,10 @@ enum TraleFirstDay { extension TraleFirstDayExtension on TraleFirstDay { // Caching the localized names static final Map> _localizedNamesCache = - {}; + >{}; /// Mapping of TraleFirstDay values to DateTime weekday values (Monday = 1, Sunday = 7) - static const Map _weekdayMapping = { + static const Map _weekdayMapping = { TraleFirstDay.Default: null, // No specific weekday for Default TraleFirstDay.sunday: DateTime.sunday, TraleFirstDay.monday: DateTime.monday, @@ -41,10 +42,10 @@ extension TraleFirstDayExtension on TraleFirstDay { static Future loadLocalizedNames(String locale) async { if (_localizedNamesCache.containsKey(locale)) return; - final dateSymbols = await DateFormat('EEEE', locale).dateSymbols; - final standaloneWeekdays = dateSymbols.STANDALONEWEEKDAYS; + final DateSymbols dateSymbols = DateFormat('EEEE', locale).dateSymbols; + final List standaloneWeekdays = dateSymbols.STANDALONEWEEKDAYS; - _localizedNamesCache[locale] = { + _localizedNamesCache[locale] = { TraleFirstDay.sunday: standaloneWeekdays[0], TraleFirstDay.monday: standaloneWeekdays[1], TraleFirstDay.tuesday: standaloneWeekdays[2], @@ -61,8 +62,8 @@ extension TraleFirstDayExtension on TraleFirstDay { static TraleFirstDay fromDateTimeWeekday(int weekday) => _weekdayMapping.entries .firstWhere( - (entry) => entry.value == weekday, - orElse: () => MapEntry(TraleFirstDay.sunday, DateTime.sunday), + (MapEntry entry) => entry.value == weekday, + orElse: () => const MapEntry(TraleFirstDay.sunday, DateTime.sunday), ) .key; } diff --git a/app/lib/core/interpolationPreview.dart b/app/lib/core/interpolationPreview.dart index fb5d52c..442bed4 100644 --- a/app/lib/core/interpolationPreview.dart +++ b/app/lib/core/interpolationPreview.dart @@ -3,7 +3,7 @@ import 'package:trale/core/measurementDatabase.dart'; import 'package:trale/core/measurementInterpolation.dart'; -Map _ms_map = { +Map _ms_map = { 0: 78.1, 1: 78.4, 2: 78.3, @@ -29,12 +29,11 @@ List _ms = [ class PreviewDatabase extends MeasurementDatabaseBaseclass { PreviewDatabase(); - List? _measurements = _ms; + final List _measurements = _ms; /// get sorted measurements - List get measurements => _measurements == null - ? [] - : _measurements!..sort( + @override + List get measurements => _measurements ?? []..sort( (Measurement a, Measurement b) => b.compareTo(a) ); } diff --git a/app/lib/core/printFormat.dart b/app/lib/core/printFormat.dart index 47640e3..10ee698 100644 --- a/app/lib/core/printFormat.dart +++ b/app/lib/core/printFormat.dart @@ -20,7 +20,7 @@ enum TraleDatePrintFormat { /// Extension to add functionality to TraleDatePrintFormat extension TraleDateFormatExtension on TraleDatePrintFormat { /// Mapping of date formats to their patterns - static const _patternMapping = { + static const Map _patternMapping = { TraleDatePrintFormat.systemDefault: null, TraleDatePrintFormat.yyyyMMdd: 'yyyy/MM/dd', TraleDatePrintFormat.ddMMyyyy: 'dd/MM/yyyy', @@ -29,7 +29,7 @@ extension TraleDateFormatExtension on TraleDatePrintFormat { }; /// Mapping of date formats to their patterns - static const _patternMappingShort = { + static const Map _patternMappingShort = { TraleDatePrintFormat.systemDefault: null, TraleDatePrintFormat.yyyyMMdd: 'MM/dd', TraleDatePrintFormat.ddMMyyyy: 'dd/MM', diff --git a/app/lib/pages/settings.dart b/app/lib/pages/settings.dart index 06694e2..fd43304 100644 --- a/app/lib/pages/settings.dart +++ b/app/lib/pages/settings.dart @@ -500,7 +500,7 @@ class InterpolationSetting extends StatelessWidget { child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ + children: [ AutoSizeText( AppLocalizations.of(context)!.strength.inCaps, style: Theme.of(context).textTheme.bodyLarge, @@ -526,7 +526,7 @@ class InterpolationSetting extends StatelessWidget { return Column( mainAxisAlignment: MainAxisAlignment.spaceBetween, crossAxisAlignment: CrossAxisAlignment.center, - children: [ + children: [ Container( padding: EdgeInsets.symmetric( horizontal: TraleTheme.of(context)!.padding, @@ -690,8 +690,8 @@ class FirstDayListTile extends StatelessWidget { @override Widget build(BuildContext context) { - final locale = Localizations.localeOf(context).toString(); - final traleNotifier = Provider.of(context); + final String locale = Localizations.localeOf(context).toString(); + final TraleNotifier traleNotifier = Provider.of(context); return FutureBuilder( future: TraleFirstDayExtension.loadLocalizedNames(locale), builder: (BuildContext context, AsyncSnapshot snapshot) { diff --git a/app/lib/widget/addWeightDialog.dart b/app/lib/widget/addWeightDialog.dart index f67b9e1..2ed7ba9 100644 --- a/app/lib/widget/addWeightDialog.dart +++ b/app/lib/widget/addWeightDialog.dart @@ -1,12 +1,12 @@ import 'dart:async'; +import 'package:calendar_date_picker2/calendar_date_picker2.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/app_localizations.dart'; import 'package:intl/intl.dart'; import 'package:phosphor_flutter/phosphor_flutter.dart'; import 'package:provider/provider.dart'; import 'package:trale/core/firstDay.dart'; - import 'package:trale/core/icons.dart'; import 'package:trale/core/measurement.dart'; import 'package:trale/core/measurementDatabase.dart'; @@ -14,7 +14,6 @@ import 'package:trale/core/theme.dart'; import 'package:trale/core/traleNotifier.dart'; import 'package:trale/core/units.dart'; import 'package:trale/widget/weightPicker.dart'; -import 'package:calendar_date_picker2/calendar_date_picker2.dart'; /// Future showAddWeightDialog({ @@ -102,9 +101,9 @@ Future showAddWeightDialog({ // see https://github.com/flutter/flutter/blob/2d17299f20f3eb164ef21bc80b8079ba293e5985/packages/flutter/lib/src/material/date_picker_theme.dart#L1117C59-L1117C98 borderRadius: const BorderRadius.all( Radius.circular(28.0)), - value: [currentDate], + value: [currentDate], ) ?? - []; + []; selectedDate = selectedDates.firstOrNull; } From b103826a55e079c7ddedca818a06d8a2995978eb Mon Sep 17 00:00:00 2001 From: Patrick Binder <47981658+gwosd@users.noreply.github.com> Date: Wed, 8 Jan 2025 09:38:11 +0100 Subject: [PATCH 08/10] Fix typos in and update changelog --- CHANGELOG.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c27100c..c9d210d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,15 +12,17 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). [//]: # (### Bugfix 🐛:) [//]: # (### Other changes:) - ## [Unreleased] + + +## [0.9.0] - 2025-01-08 ### Added Features and Improvements 🙌: - Hello World! Thx to the community, the app is now available in Estonian and Slovenian 🎉 - Allow setting the first day of the week, thx to @olker159 - Using the latest flutter 3.27 with upgraded deps ### Other changes: -- Improved and restructered settings page +- Improved and restructured settings page ### Bugfix 🐛: - Fixed the estimation of the current/max streak, see #183 @@ -96,7 +98,7 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Other changes: - Disabling interpolation, will now use sigma=2days for extrapolation prediction -- Removed v0.6.0 due to critical bug when user targe weight was set. +- Removed v0.6.0 due to critical bug when user target weight was set. ## [0.5.0] - 2024-01-25 @@ -110,7 +112,7 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Accelerated import ### Bugfix 🐛: -- Fix bug, that allowed target weights below 50kg +- Fix bug, that allowed target weights below 50 kg ## [0.4.6] - 2024-01-08 @@ -188,7 +190,7 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [0.3.0] - 2023-09-05 ### Added Features and Improvements 🙌: - Add support for themed app icon (android 13) -- Using latest flutter 3.13 version with improved Material You theme +- Using the latest flutter 3.13 version with improved Material You theme - Update measurement list - Add import and export feature @@ -198,7 +200,7 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [0.2.2] - 2022-10-18 ### Added Features and Improvements 🙌: -- All new measurment screen including now achievemts +- All new measurement screen including now achievements ### Bugfix 🐛: - Show current slope on start screen widget instead of 30 days average @@ -229,14 +231,15 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Many new themes, improved zoom levels, many fixed bugs and so much more. ### Other changes: -- Added fastelone to publish app +- Added fastlane to publish app ## [0.1.0] - 2022-03-01 - initial release -[Unreleased]: https://github.com/quantumphysique/trale/compare/v0.8.1...main +[Unreleased]: https://github.com/quantumphysique/trale/compare/v0.9.0...main +[0.9.0]: https://github.com/quantumphysique/trale/compare/v0.8.1...v0.9.0 [0.8.1]: https://github.com/quantumphysique/trale/compare/v0.8.0...v0.8.1 [0.8.0]: https://github.com/quantumphysique/trale/compare/v0.7.2...v0.8.0 [0.7.2]: https://github.com/quantumphysique/trale/compare/v0.7.1...v0.7.2 From e30020588bf5016f72f41ea488614e3b9d870506 Mon Sep 17 00:00:00 2001 From: Patrick Binder <47981658+gwosd@users.noreply.github.com> Date: Wed, 8 Jan 2025 09:39:13 +0100 Subject: [PATCH 09/10] Bump version to 0.9.0 and add changelog to fastlane --- app/pubspec.yaml | 2 +- fastlane/metadata/android/de/changelogs/233.txt | 5 +++++ fastlane/metadata/android/en-US/changelogs/233.txt | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 fastlane/metadata/android/de/changelogs/233.txt create mode 100644 fastlane/metadata/android/en-US/changelogs/233.txt diff --git a/app/pubspec.yaml b/app/pubspec.yaml index 2bacf08..04e053a 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 0.8.1+22 +version: 0.9.0+23 environment: sdk: ">=3.6.0 <4.0.0" diff --git a/fastlane/metadata/android/de/changelogs/233.txt b/fastlane/metadata/android/de/changelogs/233.txt new file mode 100644 index 0000000..b58dac0 --- /dev/null +++ b/fastlane/metadata/android/de/changelogs/233.txt @@ -0,0 +1,5 @@ +- Hallo Welt! Dank der Community ist die App jetzt auch auf Estnisch und Slowenisch verfügbar 🎉. +- Erlaubt die Einstellung des ersten Wochentags, dank @olker159 +- Verwendet die neueste Flutter-Version 3.27 mit aktualisierten Deps +- Verbesserte und umstrukturierte Einstellungsseite +- Die Schätzung des aktuellen/maximalen Serie wurde korrigiert, siehe #183 \ No newline at end of file diff --git a/fastlane/metadata/android/en-US/changelogs/233.txt b/fastlane/metadata/android/en-US/changelogs/233.txt new file mode 100644 index 0000000..979351d --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/233.txt @@ -0,0 +1,5 @@ +- Hello World! Thx to the community, the app is now available in Estonian and Slovenian 🎉 +- Allow setting the first day of the week, thx to @olker159 +- Using the latest flutter 3.27 with upgraded deps +- Improved and restructured settings page +- Fixed the estimation of the current/max streak, see #183 \ No newline at end of file From 6ed4a5ba6d369824658ab54cabad61bd1e183690 Mon Sep 17 00:00:00 2001 From: Patrick Binder <47981658+gwosd@users.noreply.github.com> Date: Wed, 8 Jan 2025 13:18:24 +0100 Subject: [PATCH 10/10] Change order of first days (start with Mon) --- app/lib/core/firstDay.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/lib/core/firstDay.dart b/app/lib/core/firstDay.dart index 462b020..c7586ba 100644 --- a/app/lib/core/firstDay.dart +++ b/app/lib/core/firstDay.dart @@ -6,9 +6,6 @@ enum TraleFirstDay { /// Default: locale-based Default, - /// Sunday as the first day of the week - sunday, - /// Monday as the first day of the week monday, @@ -17,6 +14,9 @@ enum TraleFirstDay { /// Saturday as the first day of the week saturday, + + /// Sunday as the first day of the week + sunday, } extension TraleFirstDayExtension on TraleFirstDay {