|  | @@ 123-128 (lines=6) @@ | 
                                                            
                                    | 120 |  |             'theme_color'      => 'required', | 
                                                            
                                    | 121 |  |             'display'          => 'required', | 
                                                            
                                    | 122 |  |         ]); | 
                                                            
                                    | 123 |  |         if (isset($request->icons) && count($request->icons) > 0) { | 
                                                            
                                    | 124 |  |             foreach ($request->icons as $key => $icon) { | 
                                                            
                                    | 125 |  |                 $destination_path = 'pwa/images/icons/icon-'.$key.'.png'; | 
                                                            
                                    | 126 |  |                 Storage::disk('public')->putFileAs('', $icon, $destination_path); | 
                                                            
                                    | 127 |  |             } | 
                                                            
                                    | 128 |  |         } | 
                                                            
                                    | 129 |  |  | 
                                                            
                                    | 130 |  |         if (isset($request->splashes) && count($request->splashes)) { | 
                                                            
                                    | 131 |  |             foreach ($request->splashes as $key => $splash) { | 
                                                                                
                                |  | @@ 130-135 (lines=6) @@ | 
                                                            
                                    | 127 |  |             } | 
                                                            
                                    | 128 |  |         } | 
                                                            
                                    | 129 |  |  | 
                                                            
                                    | 130 |  |         if (isset($request->splashes) && count($request->splashes)) { | 
                                                            
                                    | 131 |  |             foreach ($request->splashes as $key => $splash) { | 
                                                            
                                    | 132 |  |                 $destination_path = 'pwa/images/icons/splash-'.$key.'.png'; | 
                                                            
                                    | 133 |  |                 Storage::disk('public')->putFileAs('', $splash, $destination_path); | 
                                                            
                                    | 134 |  |             } | 
                                                            
                                    | 135 |  |         } | 
                                                            
                                    | 136 |  |  | 
                                                            
                                    | 137 |  |         $pwa = $this->getPwaInstance(); | 
                                                            
                                    | 138 |  |  |