mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-12 22:22:31 +01:00
Switch to using utils.browserName
This commit is contained in:
parent
af61434b72
commit
c90d811087
@ -3,7 +3,14 @@
|
||||
const html = require('choo/html');
|
||||
const raw = require('choo/html/raw');
|
||||
const assets = require('../../common/assets');
|
||||
const { bytes, copyToClipboard, list, percent, timeLeft } = require('../utils');
|
||||
const {
|
||||
browserName,
|
||||
bytes,
|
||||
copyToClipboard,
|
||||
list,
|
||||
percent,
|
||||
timeLeft
|
||||
} = require('../utils');
|
||||
const expiryOptions = require('./expiryOptions');
|
||||
|
||||
function expiryInfo(translate, archive) {
|
||||
@ -143,7 +150,7 @@ function archiveDetails(translate, archive) {
|
||||
|
||||
module.exports = function(state, emit, archive) {
|
||||
const copyOrShare =
|
||||
typeof window.Android !== 'object'
|
||||
browserName() !== 'android-app'
|
||||
? html`
|
||||
<button
|
||||
class="text-blue hover:text-blue-dark focus:text-blue-darker self-end font-medium flex items-center"
|
||||
|
Loading…
Reference in New Issue
Block a user