Skip to content

Commit

Permalink
Merge pull request #15 from ymauray/fix_options
Browse files Browse the repository at this point in the history
fix: show existing deb-get path on options page
  • Loading branch information
ymauray authored Sep 17, 2022
2 parents ba40529 + 870427d commit f046d9b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion lib/pages/options_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ class OptionsPage extends ConsumerWidget {
@override
Widget build(BuildContext context, WidgetRef ref) {
final formKey = GlobalKey<FormBuilderState>();
final controller = TextEditingController();
final controller = TextEditingController(
text: LocalStorage.get(
LocalStorage.debgetpathKey,
'',
),
);

final env = Platform.environment;
final token = env['DEBGET_TOKEN'];
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A new Flutter project.

publish_to: 'none' # Remove this line if you wish to publish to pub.dev

version: 1.1.0-1
version: 1.1.1-1

environment:
sdk: ">=2.17.5 <3.0.0"
Expand Down

0 comments on commit f046d9b

Please sign in to comment.