-
-
-
-
-
-
-
Private, Encrypted File Sharing
-
-
-`;
-}
+
+ `;
+};
diff --git a/android/pages/options.js b/android/pages/options.js
deleted file mode 100644
index 8491305b..00000000
--- a/android/pages/options.js
+++ /dev/null
@@ -1,92 +0,0 @@
-/* globals DEFAULTS */
-const html = require('choo/html');
-
-export default function options(state, emit) {
- function clickCancel(event) {
- event.preventDefault();
- emit('pushState', '/');
- }
-
- async function submitForm(event) {
- event.preventDefault();
- if (this.addPassword.checked) {
- if (this.password.value !== this.confirmPassword.value) {
- state.passwordDoesNotMatchError = true;
- emit('render');
- return;
- } else {
- state.passwordDoesNotMatchError = false;
- }
- }
- state.timeLimit = parseInt(event.target.maxTime);
- emit('upload', {
- type: 'click',
- dlimit: parseInt(event.target.numDownloads.value),
- password: event.target.password.value
- });
- emit('pushState', '/upload');
- }
-
- function addPasswordChange(event) {
- const pw = document.getElementById('password-section');
- if (event.target.checked) {
- pw.style.display = 'block';
- } else {
- pw.style.display = 'none';
- }
- }
-
- const passwordDoesNotMatchDisplayStyle = state.passwordDoesNotMatchError
- ? 'display: block'
- : 'display: none';
- const passwordChecked = state.passwordDoesNotMatchError ? true : false;
-
- return html`
-
-`;
-}
diff --git a/app/ui/archiveTile.js b/app/ui/archiveTile.js
index ecbce233..77f92a0b 100644
--- a/app/ui/archiveTile.js
+++ b/app/ui/archiveTile.js
@@ -189,13 +189,13 @@ module.exports = function(state, emit, archive) {
module.exports.wip = function(state, emit) {
return html`
-
+
${
list(
Array.from(state.archive.files)
.reverse()
.map(f => fileInfo(f, remove(f))),
- 'list-reset h-full overflow-y-scroll px-4 bg-blue-lightest md:max-h-half-screen',
+ 'list-reset overflow-y-scroll px-4 bg-blue-lightest md:h-full md:max-h-half-screen',
'bg-white px-2 mt-3 border border-grey-light rounded'
)
}
@@ -209,7 +209,7 @@ module.exports.wip = function(state, emit) {
/>