Skip to content

An open-source cross-platform alternative to AirDrop

release: 1.3.1+12

Tien Do Namf0e880856c70
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a99e445d..56ce0db4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.3.1 (2023-01-03)
+
+- fix: local IP sometimes not found
+
## 1.3.0 (2023-01-03)
- feat: enter custom target address
diff --git a/lib/theme.dart b/lib/theme.dart
index 0b20dbf5..033b3c6d 100644
--- a/lib/theme.dart
+++ b/lib/theme.dart
@@ -37,7 +37,7 @@ ThemeData getTheme(Brightness brightness) {
elevatedButtonTheme: ElevatedButtonThemeData(
style: ElevatedButton.styleFrom(
foregroundColor: brightness == Brightness.dark ? Colors.white : null,
- padding: checkPlatform([TargetPlatform.macOS]) ? const EdgeInsets.all(16) : (checkPlatform([TargetPlatform.windows]) ? const EdgeInsets.symmetric(horizontal: 8, vertical: 16) : const EdgeInsets.symmetric(horizontal: 16, vertical: 8)),
+ padding: checkPlatform([TargetPlatform.windows, TargetPlatform.macOS]) ? const EdgeInsets.all(16) : const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
),
),
textButtonTheme: TextButtonThemeData(
diff --git a/pubspec.yaml b/pubspec.yaml
index ee287b0e..1b32ea76 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -3,7 +3,7 @@ description: An open source cross-platform alternative to AirDrop
publish_to: 'none'
-version: 1.3.0+11
+version: 1.3.1+12
environment:
sdk: '>=2.18.5 <3.0.0'