Remove ImageItem, Paintable and use unified image provider.
This commit is contained in:
12
js/util.js
12
js/util.js
@@ -1,12 +0,0 @@
|
||||
.pragma library
|
||||
|
||||
function pushToStack(stack, page) {
|
||||
if(page && stack.currentItem !== page) {
|
||||
if(stack.depth === 1) {
|
||||
stack.replace(page)
|
||||
} else {
|
||||
stack.pop(null)
|
||||
stack.replace(page)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user