Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
weihan-plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Wei Han
weihan-plugin
Commits
9471cbcd
Commit
9471cbcd
authored
Dec 01, 2025
by
Wei Han
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code update
parent
d4d839ba
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
42 additions
and
37 deletions
+42
-37
project.pbxproj
example/ios/example.xcodeproj/project.pbxproj
+29
-29
QmsPluginFramework
...ios-arm64/QmsPluginFramework.framework/QmsPluginFramework
+0
-0
QmsPluginFramework
...simulator/QmsPluginFramework.framework/QmsPluginFramework
+0
-0
AppointmentConfirmationViewController.mm
...work/Appointment/AppointmentConfirmationViewController.mm
+3
-2
AppointmentTimeSlotViewController.mm
...ramework/Appointment/AppointmentTimeSlotViewController.mm
+6
-1
AppointmentViewController.mm
...sPluginFramework/Appointment/AppointmentViewController.mm
+3
-4
AppointmentViewMoreViewController.h
...Framework/Appointment/AppointmentViewMoreViewController.h
+1
-1
AppointmentViewMoreViewController.mm
...ramework/Appointment/AppointmentViewMoreViewController.mm
+0
-0
QmsPluginFramework
...ios-arm64/QmsPluginFramework.framework/QmsPluginFramework
+0
-0
QmsPluginFramework
...simulator/QmsPluginFramework.framework/QmsPluginFramework
+0
-0
No files found.
example/ios/example.xcodeproj/project.pbxproj
View file @
9471cbcd
This diff is collapsed.
Click to expand it.
framework/QmsPluginFramework/QmsPluginFramework.xcframework/ios-arm64/QmsPluginFramework.framework/QmsPluginFramework
View file @
9471cbcd
No preview for this file type
framework/QmsPluginFramework/QmsPluginFramework.xcframework/ios-arm64_x86_64-simulator/QmsPluginFramework.framework/QmsPluginFramework
View file @
9471cbcd
No preview for this file type
framework/QmsPluginFramework/QmsPluginFramework/Appointment/AppointmentConfirmationViewController.mm
View file @
9471cbcd
...
@@ -529,8 +529,9 @@
...
@@ -529,8 +529,9 @@
[a addAction:[UIAlertAction actionWithTitle:@"No" style:UIAlertActionStyleCancel handler:nil]];
[a addAction:[UIAlertAction actionWithTitle:@"No" style:UIAlertActionStyleCancel handler:nil]];
[a addAction:[UIAlertAction actionWithTitle:@"Yes" style:UIAlertActionStyleDestructive handler:^(UIAlertAction * _Nonnull action) {
[a addAction:[UIAlertAction actionWithTitle:@"Yes" style:UIAlertActionStyleDestructive handler:^(UIAlertAction * _Nonnull action) {
// pop to dashboard or dismiss - replicate RN behavior
// pop to dashboard or dismiss - replicate RN behavior
if (self.navigationController) {
UIViewController *presenter = self.presentingViewController;
[self.navigationController popToRootViewControllerAnimated:YES];
if (presenter.presentingViewController) {
[presenter.presentingViewController dismissViewControllerAnimated:YES completion:nil];
} else {
} else {
[self dismissViewControllerAnimated:YES completion:nil];
[self dismissViewControllerAnimated:YES completion:nil];
}
}
...
...
framework/QmsPluginFramework/QmsPluginFramework/Appointment/AppointmentTimeSlotViewController.mm
View file @
9471cbcd
...
@@ -363,7 +363,12 @@
...
@@ -363,7 +363,12 @@
[a addAction:[UIAlertAction actionWithTitle:@"No" style:UIAlertActionStyleCancel handler:nil]];
[a addAction:[UIAlertAction actionWithTitle:@"No" style:UIAlertActionStyleCancel handler:nil]];
[a addAction:[UIAlertAction actionWithTitle:@"Yes" style:UIAlertActionStyleDestructive handler:^(UIAlertAction * _Nonnull action) {
[a addAction:[UIAlertAction actionWithTitle:@"Yes" style:UIAlertActionStyleDestructive handler:^(UIAlertAction * _Nonnull action) {
// pop to dashboard or dismiss - replicate RN behavior
// pop to dashboard or dismiss - replicate RN behavior
[self.navigationController popToRootViewControllerAnimated:YES];
UIViewController *presenter = self.presentingViewController;
if (presenter.presentingViewController) {
[presenter.presentingViewController dismissViewControllerAnimated:YES completion:nil];
} else {
[self dismissViewControllerAnimated:YES completion:nil];
}
}]];
}]];
[self presentViewController:a animated:YES completion:nil];
[self presentViewController:a animated:YES completion:nil];
}
}
...
...
framework/QmsPluginFramework/QmsPluginFramework/Appointment/AppointmentViewController.mm
View file @
9471cbcd
...
@@ -517,11 +517,10 @@
...
@@ -517,11 +517,10 @@
}
}
- (void)handleBackTapped {
- (void)handleBackTapped {
if (self.navigationController) {
UIViewController *presenter = self.presentingViewController;
// If inside a navigation controller → go back
if (presenter.presentingViewController) {
[
self.navigationController popViewControllerAnimated:YES
];
[
presenter.presentingViewController dismissViewControllerAnimated:YES completion:nil
];
} else {
} else {
// Otherwise → dismiss modally
[self dismissViewControllerAnimated:YES completion:nil];
[self dismissViewControllerAnimated:YES completion:nil];
}
}
}
}
...
...
framework/QmsPluginFramework/QmsPluginFramework/Appointment/AppointmentViewMoreViewController.h
View file @
9471cbcd
...
@@ -7,7 +7,7 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -7,7 +7,7 @@ NS_ASSUME_NONNULL_BEGIN
@interface
AppointmentViewMoreViewController
:
UIViewController
@interface
AppointmentViewMoreViewController
:
UIViewController
@property
(
nonatomic
,
strong
)
UITableView
*
agendaTable
;
@property
(
nonatomic
,
strong
)
UITableView
*
agendaTable
;
@property
(
nonatomic
,
strong
)
NS
Array
*
agendaList
;
// appointments for selected day
@property
(
nonatomic
,
strong
)
NS
MutableArray
*
agendaList
;
@end
@end
...
...
framework/QmsPluginFramework/QmsPluginFramework/Appointment/AppointmentViewMoreViewController.mm
View file @
9471cbcd
This diff is collapsed.
Click to expand it.
ios/QmsPluginFramework.xcframework/ios-arm64/QmsPluginFramework.framework/QmsPluginFramework
View file @
9471cbcd
No preview for this file type
ios/QmsPluginFramework.xcframework/ios-arm64_x86_64-simulator/QmsPluginFramework.framework/QmsPluginFramework
View file @
9471cbcd
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment