diff --git a/CHANGELOG.md b/CHANGELOG.md index 41c538d..0293ae1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.0.80 + +- Share images/videos directly from other applications +- More customization options in the appearance settings +- Improved UI for changing the display time of images +- Several minor UI improvements +- Several bug fixes + ## 0.0.74 - Improving uploading speed diff --git a/lib/src/services/api.service.dart b/lib/src/services/api.service.dart index 223ea00..850cc6a 100644 --- a/lib/src/services/api.service.dart +++ b/lib/src/services/api.service.dart @@ -50,7 +50,7 @@ final lockRetransStore = Mutex(); /// errors or network changes. class ApiService { ApiService(); - final String apiHost = kReleaseMode ? 'api.twonly.eu' : '192.168.178.88:3030'; + final String apiHost = kReleaseMode ? 'api.twonly.eu' : '192.168.2.178:3030'; // final String apiHost = kReleaseMode ? 'api.twonly.eu' : 'dev.twonly.eu'; final String apiSecure = kReleaseMode ? 's' : ''; @@ -182,6 +182,7 @@ class ApiService { Future _onDone() async { Log.info('websocket closed without error'); + _reconnectionDelay = 60 * 2; // the server closed the connection... await onClosed(); } diff --git a/lib/src/services/intent/links.intent.dart b/lib/src/services/intent/links.intent.dart index f951695..c4a1066 100644 --- a/lib/src/services/intent/links.intent.dart +++ b/lib/src/services/intent/links.intent.dart @@ -163,7 +163,7 @@ Future handleIntentSharedFile( switch (file.type) { case SharedMediaType.URL: - await handleIntentUrl(context, Uri.parse(file.value!)); + // await handleIntentUrl(context, Uri.parse(file.value!)); case SharedMediaType.IMAGE: var type = MediaType.image; if (file.value!.endsWith('.gif')) { diff --git a/lib/src/views/camera/share_image_view.dart b/lib/src/views/camera/share_image_view.dart index db23ac3..83a4ed3 100644 --- a/lib/src/views/camera/share_image_view.dart +++ b/lib/src/views/camera/share_image_view.dart @@ -237,9 +237,9 @@ class _ShareImageView extends State { ), ), floatingActionButton: SizedBox( - height: 148, + height: 168, child: Padding( - padding: const EdgeInsets.symmetric(horizontal: 20), + padding: const EdgeInsets.only(bottom: 20, right: 20), child: Column( mainAxisAlignment: MainAxisAlignment.end, children: [ @@ -252,7 +252,7 @@ class _ShareImageView extends State { clipBehavior: Clip.hardEdge, decoration: BoxDecoration( border: - Border.all(color: context.color.primary, width: 3), + Border.all(color: context.color.primary, width: 2), color: context.color.primary, borderRadius: BorderRadius.circular(12), ), @@ -304,9 +304,9 @@ class _ShareImageView extends State { const EdgeInsets.symmetric(vertical: 10, horizontal: 30), ), backgroundColor: WidgetStateProperty.all( - mediaStoreFutureReady || widget.selectedGroupIds.isEmpty - ? Theme.of(context).colorScheme.secondary - : Theme.of(context).colorScheme.primary, + !mediaStoreFutureReady || widget.selectedGroupIds.isEmpty + ? context.color.onSurface + : context.color.primary, ), ), label: Text( diff --git a/lib/src/views/memories/memories.view.dart b/lib/src/views/memories/memories.view.dart index 8125f4a..483053d 100644 --- a/lib/src/views/memories/memories.view.dart +++ b/lib/src/views/memories/memories.view.dart @@ -217,7 +217,10 @@ class MemoriesViewState extends State { } Future open( - BuildContext context, List galleryItems, int index) async { + BuildContext context, + List galleryItems, + int index, + ) async { await Navigator.push( context, PageRouteBuilder( diff --git a/pubspec.yaml b/pubspec.yaml index d441e98..932ff83 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: "twonly, a privacy-friendly way to connect with friends through sec publish_to: 'none' -version: 0.0.79+79 +version: 0.0.80+80 environment: sdk: ^3.6.0