1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-04 19:04:55 +02:00

Compare commits

...

10 Commits

Author SHA1 Message Date
syuilo
321841101b 2.16.8 2018-05-24 09:48:30 +09:00
syuilo
8071ca0d66 Merge branch 'master' of https://github.com/syuilo/misskey 2018-05-24 09:48:05 +09:00
syuilo
c1141c5267 Fix bug 2018-05-24 09:48:02 +09:00
syuilo
f1fdd4524d Update messaging-room.vue 2018-05-24 09:00:16 +09:00
syuilo
02dd2c7f1a Update messaging-room.vue 2018-05-24 09:00:02 +09:00
syuilo
fc3a323a21 Fix bug 2018-05-24 06:34:46 +09:00
syuilo
d92f501b50 2.16.7 2018-05-24 06:22:20 +09:00
syuilo
be408ba6ea Fix 2018-05-24 06:22:10 +09:00
syuilo
c81a204e0c 2.16.6 2018-05-24 06:21:04 +09:00
syuilo
fce1d619e8 Fix bug 2018-05-24 06:20:36 +09:00
7 changed files with 8 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
{
"name": "misskey",
"author": "syuilo <i@syuilo.com>",
"version": "2.16.5",
"clientVersion": "1.0.5684",
"version": "2.16.8",
"clientVersion": "1.0.5694",
"codename": "nighthike",
"main": "./built/index.js",
"private": true,

View File

@@ -337,7 +337,7 @@ root(isDark)
padding 0 16px
//font-weight bold
line-height 32px
color rgba(#000, 0.3)
color rgba(isDark ? #fff : #000, 0.3)
background isDark ? #191b22 : #fff
> footer

View File

@@ -95,7 +95,7 @@ export default Vue.extend({
},
created() {
if (this.$store.state.device.autoPopout && this.popoutUrl) {
if ((this as any).os.store.state.device.autoPopout && this.popoutUrl) {
this.popout();
this.preventMount = true;
} else {

View File

@@ -34,6 +34,7 @@ export default Vue.extend({
},
beforeDestroy() {
document.documentElement.style.removeProperty('background');
document.documentElement.style.removeProperty('background-color'); // for safari's bug
this.unwatchDarkmode();
},
methods: {

View File

@@ -104,7 +104,7 @@ export default (callback: (launch: (router: VueRouter, api?: (os: MiOS) => API)
data() {
_unwatchDarkmode_: null
},
created() {
mounted() {
const apply = v => {
if (this.$el.setAttribute == null) return;
if (v) {
@@ -114,7 +114,7 @@ export default (callback: (launch: (router: VueRouter, api?: (os: MiOS) => API)
}
};
this.$nextTick(() => apply(os.store.state.device.darkmode));
apply(os.store.state.device.darkmode);
this._unwatchDarkmode_ = os.store.watch(s => {
return s.device.darkmode;

View File

@@ -37,6 +37,7 @@ export default Vue.extend({
},
beforeDestroy() {
document.documentElement.style.removeProperty('background');
document.documentElement.style.removeProperty('background-color'); // for safari's bug
this.unwatchDarkmode();
},
methods: {

View File

@@ -12,7 +12,6 @@ import getAcct from '../../../../../acct/render';
export default Vue.extend({
mounted() {
document.title = 'Misskey %i18n:@messaging%';
document.documentElement.style.background = '#fff';
},
methods: {
navigate(user) {