File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -143,12 +143,17 @@ export class AppsComponent implements OnInit, OnDestroy {
143143 if ( ! device ) return false ;
144144 const incompatible = await this . appManager . checkIncompatibility ( device , item ) ;
145145 if ( incompatible ) {
146- MessageDialogComponent . open ( this . modalService , {
146+ const incompatibleConfirm = MessageDialogComponent . open ( this . modalService , {
147147 title : 'Incompatible App' ,
148- message : `App ${ item . title } is marked not compatible with ${ device . name } .` ,
149- positive : 'Close' ,
148+ message : `App ${ item . title } is marked not compatible with ${ device . name } . It may not work properly or not at all.` ,
149+ positive : 'Install Anyway' ,
150+ positiveStyle : 'danger' ,
151+ negative : 'Cancel' ,
152+ autofocus : 'negative' ,
150153 } ) ;
151- return false ;
154+ if ( ! await incompatibleConfirm . result . catch ( ( ) => false ) ) {
155+ return false ;
156+ }
152157 }
153158 const manifest = channel === 'stable' ? item . manifest : item . manifestBeta ;
154159 if ( ! manifest ) {
You can’t perform that action at this time.
0 commit comments