Skip to content

Commit

Permalink
Added cracking
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuito83 committed Dec 24, 2023
1 parent 8546541 commit ec64627
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 9 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if (flutterRoot == null) {

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '369'
flutterVersionCode = '370'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
Expand Down
6 changes: 3 additions & 3 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 369;
CURRENT_PROJECT_VERSION = 370;
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = 53KVJRJS99;
ENABLE_BITCODE = NO;
Expand Down Expand Up @@ -680,7 +680,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 369;
CURRENT_PROJECT_VERSION = 370;
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = 53KVJRJS99;
ENABLE_BITCODE = NO;
Expand Down Expand Up @@ -718,7 +718,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 369;
CURRENT_PROJECT_VERSION = 370;
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = 53KVJRJS99;
ENABLE_BITCODE = NO;
Expand Down
4 changes: 2 additions & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ import 'package:workmanager/workmanager.dart';

// TODO: CONFIGURE FOR APP RELEASE, include exceptions in Drawer if applicable
const String appVersion = '3.2.4';
const String androidCompilation = '369';
const String iosCompilation = '369';
const String androidCompilation = '370';
const String iosCompilation = '370';

final FirebaseAnalytics analytics = FirebaseAnalytics.instance;

Expand Down
4 changes: 4 additions & 0 deletions lib/models/profile/own_profile_misc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class OwnProfileMisc {
this.cardSkimming,
this.hustling,
this.disposal,
this.cracking,
//
this.cityBank,
this.educationCompleted,
Expand Down Expand Up @@ -91,6 +92,7 @@ class OwnProfileMisc {
String? cardSkimming;
String? hustling;
String? disposal;
String? cracking;
//
CityBank? cityBank;
List<int>? educationCompleted;
Expand Down Expand Up @@ -134,6 +136,7 @@ class OwnProfileMisc {
cardSkimming: json["card_skimming"],
hustling: json["hustling"],
disposal: json["disposal"],
cracking: json["cracking"],
cityBank: json["city_bank"] == null ? null : CityBank.fromJson(json["city_bank"]),
educationCompleted:
json["education_completed"] == null ? null : List<int>.from(json["education_completed"].map((x) => x)),
Expand Down Expand Up @@ -180,6 +183,7 @@ class OwnProfileMisc {
"card_skimming": cardSkimming,
"hustling": hustling,
"disposal": disposal,
"cracking": cracking,
"city_bank": cityBank == null ? null : cityBank!.toJson(),
"education_completed":
educationCompleted == null ? null : List<dynamic>.from(educationCompleted!.map((x) => x)),
Expand Down
15 changes: 14 additions & 1 deletion lib/pages/profile_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3461,6 +3461,7 @@ class ProfilePageState extends State<ProfilePage> with WidgetsBindingObserver {
var cardSkimming = "";
var hustling = "";
var disposal = "";
var cracking = "";
hunting = _miscModel!.hunting ?? "";
racing = _miscModel!.racing ?? "";
reviving = _miscModel!.reviving ?? "";
Expand All @@ -3473,6 +3474,7 @@ class ProfilePageState extends State<ProfilePage> with WidgetsBindingObserver {
cardSkimming = _miscModel!.cardSkimming ?? "";
hustling = _miscModel!.hustling ?? "";
disposal = _miscModel!.disposal ?? "";
cracking = _miscModel!.cracking ?? "";

if (searchForCash.isNotEmpty ||
bootlegging.isNotEmpty ||
Expand All @@ -3482,7 +3484,8 @@ class ProfilePageState extends State<ProfilePage> with WidgetsBindingObserver {
shoplifting.isNotEmpty ||
cardSkimming.isNotEmpty ||
hustling.isNotEmpty ||
disposal.isNotEmpty) {
disposal.isNotEmpty ||
cracking.isNotEmpty) {
crimesExist = true;
}

Expand Down Expand Up @@ -4104,6 +4107,16 @@ class ProfilePageState extends State<ProfilePage> with WidgetsBindingObserver {
SelectableText(disposal),
],
),
if (cracking.isNotEmpty)
Row(
children: [
const SizedBox(
width: 130,
child: Text('Cracking: '),
),
SelectableText(cracking),
],
),
],
),
),
Expand Down
6 changes: 4 additions & 2 deletions lib/utils/changelog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,16 @@ class ChangeLogState extends State<ChangeLog> {
void _createItems() {
final itemList = <ChangeLogItem>[];

// Build 368 - 24/12/2023
// Build 370 - 24/12/2023

// VERSION 3.2.4
final v3_2_4 = ChangeLogItem();
v3_2_4.version = 'Torn PDA v3.2.4';
v3_2_4.date = '28 DEC 2023';
const String feat3_2_4_1 = "Fixed browser crashes in certain devices";
const String feat3_2_4_1 = "Added Cracking to Basic Info card in Profile";
const String feat3_2_4_2 = "Fixed browser crashes in certain devices";
v3_2_4.features.add(feat3_2_4_1);
v3_2_4.features.add(feat3_2_4_2);

// VERSION 3.2.3
final v3_2_3 = ChangeLogItem();
Expand Down

0 comments on commit ec64627

Please sign in to comment.