Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sergdeus committed Apr 18, 2024
2 parents b80ae13 + e340d6c commit f011fa5
Show file tree
Hide file tree
Showing 14 changed files with 640 additions and 284 deletions.
24 changes: 12 additions & 12 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 133;
CURRENT_PROJECT_VERSION = 134;
DEVELOPMENT_TEAM = G8RXR25D89;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand All @@ -445,7 +445,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.1.33;
MARKETING_VERSION = 1.1.34;
PRODUCT_BUNDLE_IDENTIFIER = com.agoradesk.app;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -526,7 +526,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 133;
CURRENT_PROJECT_VERSION = 134;
DEVELOPMENT_TEAM = G8RXR25D89;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand All @@ -535,7 +535,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.1.33;
MARKETING_VERSION = 1.1.34;
PRODUCT_BUNDLE_IDENTIFIER = com.agoradesk.app;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -615,7 +615,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 133;
CURRENT_PROJECT_VERSION = 134;
DEVELOPMENT_TEAM = G8RXR25D89;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand All @@ -624,7 +624,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.1.33;
MARKETING_VERSION = 1.1.34;
PRODUCT_BUNDLE_IDENTIFIER = co.localmonero.app;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -707,7 +707,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 133;
CURRENT_PROJECT_VERSION = 134;
DEVELOPMENT_TEAM = G8RXR25D89;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand All @@ -716,7 +716,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.1.33;
MARKETING_VERSION = 1.1.34;
PRODUCT_BUNDLE_IDENTIFIER = co.localmonero.app;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -795,7 +795,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 133;
CURRENT_PROJECT_VERSION = 134;
DEVELOPMENT_TEAM = G8RXR25D89;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand All @@ -804,7 +804,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.1.33;
MARKETING_VERSION = 1.1.34;
PRODUCT_BUNDLE_IDENTIFIER = com.agoradesk.app;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -882,7 +882,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 133;
CURRENT_PROJECT_VERSION = 134;
DEVELOPMENT_TEAM = G8RXR25D89;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
Expand All @@ -891,7 +891,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.1.33;
MARKETING_VERSION = 1.1.34;
PRODUCT_BUNDLE_IDENTIFIER = co.localmonero.app;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class LocalNotificationController with ForegroundMessagesMixin {
channelDescription: channel.description,
icon: kNotificationIcon,
color: const Color.fromRGBO(0, 0, 0, 1),
largeIcon: const DrawableResourceAndroidBitmap('@mipmap/ic_launcher'),
// colorized: true,
),
),
Expand Down
7 changes: 5 additions & 2 deletions lib/features/account/models/trader_profile_view_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import 'package:agoradesk/features/account/data/models/feedback_model.dart';
import 'package:agoradesk/features/account/data/models/feedback_type.dart';
import 'package:agoradesk/features/account/data/services/account_service.dart';
import 'package:agoradesk/features/ads/data/models/ad_model.dart';
import 'package:agoradesk/features/ads/data/models/ads_request_parameter_model.dart';
import 'package:agoradesk/features/ads/data/repositories/ads_repository.dart';
import 'package:agoradesk/features/trades/models/note_on_user_view_model.dart';
import 'package:provider/provider.dart';
import 'package:vm/vm.dart';

class TraderProfileViewModel extends ViewModel with ErrorParseMixin {
Expand Down Expand Up @@ -87,7 +87,10 @@ class TraderProfileViewModel extends ViewModel with ErrorParseMixin {
Future _getUserAds() async {
loadingAds = true;
ads.clear();
final res = await _adsRepository.getUserAds(profileModel?.username ?? username!);
final res = await _adsRepository.getUserAds(
profileModel?.username ?? username!,
const AdsRequestParameterModel(),
);
loadingAds = false;
if (res.isRight) {
paginationMeta = res.right.pagination;
Expand Down
Loading

0 comments on commit f011fa5

Please sign in to comment.