bump version
Some checks are pending
Flutter analyze & test / flutter_analyze_and_test (push) Waiting to run

This commit is contained in:
otsmr 2025-12-27 21:31:53 +01:00
parent 57c73a86ac
commit 20a2d61751
6 changed files with 22 additions and 10 deletions

View file

@ -1,5 +1,13 @@
# Changelog # 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 ## 0.0.74
- Improving uploading speed - Improving uploading speed

View file

@ -50,7 +50,7 @@ final lockRetransStore = Mutex();
/// errors or network changes. /// errors or network changes.
class ApiService { class ApiService {
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 apiHost = kReleaseMode ? 'api.twonly.eu' : 'dev.twonly.eu';
final String apiSecure = kReleaseMode ? 's' : ''; final String apiSecure = kReleaseMode ? 's' : '';
@ -182,6 +182,7 @@ class ApiService {
Future<void> _onDone() async { Future<void> _onDone() async {
Log.info('websocket closed without error'); Log.info('websocket closed without error');
_reconnectionDelay = 60 * 2; // the server closed the connection...
await onClosed(); await onClosed();
} }

View file

@ -163,7 +163,7 @@ Future<void> handleIntentSharedFile(
switch (file.type) { switch (file.type) {
case SharedMediaType.URL: case SharedMediaType.URL:
await handleIntentUrl(context, Uri.parse(file.value!)); // await handleIntentUrl(context, Uri.parse(file.value!));
case SharedMediaType.IMAGE: case SharedMediaType.IMAGE:
var type = MediaType.image; var type = MediaType.image;
if (file.value!.endsWith('.gif')) { if (file.value!.endsWith('.gif')) {

View file

@ -237,9 +237,9 @@ class _ShareImageView extends State<ShareImageView> {
), ),
), ),
floatingActionButton: SizedBox( floatingActionButton: SizedBox(
height: 148, height: 168,
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 20), padding: const EdgeInsets.only(bottom: 20, right: 20),
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.end, mainAxisAlignment: MainAxisAlignment.end,
children: [ children: [
@ -252,7 +252,7 @@ class _ShareImageView extends State<ShareImageView> {
clipBehavior: Clip.hardEdge, clipBehavior: Clip.hardEdge,
decoration: BoxDecoration( decoration: BoxDecoration(
border: border:
Border.all(color: context.color.primary, width: 3), Border.all(color: context.color.primary, width: 2),
color: context.color.primary, color: context.color.primary,
borderRadius: BorderRadius.circular(12), borderRadius: BorderRadius.circular(12),
), ),
@ -304,9 +304,9 @@ class _ShareImageView extends State<ShareImageView> {
const EdgeInsets.symmetric(vertical: 10, horizontal: 30), const EdgeInsets.symmetric(vertical: 10, horizontal: 30),
), ),
backgroundColor: WidgetStateProperty.all<Color>( backgroundColor: WidgetStateProperty.all<Color>(
mediaStoreFutureReady || widget.selectedGroupIds.isEmpty !mediaStoreFutureReady || widget.selectedGroupIds.isEmpty
? Theme.of(context).colorScheme.secondary ? context.color.onSurface
: Theme.of(context).colorScheme.primary, : context.color.primary,
), ),
), ),
label: Text( label: Text(

View file

@ -217,7 +217,10 @@ class MemoriesViewState extends State<MemoriesView> {
} }
Future<void> open( Future<void> open(
BuildContext context, List<MemoryItem> galleryItems, int index) async { BuildContext context,
List<MemoryItem> galleryItems,
int index,
) async {
await Navigator.push( await Navigator.push(
context, context,
PageRouteBuilder( PageRouteBuilder(

View file

@ -3,7 +3,7 @@ description: "twonly, a privacy-friendly way to connect with friends through sec
publish_to: 'none' publish_to: 'none'
version: 0.0.79+79 version: 0.0.80+80
environment: environment:
sdk: ^3.6.0 sdk: ^3.6.0