@@ -38,7 +38,9 @@ export default function App({ navigation }) {
38
38
style = { styles . algoBox }
39
39
onPress = { ( ) => navigation . navigate ( "FCFS Algorithm" , Algorithms [ 0 ] ) }
40
40
>
41
- < View style = { styles . algoBox } backgroundColor = "rgb(5, 116, 95)" >
41
+ < View
42
+ style = { [ styles . algoBox , { backgroundColor : "rgb(5, 116, 95)" } ] }
43
+ >
42
44
< LinearGradient
43
45
colors = { [ "rgba(59,223,210,0.8)" , "transparent" ] }
44
46
style = { styles . algoBgColor }
@@ -56,7 +58,9 @@ export default function App({ navigation }) {
56
58
style = { styles . algoBox }
57
59
onPress = { ( ) => navigation . navigate ( "SJF Algorithm" , Algorithms [ 1 ] ) }
58
60
>
59
- < View style = { styles . algoBox } backgroundColor = "rgb(25,84,123)" >
61
+ < View
62
+ style = { [ styles . algoBox , { backgroundColor : "rgb(25,84,123)" } ] }
63
+ >
60
64
< LinearGradient
61
65
colors = { [ "rgba(255, 170, 34,0.8)" , "transparent" ] }
62
66
style = { styles . algoBgColor }
@@ -74,7 +78,9 @@ export default function App({ navigation }) {
74
78
style = { styles . algoBox }
75
79
onPress = { ( ) => navigation . navigate ( "SRTF Algorithm" , Algorithms [ 2 ] ) }
76
80
>
77
- < View style = { styles . algoBox } backgroundColor = "rgb(1, 95, 223)" >
81
+ < View
82
+ style = { [ styles . algoBox , { backgroundColor : "rgb(1, 95, 223)" } ] }
83
+ >
78
84
< LinearGradient
79
85
colors = { [ "rgba(30, 210, 252,0.8)" , "transparent" ] }
80
86
style = { styles . algoBgColor }
@@ -94,7 +100,9 @@ export default function App({ navigation }) {
94
100
navigation . navigate ( "Round Robin Algorithm" , Algorithms [ 3 ] )
95
101
}
96
102
>
97
- < View style = { styles . algoBox } backgroundColor = "rgb(250, 5, 17)" >
103
+ < View
104
+ style = { [ styles . algoBox , { backgroundColor : "rgb(255, 170, 34)" } ] }
105
+ >
98
106
< LinearGradient
99
107
colors = { [ "rgba(182, 10, 250, 0.95)" , "transparent" ] }
100
108
style = { styles . algoBgColor }
@@ -115,7 +123,12 @@ export default function App({ navigation }) {
115
123
style = { styles . algoBox }
116
124
onPress = { ( ) => navigation . navigate ( "LJF Algorithm" , Algorithms [ 4 ] ) }
117
125
>
118
- < View style = { styles . algoBox } backgroundColor = "rgb(178, 138, 242)" >
126
+ < View
127
+ style = { [
128
+ styles . algoBox ,
129
+ { backgroundColor : "rgb(178, 138, 242)" } ,
130
+ ] }
131
+ >
119
132
< LinearGradient
120
133
colors = { [ "rgba(59, 31, 165,0.8)" , "transparent" ] }
121
134
style = { styles . algoBgColor }
@@ -133,7 +146,9 @@ export default function App({ navigation }) {
133
146
style = { styles . algoBox }
134
147
onPress = { ( ) => navigation . navigate ( "LRTF Algorithm" , Algorithms [ 5 ] ) }
135
148
>
136
- < View style = { styles . algoBox } backgroundColor = "rgb(255, 170, 34)" >
149
+ < View
150
+ style = { [ styles . algoBox , { backgroundColor : "rgb(255, 170, 34)" } ] }
151
+ >
137
152
< LinearGradient
138
153
colors = { [ "rgba(121, 74, 0,0.8)" , "transparent" ] }
139
154
style = { styles . algoBgColor }
@@ -153,7 +168,12 @@ export default function App({ navigation }) {
153
168
navigation . navigate ( "PRIORITY SCHEDULING(P)" , Algorithms [ 6 ] )
154
169
}
155
170
>
156
- < View style = { styles . algoBox_P } backgroundColor = "rgb(250, 15, 15)" >
171
+ < View
172
+ style = { [
173
+ styles . algoBox_P ,
174
+ { backgroundColor : "rgb(250, 15, 15)" } ,
175
+ ] }
176
+ >
157
177
< LinearGradient
158
178
colors = { [ "rgba(238, 234, 27,0.8)" , "transparent" ] }
159
179
style = { styles . algoBgColor }
@@ -183,7 +203,12 @@ export default function App({ navigation }) {
183
203
navigation . navigate ( "PRIORITY SCHEDULING(NP)" , Algorithms [ 7 ] )
184
204
}
185
205
>
186
- < View style = { styles . algoBox_P } backgroundColor = "rgb(250, 15, 15)" >
206
+ < View
207
+ style = { [
208
+ styles . algoBox_P ,
209
+ { backgroundColor : "rgb(250, 15, 15)" } ,
210
+ ] }
211
+ >
187
212
< LinearGradient
188
213
colors = { [ "rgba(238, 234, 27,0.8)" , "transparent" ] }
189
214
style = { styles . algoBgColor }
@@ -211,7 +236,9 @@ export default function App({ navigation }) {
211
236
style = { styles . historyBox }
212
237
onPress = { ( ) => navigation . navigate ( "Input History" ) }
213
238
>
214
- < View style = { styles . historyBoxView } backgroundColor = "#45B649" >
239
+ < View
240
+ style = { [ styles . historyBoxView , { backgroundColor : "#45B649" } ] }
241
+ >
215
242
< LinearGradient
216
243
colors = { [ "#DCE35B" , "transparent" ] }
217
244
style = { styles . algoBgColor }
0 commit comments