ios/Mobile/Document.mm | 1 - ios/Mobile/Resources/Settings.bundle/Root.plist | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-)
New commits: commit 09da8baaad3ec1d2324d87d4b796f624d9b9e54d Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Fri Mar 22 16:17:15 2019 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Fri Mar 22 16:17:15 2019 +0200 Change the tile cache setting toggle to mean "empty each time" Also, don't reset it automatically. That is perhaps more useful as we have no code to automatically clean away old tile cache entries anyway, and without the user explicitly now and then turning the toggle on (which few would have known to do), the tile cache would have grown without limits. diff --git a/ios/Mobile/Document.mm b/ios/Mobile/Document.mm index 5473ef081..94052940b 100644 --- a/ios/Mobile/Document.mm +++ b/ios/Mobile/Document.mm @@ -57,7 +57,6 @@ // If we are asked to empty the tile cache, do that now. if ([[NSUserDefaults standardUserDefaults] boolForKey:@"emptyTileCache"]) { [[NSFileManager defaultManager] removeItemAtPath:[NSString stringWithUTF8String:LOOLWSD_CACHEDIR] error:nil]; - [[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"emptyTileCache"]; } fakeClientFd = fakeSocketSocket(); diff --git a/ios/Mobile/Resources/Settings.bundle/Root.plist b/ios/Mobile/Resources/Settings.bundle/Root.plist index 03f175818..a98d8e3dd 100644 --- a/ios/Mobile/Resources/Settings.bundle/Root.plist +++ b/ios/Mobile/Resources/Settings.bundle/Root.plist @@ -30,11 +30,11 @@ <key>Type</key> <string>PSToggleSwitchSpecifier</string> <key>Title</key> - <string>Empty tile cache next time</string> + <string>Empty tile cache each time</string> <key>Key</key> <string>emptyTileCache</string> <key>DefaultValue</key> - <false/> + <true/> </dict> <dict> <key>Type</key> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits