use preview app id and app name

This commit is contained in:
Adam Velebil 2022-08-04 08:23:07 +02:00
parent a868782a56
commit 4e7ad56634
No known key found for this signature in database
GPG Key ID: AC6D6B9D715FC084
3 changed files with 7 additions and 5 deletions

View File

@ -46,7 +46,7 @@ android {
}
defaultConfig {
applicationId "com.yubico.yubioath"
applicationId "com.yubico.yubioath.preview"
minSdkVersion project.minSdkVersion
targetSdkVersion project.targetSdkVersion
versionCode flutterVersionCode.toInteger()

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_label">Yubico Authenticator</string>
<string name="app_label">Yubico Authenticator Preview</string>
<string name="otp_success">Successfully copied OTP code from YubiKey to clipboard.</string>
<string name="otp_parse_failure">Failed to parse OTP code from YubiKey.</string>
<string name="otp_set_clip_failure">Failed to access clipboard when trying to copy OTP code from YubiKey.</string>

View File

@ -7,12 +7,12 @@ import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:logging/logging.dart';
import 'package:url_launcher/url_launcher.dart';
import 'app/state.dart';
import 'version.dart';
import 'app/logging.dart';
import 'app/message.dart';
import 'app/state.dart';
import 'core/state.dart';
import 'desktop/state.dart';
import 'version.dart';
import 'widgets/responsive_dialog.dart';
final _log = Logger('about');
@ -31,7 +31,9 @@ class AboutPage extends ConsumerWidget {
Padding(
padding: const EdgeInsets.only(top: 24.0),
child: Text(
'Yubico Authenticator',
Platform.isAndroid
? 'Yubico Authenticator Preview'
: 'Yubico Authenticator',
style: Theme.of(context).textTheme.titleMedium,
),
),