Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 (#429)

Fixes #399
  • Loading branch information
Feichtmeier authored Aug 5, 2023
1 parent d7d7440 commit ba4fd32
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 178 deletions.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import 'package:bluez/bluez.dart';
import 'package:flutter/material.dart';
import 'package:linux_datetime_service/linux_datetime.dart';
import 'package:nm/nm.dart';
import 'package:provider/provider.dart';
import 'package:settings/app.dart';
import 'package:settings/schemas/schemas.dart';
import 'package:settings/services/bluetooth_service.dart';
import 'package:settings/services/date_time_service.dart';
import 'package:settings/services/display/display_service.dart';
import 'package:settings/services/hostname_service.dart';
import 'package:settings/services/house_keeping_service.dart';
Expand Down
175 changes: 0 additions & 175 deletions lib/services/date_time_service.dart

This file was deleted.

2 changes: 1 addition & 1 deletion lib/view/pages/date_and_time/date_time_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import 'dart:async';

import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import 'package:linux_datetime_service/linux_datetime.dart';
import 'package:safe_change_notifier/safe_change_notifier.dart';
import 'package:settings/l10n/l10n.dart';
import 'package:settings/schemas/schemas.dart';
import 'package:settings/services/date_time_service.dart';
import 'package:settings/services/settings_service.dart';

const _kAutomaticTimezone = 'automatic-timezone';
Expand Down
2 changes: 1 addition & 1 deletion lib/view/pages/date_and_time/date_time_page.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'package:flutter/material.dart';
import 'package:linux_datetime_service/linux_datetime.dart';
import 'package:provider/provider.dart';
import 'package:settings/constants.dart';
import 'package:settings/l10n/l10n.dart';
import 'package:settings/services/date_time_service.dart';
import 'package:settings/services/settings_service.dart';
import 'package:settings/view/common/yaru_switch_row.dart';
import 'package:settings/view/pages/date_and_time/date_time_model.dart';
Expand Down
9 changes: 9 additions & 0 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,15 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.1"
linux_datetime_service:
dependency: "direct main"
description:
path: "."
ref: HEAD
resolved-ref: a78261de84040901fae06f31cf94217460030765
url: "https://github.com/ubuntu-flutter-community/linux_datetime"
source: git
version: "1.0.0"
linux_system_info:
dependency: "direct main"
description:
Expand Down
2 changes: 2 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ dependencies:
handy_window: ^0.3.1
http: ^1.1.0
intl: ^0.18.0
linux_datetime_service:
git: https://github.com/ubuntu-flutter-community/linux_datetime
linux_system_info:
git:
url: https://github.com/Feichtmeier/linux_system_info.git
Expand Down

0 comments on commit ba4fd32

Please sign in to comment.