Files
hash-wallet/lib/view_model/support_view_model.dart
T
jwinterm e8f766dfe6 Rebrand: 'Hash Wallet' → 'Hash Bags' (visible name only)
Avoids any confusion / potential trademark friction with HashWallet
(Spanish hardware-wallet company). Hash Bags is a more distinctive
name, harder to collide with, and we can still rank for 'hash wallet'
search via App Store / Play Store subtitle ('Hash Bags - A Wallet
for your Coins').

What changed (all user-visible strings):
- Launcher labels: android/app.properties, scripts/android/app_env.sh,
  scripts/ios/app_env.sh, linux window title (CMakeLists +
  my_application.cc)
- In-app text: lib/generated/i18n.dart + ARB sources under res/values/
- Brand docs: README.md, CONTRIBUTING.md, PRIVACY.md,
  assets/text/Terms_of_Use.txt, assets/text/Release_Notes.txt
- hash.boats website: index.html, og-image.svg + regen og-image.png,
  site.webmanifest, styles.css comment, splash/confirm/pulse/mark/
  lockup svg titles, report/index.html, server/server.js
- CI workflow display names ("Hash Bags Linux build", etc.)

What did NOT change (deliberate):
- Bundle ID / Package: com.suchsoftware.hashwallet (immutable app
  identity on App Store + Play Store — changing == orphaning the app)
- Binary name: hash_wallet (Linux executable)
- Dart import paths: package:hash_wallet/...
- Git repo: hash-wallet (Such-Software/hash-wallet)
- URL scheme: hashwallet:// (internal deep links)
- support@such.software (no domain change yet)
- App Store / Play Store listing names (whatever was registered there
  stays; we updated launcher label only)
- hash.boats domain (still the wallet site)

Also kept the '#ash Wallet' wordplay in the nav but updated to
'#ash Bags' so the # mark still serves as the H. Nav reads:
[# mark] #ash Bags

Website hero tagline now matches the App Store sub-title concept:
'A wallet for your coins. Open-source, non-custodial, multi-chain.
Privacy-leaning by default.'

108 files modified, ~674 string replacements.
2026-05-19 07:26:45 -04:00

92 lines
3.7 KiB
Dart

import 'package:hash_wallet/.secrets.g.dart' as secrets;
import 'package:hash_wallet/generated/i18n.dart';
import 'package:hash_wallet/store/app_store.dart';
import 'package:hash_wallet/view_model/settings/link_list_item.dart';
import 'package:hash_wallet/view_model/settings/settings_list_item.dart';
import 'package:hash_wallet/wallet_type_utils.dart';
import 'package:mobx/mobx.dart';
part 'support_view_model.g.dart';
class SupportViewModel = SupportViewModelBase with _$SupportViewModel;
abstract class SupportViewModelBase with Store {
final AppStore _appStore;
SupportViewModelBase(this._appStore)
: items = [
// Hash Bags: Cake's own support channels (email, website, forum,
// Discord, Telegram, Telegram bot) gutted — those are Cake Labs
// properties, not ours. Replaced with the only channel we have right
// now: GitHub Issues. The third-party provider support links below
// are kept because they're genuinely useful when a user has trouble
// with a swap/buy via that provider.
LinkListItem(
title: 'GitHub Issues',
icon: 'assets/images/github.png',
hasIconColor: true,
linkTitle: 'github.com/Such-Software/hash-wallet/issues',
link: 'https://github.com/Such-Software/hash-wallet/issues'),
LinkListItem(
title: 'GitHub Releases',
icon: 'assets/images/github.png',
hasIconColor: true,
linkTitle: S.current.apk_update,
link: 'https://github.com/Such-Software/hash-wallet/releases'),
LinkListItem(
title: 'ChangeNow',
icon: 'assets/images/change_now.png',
linkTitle: 'support@changenow.io',
link: 'mailto:support@changenow.io'),
LinkListItem(
title: 'SideShift',
icon: 'assets/images/sideshift.png',
linkTitle: 'help.sideshift.ai',
link: 'https://help.sideshift.ai/en/'),
LinkListItem(
title: 'SimpleSwap',
icon: 'assets/images/simpleSwap.png',
linkTitle: 'support@simpleswap.io',
link: 'mailto:support@simpleswap.io'),
LinkListItem(
title: 'Exolix',
icon: 'assets/images/exolix.png',
linkTitle: 'support@exolix.com',
link: 'mailto:support@exolix.com'),
LinkListItem(
title: 'SwapTrade',
icon: 'assets/images/swap_trade.png',
linkTitle: 'help.swaptrade.io',
link: 'mailto:support@exolix.com'),
LinkListItem(
title: 'Trocador',
icon: 'assets/images/trocador.png',
linkTitle: 'mail@trocador.app',
link: 'mailto:mail@trocador.app'),
];
final docsUrl = 'https://github.com/Such-Software/hash-wallet';
String fetchUrl({String locale = "en", String authToken = ""}) {
var supportUrl =
"https://app.chatwoot.com/widget?website_token=${secrets.chatwootWebsiteToken}&locale=${locale}";
if (authToken.isNotEmpty) supportUrl += "&cw_conversation=$authToken";
return supportUrl;
}
String get appVersion =>
"${isMoneroOnly ? "Monero.com" : "Hash Bags"} - ${_appStore.settingsStore.appVersion}";
String get fiatApiMode => _appStore.settingsStore.fiatApiMode.title;
String get walletType => _appStore.wallet?.type.name ?? 'Unknown';
String get walletSyncState => _appStore.wallet?.syncStatus.toString() ?? 'Unknown';
String get builtInTorState => _appStore.settingsStore.currentBuiltinTor ? 'Enabled' : 'Disabled';
List<SettingsListItem> items;
}