Skip to content

Commit

Permalink
chore: release 1.0.25
Browse files Browse the repository at this point in the history
  • Loading branch information
luke358 committed Aug 25, 2024
1 parent b1186e7 commit 35c2c3e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion lib/pages/add_subscription.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import 'package:podcasts_pro/models/subscription.dart';
import 'package:podcasts_pro/pages/main/subscription_controller.dart';

class AddSubscriptionPage extends StatefulWidget {
const AddSubscriptionPage({super.key});

@override
_AddSubscriptionPageState createState() => _AddSubscriptionPageState();
}
Expand Down Expand Up @@ -66,7 +68,7 @@ class _AddSubscriptionPageState extends State<AddSubscriptionPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text('Add Subscription')),
appBar: AppBar(title: const Text('添加订阅')),
body: Padding(
padding: const EdgeInsets.all(16.0),
child: Column(
Expand Down
6 changes: 3 additions & 3 deletions lib/widgets/speed_slider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ class SpeedSlider extends StatelessWidget {
final ValueChanged<double> onSpeedChanged;

const SpeedSlider({
Key? key,
super.key,
required this.initialSpeed,
required this.onSpeedChanged,
}) : super(key: key);
});

@override
Widget build(BuildContext context) {
Expand Down Expand Up @@ -150,7 +150,7 @@ class SpeedSlider extends StatelessWidget {
Widget _buildTickLabel(String label) {
return Text(
label,
style: TextStyle(fontSize: 12, color: Colors.grey),
style: const TextStyle(fontSize: 12, color: Colors.grey),
);
}
}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: podcasts_pro
description: "A project to listen to podcasts through RSS subscription links."
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

version: 1.0.24
version: 1.0.25

environment:
sdk: '>=3.4.3 <4.0.0'
Expand Down

0 comments on commit 35c2c3e

Please sign in to comment.