File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
src/components/intercept/config Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -412,6 +412,8 @@ class FridaConfig extends React.Component<{
412
412
( target ) => target . name . toLowerCase ( )
413
413
) ;
414
414
415
+ const allResultsFiltered = this . fridaTargets . length > 0 && targets . length === 0 ;
416
+
415
417
return < ConfigContainer >
416
418
< SelectedHostBlock >
417
419
< BackButton onClick = { this . deselectHost } />
@@ -425,7 +427,11 @@ class FridaConfig extends React.Component<{
425
427
autoFocus = { true }
426
428
/>
427
429
< FridaTargetList
428
- spinnerText = 'Scanning for apps to intercept...'
430
+ spinnerText = {
431
+ allResultsFiltered
432
+ ? `No '${ this . searchInput } ' apps found...`
433
+ : 'Scanning for apps to intercept...'
434
+ }
429
435
targets = { targets . map ( target => {
430
436
const { id, name } = target ;
431
437
const activating = this . inProgressTargetIds . includes ( id ) ;
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ const SpinnerBlock = styled.div`
16
16
flex-direction: column;
17
17
justify-content: center;
18
18
align-items: center;
19
+
20
+ word-break: break-word;
21
+ padding: 0 10px;
19
22
` ;
20
23
21
24
const Spinner = styled ( Icon ) . attrs ( ( ) => ( {
You can’t perform that action at this time.
0 commit comments