mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-19 05:58:50 +02:00
CAKE-356 | replaced yatAddress to emoji in yat_store.dart, wallet_address_list_view_model.dart and qr_widget.dart; added _fetchEmojiFromUri method to main.dart; changed url for yat service in the yat_alert.dart
This commit is contained in:
@@ -135,14 +135,14 @@ class QRWidget extends StatelessWidget {
|
||||
))),
|
||||
),
|
||||
Observer(builder: (_) {
|
||||
return addressListViewModel.yatAddress.isNotEmpty
|
||||
return addressListViewModel.emoji.isNotEmpty
|
||||
? Padding(
|
||||
padding: EdgeInsets.only(bottom: 10),
|
||||
child: Builder(
|
||||
builder: (context) => GestureDetector(
|
||||
onTap: () {
|
||||
Clipboard.setData(ClipboardData(
|
||||
text: addressListViewModel.yatAddress));
|
||||
text: addressListViewModel.emoji));
|
||||
showBar<void>(
|
||||
context, S.of(context).copied_to_clipboard);
|
||||
},
|
||||
@@ -161,7 +161,7 @@ class QRWidget extends StatelessWidget {
|
||||
Padding(
|
||||
padding: EdgeInsets.only(top: 5),
|
||||
child: Text(
|
||||
addressListViewModel.yatAddress,
|
||||
addressListViewModel.emoji,
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
fontSize: 13,
|
||||
|
||||
@@ -10,8 +10,8 @@ import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
class YatAlert extends StatelessWidget {
|
||||
static const aspectRatioImage = 1.133;
|
||||
static const _baseUrl = 'https://yat.fyi';
|
||||
static const _signInSuffix = '/sign-in';
|
||||
static const _baseUrl = 'https://y.at';
|
||||
static const _signInSuffix = '/partner/CW/link';
|
||||
static const _createSuffix = '/create';
|
||||
final image = Image.asset('assets/images/yat_crypto.png');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user