Skip to content

Commit

Permalink
Merge pull request #471 from bannzai/release/3.6.1
Browse files Browse the repository at this point in the history
🆙 version 3.6.1
  • Loading branch information
bannzai authored Jan 9, 2022
2 parents db97f0a + a903dc2 commit e25a617
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
11 changes: 6 additions & 5 deletions lib/domain/modal/release_note.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class ReleaseNote extends StatelessWidget {
child: Container(
padding: EdgeInsets.only(top: 40, left: 40, right: 40),
child: Text(
"服用通知を\nカスタマイズできるように",
"服用履歴を\n編集できるように",
style: FontType.subTitle.merge(TextColorStyle.black),
textAlign: TextAlign.center,
),
Expand All @@ -57,7 +57,8 @@ class ReleaseNote extends StatelessWidget {
children: [
Text(
'''
ピルを飲んでいると知られたくない方にオススメ!※こちらの機能はプレミアムメンバー限定になります
服用記録を忘れた時などに便利です。
※こちらの機能はプレミアムメンバー限定になります
''',
style: FontType.assisting.merge(TextColorStyle.main),
),
Expand All @@ -72,7 +73,7 @@ class ReleaseNote extends StatelessWidget {
Navigator.of(context).pop();
await openReleaseNote();
},
text: "設定を見る"),
text: "詳細を見る"),
),
SizedBox(height: 20),
],
Expand All @@ -85,7 +86,7 @@ class ReleaseNote extends StatelessWidget {
}

showReleaseNotePreDialog(BuildContext context) async {
final key = ReleaseNoteKey.version3_5_0;
final key = ReleaseNoteKey.version3_6_0;
final storage = await SharedPreferences.getInstance();
if (storage.getBool(key) ?? false) {
return;
Expand All @@ -103,7 +104,7 @@ openReleaseNote() async {
final ChromeSafariBrowser browser = new ChromeSafariBrowser();
await browser.open(
url: Uri.parse(
"https://pilll.wraptas.site/721b7ae08aa2422e901cae27ffbbbf04"),
"https://pilll.wraptas.site/11e2c70cb56d48e7918514f5797f45e0"),
options: ChromeSafariBrowserClassOptions(
android:
AndroidChromeCustomTabsOptions(addDefaultShareMenuItem: false),
Expand Down
1 change: 1 addition & 0 deletions lib/util/shared_preference/keys.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ extension ReleaseNoteKey on String {
static final String version3_3_0 = "release_notes_shown_3.3.0";
static final String version3_4_0 = "release_notes_shown_3.4.0";
static final String version3_5_0 = "release_notes_shown_3.5.0";
static final String version3_6_0 = "release_notes_shown_3.6.0";
}

extension IntKey on String {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 3.6.0+1671
version: 3.6.1+1671

environment:
sdk: '>=2.12.0 <3.0.0'
Expand Down

0 comments on commit e25a617

Please sign in to comment.